@@ -1,6 +1,6 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-07-0 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-07-09T14:44:30. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -97,11 +97,11 | |||
|
97 | 97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
98 | 98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
99 | 99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
100 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8. |
|
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value> | |
|
101 | 101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
102 | 102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
103 | 103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
104 |
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_P |
|
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE</value> | |
|
105 | 105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
106 | 106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
107 | 107 | </valuemap> |
@@ -182,20 +182,19 | |||
|
182 | 182 | <value type="int">13</value> |
|
183 | 183 | <value type="int">14</value> |
|
184 | 184 | </valuelist> |
|
185 |
<value type="QString" key="ProjectExplorer. |
|
|
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 | 192 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
187 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id"> |
|
|
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> | |
|
193 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |
|
195 | 194 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
196 | 195 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
197 | 196 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
198 |
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto"> |
|
|
197 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
|
199 | 198 | </valuemap> |
|
200 | 199 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
201 | 200 | </valuemap> |
@@ -206,7 +205,7 | |||
|
206 | 205 | </data> |
|
207 | 206 | <data> |
|
208 | 207 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
209 |
<value type="QString">{ |
|
|
208 | <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> | |
|
210 | 209 | </data> |
|
211 | 210 | <data> |
|
212 | 211 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
@@ -1,21 +1,21 | |||
|
1 | 1 | ############################################################################# |
|
2 | 2 | # Makefile for building: lfrsgse |
|
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Mon Jul 8 14:12:04 2013 | |
|
4 | 4 | # Project: gselesia.pro |
|
5 | 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 | 9 | ####### Compiler, tools and options |
|
10 | 10 | |
|
11 | 11 | CC = gcc |
|
12 | 12 | CXX = g++ |
|
13 | DEFINES = -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED | |
|
14 | CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES) | |
|
15 | CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES) | |
|
13 | DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED | |
|
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 -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 | 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 | 17 | LINK = g++ |
|
18 | LFLAGS = | |
|
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro | |
|
19 | 19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread |
|
20 | 20 | AR = ar cqs |
|
21 | 21 | RANLIB = |
@@ -100,9 +100,8 DIST = /usr/lib64/qt4/mkspecs/c | |||
|
100 | 100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
101 | 101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
102 | 102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
103 |
/usr/lib64/qt4/mkspecs/features/ |
|
|
103 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
|
104 | 104 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
105 | /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \ | |
|
106 | 105 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
107 | 106 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
108 | 107 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
@@ -144,7 +143,6 all: Makefile $(TARGET) | |||
|
144 | 143 | |
|
145 | 144 | $(TARGET): $(OBJECTS) |
|
146 | 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 | 147 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
150 | 148 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
@@ -158,9 +156,8 Makefile: gselesia.pro /usr/lib64/qt4/m | |||
|
158 | 156 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
159 | 157 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
160 | 158 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
161 |
/usr/lib64/qt4/mkspecs/features/ |
|
|
159 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
|
162 | 160 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
163 | /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \ | |
|
164 | 161 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
165 | 162 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
166 | 163 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
@@ -175,7 +172,7 Makefile: gselesia.pro /usr/lib64/qt4/m | |||
|
175 | 172 | /usr/lib64/libQtCore.prl \ |
|
176 | 173 | /usr/lib64/libQtGui.prl \ |
|
177 | 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 | 176 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
180 | 177 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
181 | 178 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
@@ -188,9 +185,8 Makefile: gselesia.pro /usr/lib64/qt4/m | |||
|
188 | 185 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
189 | 186 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
190 | 187 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
191 |
/usr/lib64/qt4/mkspecs/features/ |
|
|
188 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
|
192 | 189 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
193 | /usr/lib64/qt4/mkspecs/features/declarative_debug.prf: | |
|
194 | 190 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
195 | 191 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
196 | 192 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
@@ -206,7 +202,7 Makefile: gselesia.pro /usr/lib64/qt4/m | |||
|
206 | 202 | /usr/lib64/libQtGui.prl: |
|
207 | 203 | /usr/lib64/libQtNetwork.prl: |
|
208 | 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 | 207 | dist: |
|
212 | 208 | @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0 |
@@ -1,6 +1,6 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-07-0 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-07-09T15:49:44. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -62,7 +62,7 | |||
|
62 | 62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
63 | 63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
64 | 64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
65 |
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary"> |
|
|
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
|
66 | 66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> |
|
67 | 67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
68 | 68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
@@ -97,11 +97,11 | |||
|
97 | 97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
98 | 98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
99 | 99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
100 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8. |
|
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value> | |
|
101 | 101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
102 | 102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
103 |
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration"> |
|
|
104 |
<value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_P |
|
|
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</value> | |
|
105 | 105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
106 | 106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
107 | 107 | </valuemap> |
@@ -206,7 +206,7 | |||
|
206 | 206 | </data> |
|
207 | 207 | <data> |
|
208 | 208 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
209 |
<value type="QString">{ |
|
|
209 | <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> | |
|
210 | 210 | </data> |
|
211 | 211 | <data> |
|
212 | 212 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -1,6 +1,6 | |||
|
1 | 1 | ############################################################################# |
|
2 | 2 | # Makefile for building: librmapplugin.so.1.0.0 |
|
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Mon Jul 8 14:56:42 2013 | |
|
4 | 4 | # Project: rmapplugin.pro |
|
5 | 5 | # Template: lib |
|
6 | 6 | # Command: /usr/bin/qmake-qt4 -o Makefile rmapplugin.pro |
@@ -495,18 +495,18 obj/moc_lppmonplugin.o: moc/moc_lppmonpl | |||
|
495 | 495 | ####### Install |
|
496 | 496 | |
|
497 | 497 | install_target: first FORCE |
|
498 |
@$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/ |
|
|
499 |
-$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/ |
|
|
500 |
-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/ |
|
|
501 |
-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/ |
|
|
502 |
-$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/ |
|
|
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/admin/.lppmon/plugins/$(TARGET)" | |
|
500 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)" | |
|
501 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)" | |
|
502 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)" | |
|
503 | 503 | |
|
504 | 504 | uninstall_target: FORCE |
|
505 |
-$(DEL_FILE) "$(INSTALL_ROOT)/home/ |
|
|
506 |
-$(DEL_FILE) "$(INSTALL_ROOT)/home/ |
|
|
507 |
-$(DEL_FILE) "$(INSTALL_ROOT)/home/ |
|
|
508 |
-$(DEL_FILE) "$(INSTALL_ROOT)/home/ |
|
|
509 |
-$(DEL_DIR) $(INSTALL_ROOT)/home/ |
|
|
505 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET)" | |
|
506 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)" | |
|
507 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)" | |
|
508 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)" | |
|
509 | -$(DEL_DIR) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/ | |
|
510 | 510 | |
|
511 | 511 | |
|
512 | 512 | install: install_target FORCE |
@@ -1,6 +1,6 | |||
|
1 | 1 | ############################################################################# |
|
2 | 2 | # Makefile for building: libwfdisplay.so.1.0.0 |
|
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jul 9 12:19:41 2013 | |
|
4 | 4 | # Project: wfdisplay.pro |
|
5 | 5 | # Template: lib |
|
6 | 6 | # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro |
@@ -301,11 +301,11 moc_qcustomplot.o: moc_qcustomplot.cpp | |||
|
301 | 301 | |
|
302 | 302 | install_header: first FORCE |
|
303 | 303 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
304 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
|
305 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
|
306 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
|
307 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
|
308 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
|
304 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.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) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfpage.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) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
|
309 | 309 | |
|
310 | 310 | |
|
311 | 311 | uninstall_header: FORCE |
@@ -1,6 +1,6 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-07-0 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-07-09T15:49:44. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
@@ -205,7 +205,7 | |||
|
205 | 205 | </data> |
|
206 | 206 | <data> |
|
207 | 207 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
208 |
<value type="QString">{ |
|
|
208 | <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> | |
|
209 | 209 | </data> |
|
210 | 210 | <data> |
|
211 | 211 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
@@ -39,7 +39,18 WFPage::WFPage(QWidget *parent) : | |||
|
39 | 39 | titleWidgetB2 = new QWidget(); |
|
40 | 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 | 51 | createToolBar(); |
|
52 | ||
|
53 | connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString))); | |
|
43 | 54 | // |
|
44 | 55 | //this->setLayout(mainLayout); |
|
45 | 56 | } |
@@ -86,6 +97,9 void WFPage::createToolBar() | |||
|
86 | 97 | radio_b3->setAutoExclusive(false); |
|
87 | 98 | radio_tabify->setAutoExclusive(false); |
|
88 | 99 | |
|
100 | button_selectAll = new QPushButton(tr("select all")); | |
|
101 | button_storeWfrm = new QPushButton(tr("REC")); | |
|
102 | ||
|
89 | 103 | myToolBar = new QToolBar("select"); |
|
90 | 104 | |
|
91 | 105 | myToolBar->addWidget(radio_v); |
@@ -95,7 +109,9 void WFPage::createToolBar() | |||
|
95 | 109 | myToolBar->addWidget(radio_b2); |
|
96 | 110 | myToolBar->addWidget(radio_b3); |
|
97 | 111 | myToolBar->addSeparator(); |
|
112 | myToolBar->addWidget(button_selectAll); | |
|
98 | 113 | myToolBar->addWidget(radio_tabify); |
|
114 | myToolBar->addWidget(button_storeWfrm); | |
|
99 | 115 | |
|
100 | 116 | addToolBar(Qt::LeftToolBarArea, myToolBar); |
|
101 | 117 | |
@@ -107,7 +123,9 void WFPage::createToolBar() | |||
|
107 | 123 | connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool))); |
|
108 | 124 | connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool))); |
|
109 | 125 | connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool))); |
|
126 | connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll())); | |
|
110 | 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 | 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 | 6 | #include <QtGui/QMainWindow> |
|
7 | 7 | #include <QRadioButton> |
|
8 | #include <QPushButton> | |
|
8 | 9 | #include <QDockWidget> |
|
9 | 10 | #include <QToolBar> |
|
11 | #include <QLabel> | |
|
12 | #include <QFile> | |
|
13 | #include <QTextStream> | |
|
14 | #include <QFileDialog> | |
|
10 | 15 | |
|
11 | 16 | #include <wfplot.h> |
|
12 | 17 | #include <wfdisplay_params.h> |
@@ -21,6 +26,14 public: | |||
|
21 | 26 | void buildDockList(); |
|
22 | 27 | void unTabify(); |
|
23 | 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 | 38 | QWidget *titleWidgetV; |
|
26 | 39 | QWidget *titleWidgetE1; |
@@ -46,6 +59,9 public: | |||
|
46 | 59 | QRadioButton *radio_b3; |
|
47 | 60 | QRadioButton *radio_tabify; |
|
48 | 61 | |
|
62 | QPushButton *button_selectAll; | |
|
63 | QPushButton *button_storeWfrm; | |
|
64 | ||
|
49 | 65 | QToolBar *myToolBar; |
|
50 | 66 | |
|
51 | 67 | WFPlot *wfPlot_v; |
@@ -55,11 +71,28 public: | |||
|
55 | 71 | WFPlot *wfPlot_b2; |
|
56 | 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 | 90 | //QGridLayout *mainLayout; |
|
59 | 91 | |
|
60 | 92 | void displayOnPlot(short *data, unsigned char num); |
|
61 | 93 | |
|
62 | 94 | signals: |
|
95 | void setLogFileName(QString FileName); | |
|
63 | 96 | |
|
64 | 97 | public slots: |
|
65 | 98 | void actionRadioV(bool state); |
@@ -69,6 +102,9 public slots: | |||
|
69 | 102 | void actionRadioB2(bool state); |
|
70 | 103 | void actionRadioB3(bool state); |
|
71 | 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