##// END OF EJS Templates
Development of the waveform storage ability of the lfrgse
admin@pc-p-leroy3.LAB-LPP.LOCAL -
r42:e422d9305701 default
parent child
Show More
@@ -1,6 +1,6
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T16:03:07. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-09T14:44:30. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -97,11 +97,11
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
107 </valuemap>
107 </valuemap>
@@ -182,20 +182,19
182 <value type="int">13</value>
182 <value type="int">13</value>
183 <value type="int">14</value>
183 <value type="int">14</value>
184 </valuelist>
184 </valuelist>
185 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">rmapplugin</value>
185 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
186 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
187 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
188 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
189 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
190 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
186 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
187 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
188 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
189 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
190 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">rmapplugin/rmapplugin.pro</value>
191 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
192 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
193 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
194 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
195 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
194 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
196 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
195 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
196 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
198 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
199 </valuemap>
198 </valuemap>
200 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
199 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
201 </valuemap>
200 </valuemap>
@@ -206,7 +205,7
206 </data>
205 </data>
207 <data>
206 <data>
208 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
207 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
209 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
208 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
210 </data>
209 </data>
211 <data>
210 <data>
212 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
@@ -1,21 +1,21
1 #############################################################################
1 #############################################################################
2 # Makefile for building: lfrsgse
2 # Makefile for building: lfrsgse
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 14:35:25 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Mon Jul 8 14:12:04 2013
4 # Project: gselesia.pro
4 # Project: gselesia.pro
5 # Template: app
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
6 # Command: /usr/bin/qmake-qt4 -o Makefile gselesia.pro
7 #############################################################################
7 #############################################################################
8
8
9 ####### Compiler, tools and options
9 ####### Compiler, tools and options
10
10
11 CC = gcc
11 CC = gcc
12 CXX = g++
12 CXX = g++
13 DEFINES = -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
13 DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
14 CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I.
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I.
17 LINK = g++
17 LINK = g++
18 LFLAGS =
18 LFLAGS = -Wl,-O1 -Wl,-z,relro
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
20 AR = ar cqs
20 AR = ar cqs
21 RANLIB =
21 RANLIB =
@@ -100,9 +100,8 DIST = /usr/lib64/qt4/mkspecs/c
100 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
100 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
101 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
101 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
102 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
102 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
103 /usr/lib64/qt4/mkspecs/features/debug.prf \
103 /usr/lib64/qt4/mkspecs/features/release.prf \
104 /usr/lib64/qt4/mkspecs/features/default_post.prf \
104 /usr/lib64/qt4/mkspecs/features/default_post.prf \
105 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \
106 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
105 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
107 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
106 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
108 /usr/lib64/qt4/mkspecs/features/qt.prf \
107 /usr/lib64/qt4/mkspecs/features/qt.prf \
@@ -144,7 +143,6 all: Makefile $(TARGET)
144
143
145 $(TARGET): $(OBJECTS)
144 $(TARGET): $(OBJECTS)
146 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
145 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
147 { test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
148
146
149 Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
147 Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
150 /usr/lib64/qt4/mkspecs/common/linux.conf \
148 /usr/lib64/qt4/mkspecs/common/linux.conf \
@@ -158,9 +156,8 Makefile: gselesia.pro /usr/lib64/qt4/m
158 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
156 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
159 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
157 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
160 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
158 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
161 /usr/lib64/qt4/mkspecs/features/debug.prf \
159 /usr/lib64/qt4/mkspecs/features/release.prf \
162 /usr/lib64/qt4/mkspecs/features/default_post.prf \
160 /usr/lib64/qt4/mkspecs/features/default_post.prf \
163 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
161 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
165 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
162 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
166 /usr/lib64/qt4/mkspecs/features/qt.prf \
163 /usr/lib64/qt4/mkspecs/features/qt.prf \
@@ -175,7 +172,7 Makefile: gselesia.pro /usr/lib64/qt4/m
175 /usr/lib64/libQtCore.prl \
172 /usr/lib64/libQtCore.prl \
176 /usr/lib64/libQtGui.prl \
173 /usr/lib64/libQtGui.prl \
177 /usr/lib64/libQtNetwork.prl
174 /usr/lib64/libQtNetwork.prl
178 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
175 $(QMAKE) -o Makefile gselesia.pro
179 /usr/lib64/qt4/mkspecs/common/unix.conf:
176 /usr/lib64/qt4/mkspecs/common/unix.conf:
180 /usr/lib64/qt4/mkspecs/common/linux.conf:
177 /usr/lib64/qt4/mkspecs/common/linux.conf:
181 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
178 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
@@ -188,9 +185,8 Makefile: gselesia.pro /usr/lib64/qt4/m
188 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
185 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
189 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
186 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
190 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
187 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
191 /usr/lib64/qt4/mkspecs/features/debug.prf:
188 /usr/lib64/qt4/mkspecs/features/release.prf:
192 /usr/lib64/qt4/mkspecs/features/default_post.prf:
189 /usr/lib64/qt4/mkspecs/features/default_post.prf:
193 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf:
194 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
190 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
195 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
191 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
196 /usr/lib64/qt4/mkspecs/features/qt.prf:
192 /usr/lib64/qt4/mkspecs/features/qt.prf:
@@ -206,7 +202,7 Makefile: gselesia.pro /usr/lib64/qt4/m
206 /usr/lib64/libQtGui.prl:
202 /usr/lib64/libQtGui.prl:
207 /usr/lib64/libQtNetwork.prl:
203 /usr/lib64/libQtNetwork.prl:
208 qmake: FORCE
204 qmake: FORCE
209 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
205 @$(QMAKE) -o Makefile gselesia.pro
210
206
211 dist:
207 dist:
212 @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0
208 @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0
@@ -1,6 +1,6
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-07-05T07:56:16. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-09T15:49:44. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -62,7 +62,7
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
@@ -97,11 +97,11
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
107 </valuemap>
107 </valuemap>
@@ -206,7 +206,7
206 </data>
206 </data>
207 <data>
207 <data>
208 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
208 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
209 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
209 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
210 </data>
210 </data>
211 <data>
211 <data>
212 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
212 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,6 +1,6
1 #############################################################################
1 #############################################################################
2 # Makefile for building: librmapplugin.so.1.0.0
2 # Makefile for building: librmapplugin.so.1.0.0
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 12:50:48 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Mon Jul 8 14:56:42 2013
4 # Project: rmapplugin.pro
4 # Project: rmapplugin.pro
5 # Template: lib
5 # Template: lib
6 # Command: /usr/bin/qmake-qt4 -o Makefile rmapplugin.pro
6 # Command: /usr/bin/qmake-qt4 -o Makefile rmapplugin.pro
@@ -495,18 +495,18 obj/moc_lppmonplugin.o: moc/moc_lppmonpl
495 ####### Install
495 ####### Install
496
496
497 install_target: first FORCE
497 install_target: first FORCE
498 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/ || $(MKDIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/
498 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/ || $(MKDIR) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/
499 -$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)"
499 -$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET)"
500 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)"
500 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)"
501 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)"
501 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)"
502 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)"
502 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)"
503
503
504 uninstall_target: FORCE
504 uninstall_target: FORCE
505 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)"
505 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET)"
506 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)"
506 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)"
507 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)"
507 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)"
508 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)"
508 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)"
509 -$(DEL_DIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/
509 -$(DEL_DIR) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/
510
510
511
511
512 install: install_target FORCE
512 install: install_target FORCE
@@ -1,6 +1,6
1 #############################################################################
1 #############################################################################
2 # Makefile for building: libwfdisplay.so.1.0.0
2 # Makefile for building: libwfdisplay.so.1.0.0
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 5 07:42:37 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jul 9 12:19:41 2013
4 # Project: wfdisplay.pro
4 # Project: wfdisplay.pro
5 # Template: lib
5 # Template: lib
6 # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro
6 # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro
@@ -301,11 +301,11 moc_qcustomplot.o: moc_qcustomplot.cpp
301
301
302 install_header: first FORCE
302 install_header: first FORCE
303 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
303 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
304 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
304 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
305 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
305 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
306 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
306 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
307 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
307 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
308 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
308 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
309
309
310
310
311 uninstall_header: FORCE
311 uninstall_header: FORCE
@@ -1,6 +1,6
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-07-05T07:41:04. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-09T15:49:44. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -205,7 +205,7
205 </data>
205 </data>
206 <data>
206 <data>
207 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
207 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
208 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
208 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
209 </data>
209 </data>
210 <data>
210 <data>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
@@ -39,7 +39,18 WFPage::WFPage(QWidget *parent) :
39 titleWidgetB2 = new QWidget();
39 titleWidgetB2 = new QWidget();
40 titleWidgetB3 = new QWidget();
40 titleWidgetB3 = new QWidget();
41
41
42 logFileName = new QLabel();
43 logFileV = new QFile();
44 logFileE1 = new QFile();
45 logFileE2 = new QFile();
46 logFileB1 = new QFile();
47 logFileB2 = new QFile();
48 logFileB3 = new QFile();
49 logFileEn = false;
50
42 createToolBar();
51 createToolBar();
52
53 connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString)));
43 //
54 //
44 //this->setLayout(mainLayout);
55 //this->setLayout(mainLayout);
45 }
56 }
@@ -86,6 +97,9 void WFPage::createToolBar()
86 radio_b3->setAutoExclusive(false);
97 radio_b3->setAutoExclusive(false);
87 radio_tabify->setAutoExclusive(false);
98 radio_tabify->setAutoExclusive(false);
88
99
100 button_selectAll = new QPushButton(tr("select all"));
101 button_storeWfrm = new QPushButton(tr("REC"));
102
89 myToolBar = new QToolBar("select");
103 myToolBar = new QToolBar("select");
90
104
91 myToolBar->addWidget(radio_v);
105 myToolBar->addWidget(radio_v);
@@ -95,7 +109,9 void WFPage::createToolBar()
95 myToolBar->addWidget(radio_b2);
109 myToolBar->addWidget(radio_b2);
96 myToolBar->addWidget(radio_b3);
110 myToolBar->addWidget(radio_b3);
97 myToolBar->addSeparator();
111 myToolBar->addSeparator();
112 myToolBar->addWidget(button_selectAll);
98 myToolBar->addWidget(radio_tabify);
113 myToolBar->addWidget(radio_tabify);
114 myToolBar->addWidget(button_storeWfrm);
99
115
100 addToolBar(Qt::LeftToolBarArea, myToolBar);
116 addToolBar(Qt::LeftToolBarArea, myToolBar);
101
117
@@ -107,7 +123,9 void WFPage::createToolBar()
107 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
123 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
108 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
124 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
109 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
125 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
126 connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll()));
110 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
127 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
128 connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm()));
111 }
129 }
112
130
113 void WFPage::actionRadioV(bool state)
131 void WFPage::actionRadioV(bool state)
@@ -407,3 +425,134 void WFPage::tabify()
407 }
425 }
408 }
426 }
409
427
428 void WFPage::selectAll()
429 {
430 radio_v->click();
431 radio_e1->click();
432 radio_e2->click();
433 radio_b1->click();
434 radio_b2->click();
435 radio_b3->click();
436 }
437
438 void WFPage::storeWfrm()
439 {
440 if (logFileEn == false)
441 {
442 chooseLogFile();
443 button_storeWfrm->setText(tr("STOP"));
444 logFileEn = true;
445 }
446 else
447 {
448 button_storeWfrm->setText(tr("REC"));
449 logFileEn = false;
450 }
451 }
452
453 void WFPage::buildFileNames()
454 {
455 QString date;
456 QString time;
457
458 date = QDate::currentDate().toString();
459 time = QTime::currentTime().toString();
460
461
462 if (radio_v->isChecked())
463 {
464
465 }
466 if (radio_e1->isChecked())
467 {
468
469 }
470 if (radio_e2->isChecked())
471 {
472
473 }
474 if (radio_b1->isChecked())
475 {
476
477 }
478 if (radio_b2->isChecked())
479 {
480
481 }
482 if (radio_b3->isChecked())
483 {
484
485 }
486 }
487
488 void WFPage::chooseLogFile()
489 {
490 QString date;
491 QString time;
492
493 date = QDate::currentDate().toString();
494 time = QTime::currentTime().toString();
495
496 if(this->logFile->isOpen())
497 {
498 this->logFile->close();
499 }
500
501 this->logFile->setFileName(QDir::homePath()
502 + "/"
503 + QDate::currentDate().toString()
504 + "_"
505 + QTime::currentTime().toString()
506 + "_rmapPluginUI.log",
507 tr("Log Files (*.txt *.log)"));
508 this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"),
509 QDir::homePath()
510 + "/"
511 + QDate::currentDate().toString()
512 + "_"
513 + QTime::currentTime().toString()
514 + "_rmapPluginUI.log",
515 tr("Log Files (*.txt *.log)")));
516
517 if(this->logFile->open(QIODevice::WriteOnly))
518 {
519 this->logFileStrm = new QTextStream(this->logFile);
520 emit this->setLogFileName(this->logFile->fileName());
521 }
522 }
523
524 void WFPage::logFileEnDisable(bool state)
525 {
526 if(state==true)
527 {
528 this->logFileEn = true;
529 }
530 else if(state==false)
531 {
532 this->logFileEn = false;
533 }
534 }
535
536 bool WFPage::islogfileenable()
537 {
538 return this->logFileEn;
539 }
540
541 void WFPage::appendToLogFile(const QString & text)
542 {
543 if(this->logFileEn && this->logFile->isOpen())
544 {
545 *(this->logFileStrm) << text << endl;
546 }
547 }
548
549 void WFPage::closeEvent(QCloseEvent *event)
550 {
551 if(this->logFile->isOpen())
552 {
553 this->logFileStrm->flush();
554 this->logFile->waitForBytesWritten(3000);
555 this->logFile->close();
556 }
557 event->accept();
558 }
@@ -5,8 +5,13
5
5
6 #include <QtGui/QMainWindow>
6 #include <QtGui/QMainWindow>
7 #include <QRadioButton>
7 #include <QRadioButton>
8 #include <QPushButton>
8 #include <QDockWidget>
9 #include <QDockWidget>
9 #include <QToolBar>
10 #include <QToolBar>
11 #include <QLabel>
12 #include <QFile>
13 #include <QTextStream>
14 #include <QFileDialog>
10
15
11 #include <wfplot.h>
16 #include <wfplot.h>
12 #include <wfdisplay_params.h>
17 #include <wfdisplay_params.h>
@@ -21,6 +26,14 public:
21 void buildDockList();
26 void buildDockList();
22 void unTabify();
27 void unTabify();
23 void tabify();
28 void tabify();
29 // STORE
30 void chooseLogFile();
31 void buildFileNames();
32 bool islogfileenable();
33 void appendToLogFile(const QString & text);
34 void closeEvent(QCloseEvent *event);
35
36 QLabel *logFileName;
24
37
25 QWidget *titleWidgetV;
38 QWidget *titleWidgetV;
26 QWidget *titleWidgetE1;
39 QWidget *titleWidgetE1;
@@ -46,6 +59,9 public:
46 QRadioButton *radio_b3;
59 QRadioButton *radio_b3;
47 QRadioButton *radio_tabify;
60 QRadioButton *radio_tabify;
48
61
62 QPushButton *button_selectAll;
63 QPushButton *button_storeWfrm;
64
49 QToolBar *myToolBar;
65 QToolBar *myToolBar;
50
66
51 WFPlot *wfPlot_v;
67 WFPlot *wfPlot_v;
@@ -55,11 +71,28 public:
55 WFPlot *wfPlot_b2;
71 WFPlot *wfPlot_b2;
56 WFPlot *wfPlot_b3;
72 WFPlot *wfPlot_b3;
57
73
74 QFile *logFileV;
75 QFile *logFileE1;
76 QFile *logFileE2;
77 QFile *logFileB1;
78 QFile *logFileB2;
79 QFile *logFileB3;
80
81 QTextStream *logFileStrmV;
82 QTextStream *logFileStrmE1;
83 QTextStream *logFileStrmE2;
84 QTextStream *logFileStrmB1;
85 QTextStream *logFileStrmB2;
86 QTextStream *logFileStrmB3;
87
88 bool logFileEn;
89
58 //QGridLayout *mainLayout;
90 //QGridLayout *mainLayout;
59
91
60 void displayOnPlot(short *data, unsigned char num);
92 void displayOnPlot(short *data, unsigned char num);
61
93
62 signals:
94 signals:
95 void setLogFileName(QString FileName);
63
96
64 public slots:
97 public slots:
65 void actionRadioV(bool state);
98 void actionRadioV(bool state);
@@ -69,6 +102,9 public slots:
69 void actionRadioB2(bool state);
102 void actionRadioB2(bool state);
70 void actionRadioB3(bool state);
103 void actionRadioB3(bool state);
71 void organizeDocks();
104 void organizeDocks();
105 void selectAll();
106 void storeWfrm();
107 void logFileEnDisable(bool state);
72
108
73 };
109 };
74
110
General Comments 0
You need to be logged in to leave comments. Login now