##// END OF EJS Templates
Minor bugs corrected in wfdisplay
leroy -
r43:570fea6226a1 default
parent child
Show More
@@ -1,378 +1,378
1 #############################################################################
1 #############################################################################
2 # Makefile for building: lfrsgse
2 # Makefile for building: lfrsgse
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Mon Jul 8 14:12:04 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 07:38:59 2013
4 # Project: gselesia.pro
4 # Project: gselesia.pro
5 # Template: app
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -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_NO_DEBUG -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 -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)
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)
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 = -Wl,-O1 -Wl,-z,relro
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 =
22 QMAKE = /usr/bin/qmake-qt4
22 QMAKE = /usr/bin/qmake-qt4
23 TAR = tar -cf
23 TAR = tar -cf
24 COMPRESS = gzip -9f
24 COMPRESS = gzip -9f
25 COPY = cp -f
25 COPY = cp -f
26 SED = sed
26 SED = sed
27 COPY_FILE = $(COPY)
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
28 COPY_DIR = $(COPY) -r
29 STRIP =
29 STRIP =
30 INSTALL_FILE = install -m 644 -p
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE = rm -f
33 DEL_FILE = rm -f
34 SYMLINK = ln -f -s
34 SYMLINK = ln -f -s
35 DEL_DIR = rmdir
35 DEL_DIR = rmdir
36 MOVE = mv -f
36 MOVE = mv -f
37 CHK_DIR_EXISTS= test -d
37 CHK_DIR_EXISTS= test -d
38 MKDIR = mkdir -p
38 MKDIR = mkdir -p
39
39
40 ####### Output directory
40 ####### Output directory
41
41
42 OBJECTS_DIR = ./
42 OBJECTS_DIR = ./
43
43
44 ####### Files
44 ####### Files
45
45
46 SOURCES = main.cpp \
46 SOURCES = main.cpp \
47 mainwindow.cpp \
47 mainwindow.cpp \
48 mainwindowui.cpp \
48 mainwindowui.cpp \
49 ../common_PLE/qipdialogbox.cpp \
49 ../common_PLE/qipdialogbox.cpp \
50 lfrxmlhandler.cpp \
50 lfrxmlhandler.cpp \
51 lfrxmlwriter.cpp \
51 lfrxmlwriter.cpp \
52 ../rmapplugin/tmstatistics.cpp \
52 ../rmapplugin/tmstatistics.cpp \
53 ../rmapplugin/tmpackettoread.cpp \
53 ../rmapplugin/tmpackettoread.cpp \
54 ../rmapplugin/wfpacket.cpp \
54 ../rmapplugin/wfpacket.cpp \
55 ../common_PLE/hkdisplay.cpp \
55 ../common_PLE/hkdisplay.cpp \
56 lfrxmlparser.cpp \
56 lfrxmlparser.cpp \
57 lfrspectrogram.cpp moc_mainwindow.cpp \
57 lfrspectrogram.cpp moc_mainwindow.cpp \
58 moc_mainwindowui.cpp \
58 moc_mainwindowui.cpp \
59 moc_qipdialogbox.cpp \
59 moc_qipdialogbox.cpp \
60 moc_lfrxmlhandler.cpp \
60 moc_lfrxmlhandler.cpp \
61 moc_lfrxmlwriter.cpp \
61 moc_lfrxmlwriter.cpp \
62 moc_tmstatistics.cpp \
62 moc_tmstatistics.cpp \
63 moc_tmpackettoread.cpp \
63 moc_tmpackettoread.cpp \
64 moc_wfpacket.cpp \
64 moc_wfpacket.cpp \
65 moc_hkdisplay.cpp \
65 moc_hkdisplay.cpp \
66 moc_lfrxmlparser.cpp \
66 moc_lfrxmlparser.cpp \
67 moc_lfrspectrogram.cpp
67 moc_lfrspectrogram.cpp
68 OBJECTS = main.o \
68 OBJECTS = main.o \
69 mainwindow.o \
69 mainwindow.o \
70 mainwindowui.o \
70 mainwindowui.o \
71 qipdialogbox.o \
71 qipdialogbox.o \
72 lfrxmlhandler.o \
72 lfrxmlhandler.o \
73 lfrxmlwriter.o \
73 lfrxmlwriter.o \
74 tmstatistics.o \
74 tmstatistics.o \
75 tmpackettoread.o \
75 tmpackettoread.o \
76 wfpacket.o \
76 wfpacket.o \
77 hkdisplay.o \
77 hkdisplay.o \
78 lfrxmlparser.o \
78 lfrxmlparser.o \
79 lfrspectrogram.o \
79 lfrspectrogram.o \
80 moc_mainwindow.o \
80 moc_mainwindow.o \
81 moc_mainwindowui.o \
81 moc_mainwindowui.o \
82 moc_qipdialogbox.o \
82 moc_qipdialogbox.o \
83 moc_lfrxmlhandler.o \
83 moc_lfrxmlhandler.o \
84 moc_lfrxmlwriter.o \
84 moc_lfrxmlwriter.o \
85 moc_tmstatistics.o \
85 moc_tmstatistics.o \
86 moc_tmpackettoread.o \
86 moc_tmpackettoread.o \
87 moc_wfpacket.o \
87 moc_wfpacket.o \
88 moc_hkdisplay.o \
88 moc_hkdisplay.o \
89 moc_lfrxmlparser.o \
89 moc_lfrxmlparser.o \
90 moc_lfrspectrogram.o
90 moc_lfrspectrogram.o
91 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
91 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
92 /usr/lib64/qt4/mkspecs/common/linux.conf \
92 /usr/lib64/qt4/mkspecs/common/linux.conf \
93 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
93 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
94 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
94 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
95 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
95 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
96 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
96 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
97 /usr/lib64/qt4/mkspecs/qconfig.pri \
97 /usr/lib64/qt4/mkspecs/qconfig.pri \
98 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
98 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
99 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
99 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
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/release.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/unix/gdb_dwarf_index.prf \
105 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
106 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
106 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
107 /usr/lib64/qt4/mkspecs/features/qt.prf \
107 /usr/lib64/qt4/mkspecs/features/qt.prf \
108 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
108 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
109 /usr/lib64/qt4/mkspecs/features/moc.prf \
109 /usr/lib64/qt4/mkspecs/features/moc.prf \
110 /usr/lib64/qt4/mkspecs/features/resources.prf \
110 /usr/lib64/qt4/mkspecs/features/resources.prf \
111 /usr/lib64/qt4/mkspecs/features/uic.prf \
111 /usr/lib64/qt4/mkspecs/features/uic.prf \
112 /usr/lib64/qt4/mkspecs/features/yacc.prf \
112 /usr/lib64/qt4/mkspecs/features/yacc.prf \
113 /usr/lib64/qt4/mkspecs/features/lex.prf \
113 /usr/lib64/qt4/mkspecs/features/lex.prf \
114 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
114 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
115 gselesia.pro
115 gselesia.pro
116 QMAKE_TARGET = lfrsgse
116 QMAKE_TARGET = lfrsgse
117 DESTDIR =
117 DESTDIR =
118 TARGET = lfrsgse
118 TARGET = lfrsgse
119
119
120 first: all
120 first: all
121 ####### Implicit rules
121 ####### Implicit rules
122
122
123 .SUFFIXES: .o .c .cpp .cc .cxx .C
123 .SUFFIXES: .o .c .cpp .cc .cxx .C
124
124
125 .cpp.o:
125 .cpp.o:
126 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
126 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
127
127
128 .cc.o:
128 .cc.o:
129 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
129 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
130
130
131 .cxx.o:
131 .cxx.o:
132 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
132 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
133
133
134 .C.o:
134 .C.o:
135 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
135 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
136
136
137 .c.o:
137 .c.o:
138 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
138 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
139
139
140 ####### Build rules
140 ####### Build rules
141
141
142 all: Makefile $(TARGET)
142 all: Makefile $(TARGET)
143
143
144 $(TARGET): $(OBJECTS)
144 $(TARGET): $(OBJECTS)
145 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
145 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
146
146
147 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 \
148 /usr/lib64/qt4/mkspecs/common/linux.conf \
148 /usr/lib64/qt4/mkspecs/common/linux.conf \
149 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
149 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
150 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
150 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
151 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
151 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
152 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
152 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
153 /usr/lib64/qt4/mkspecs/qconfig.pri \
153 /usr/lib64/qt4/mkspecs/qconfig.pri \
154 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
154 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
155 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
155 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
156 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
156 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
157 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
157 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
158 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
158 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
159 /usr/lib64/qt4/mkspecs/features/release.prf \
159 /usr/lib64/qt4/mkspecs/features/release.prf \
160 /usr/lib64/qt4/mkspecs/features/default_post.prf \
160 /usr/lib64/qt4/mkspecs/features/default_post.prf \
161 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
161 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
162 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
162 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
163 /usr/lib64/qt4/mkspecs/features/qt.prf \
163 /usr/lib64/qt4/mkspecs/features/qt.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
165 /usr/lib64/qt4/mkspecs/features/moc.prf \
165 /usr/lib64/qt4/mkspecs/features/moc.prf \
166 /usr/lib64/qt4/mkspecs/features/resources.prf \
166 /usr/lib64/qt4/mkspecs/features/resources.prf \
167 /usr/lib64/qt4/mkspecs/features/uic.prf \
167 /usr/lib64/qt4/mkspecs/features/uic.prf \
168 /usr/lib64/qt4/mkspecs/features/yacc.prf \
168 /usr/lib64/qt4/mkspecs/features/yacc.prf \
169 /usr/lib64/qt4/mkspecs/features/lex.prf \
169 /usr/lib64/qt4/mkspecs/features/lex.prf \
170 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
170 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
171 /usr/lib64/libQtXml.prl \
171 /usr/lib64/libQtXml.prl \
172 /usr/lib64/libQtCore.prl \
172 /usr/lib64/libQtCore.prl \
173 /usr/lib64/libQtGui.prl \
173 /usr/lib64/libQtGui.prl \
174 /usr/lib64/libQtNetwork.prl
174 /usr/lib64/libQtNetwork.prl
175 $(QMAKE) -o Makefile gselesia.pro
175 $(QMAKE) -o Makefile gselesia.pro
176 /usr/lib64/qt4/mkspecs/common/unix.conf:
176 /usr/lib64/qt4/mkspecs/common/unix.conf:
177 /usr/lib64/qt4/mkspecs/common/linux.conf:
177 /usr/lib64/qt4/mkspecs/common/linux.conf:
178 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
178 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
179 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
179 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
180 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
180 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
181 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
181 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
182 /usr/lib64/qt4/mkspecs/qconfig.pri:
182 /usr/lib64/qt4/mkspecs/qconfig.pri:
183 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
183 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
184 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
184 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
185 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
185 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
186 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
186 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
187 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
187 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
188 /usr/lib64/qt4/mkspecs/features/release.prf:
188 /usr/lib64/qt4/mkspecs/features/release.prf:
189 /usr/lib64/qt4/mkspecs/features/default_post.prf:
189 /usr/lib64/qt4/mkspecs/features/default_post.prf:
190 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
190 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
191 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
191 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
192 /usr/lib64/qt4/mkspecs/features/qt.prf:
192 /usr/lib64/qt4/mkspecs/features/qt.prf:
193 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
193 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
194 /usr/lib64/qt4/mkspecs/features/moc.prf:
194 /usr/lib64/qt4/mkspecs/features/moc.prf:
195 /usr/lib64/qt4/mkspecs/features/resources.prf:
195 /usr/lib64/qt4/mkspecs/features/resources.prf:
196 /usr/lib64/qt4/mkspecs/features/uic.prf:
196 /usr/lib64/qt4/mkspecs/features/uic.prf:
197 /usr/lib64/qt4/mkspecs/features/yacc.prf:
197 /usr/lib64/qt4/mkspecs/features/yacc.prf:
198 /usr/lib64/qt4/mkspecs/features/lex.prf:
198 /usr/lib64/qt4/mkspecs/features/lex.prf:
199 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
199 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
200 /usr/lib64/libQtXml.prl:
200 /usr/lib64/libQtXml.prl:
201 /usr/lib64/libQtCore.prl:
201 /usr/lib64/libQtCore.prl:
202 /usr/lib64/libQtGui.prl:
202 /usr/lib64/libQtGui.prl:
203 /usr/lib64/libQtNetwork.prl:
203 /usr/lib64/libQtNetwork.prl:
204 qmake: FORCE
204 qmake: FORCE
205 @$(QMAKE) -o Makefile gselesia.pro
205 @$(QMAKE) -o Makefile gselesia.pro
206
206
207 dist:
207 dist:
208 @$(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
209 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0
209 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0
210
210
211
211
212 clean:compiler_clean
212 clean:compiler_clean
213 -$(DEL_FILE) $(OBJECTS)
213 -$(DEL_FILE) $(OBJECTS)
214 -$(DEL_FILE) *~ core *.core
214 -$(DEL_FILE) *~ core *.core
215
215
216
216
217 ####### Sub-libraries
217 ####### Sub-libraries
218
218
219 distclean: clean
219 distclean: clean
220 -$(DEL_FILE) $(TARGET)
220 -$(DEL_FILE) $(TARGET)
221 -$(DEL_FILE) Makefile
221 -$(DEL_FILE) Makefile
222
222
223
223
224 check: first
224 check: first
225
225
226 mocclean: compiler_moc_header_clean compiler_moc_source_clean
226 mocclean: compiler_moc_header_clean compiler_moc_source_clean
227
227
228 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
228 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
229
229
230 compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
230 compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
231 compiler_moc_header_clean:
231 compiler_moc_header_clean:
232 -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
232 -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
233 moc_mainwindow.cpp: lfrxmlhandler.h \
233 moc_mainwindow.cpp: lfrxmlhandler.h \
234 lfrxmlwriter.h \
234 lfrxmlwriter.h \
235 mainwindowui.h \
235 mainwindowui.h \
236 lfrspectrogram.h \
236 lfrspectrogram.h \
237 lfrxmlparser.h \
237 lfrxmlparser.h \
238 mainwindow.h
238 mainwindow.h
239 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
239 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
240
240
241 moc_mainwindowui.cpp: lfrspectrogram.h \
241 moc_mainwindowui.cpp: lfrspectrogram.h \
242 mainwindowui.h
242 mainwindowui.h
243 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp
243 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp
244
244
245 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
245 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
246 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp
246 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp
247
247
248 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
248 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
249 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp
249 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp
250
250
251 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
251 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
252 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp
252 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp
253
253
254 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
254 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
255 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp
255 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp
256
256
257 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
257 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
258 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp
258 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp
259
259
260 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
260 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
261 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp
261 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp
262
262
263 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
263 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
264 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp
264 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp
265
265
266 moc_lfrxmlparser.cpp: lfrxmlparser.h
266 moc_lfrxmlparser.cpp: lfrxmlparser.h
267 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp
267 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp
268
268
269 moc_lfrspectrogram.cpp: lfrspectrogram.h
269 moc_lfrspectrogram.cpp: lfrspectrogram.h
270 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp
270 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp
271
271
272 compiler_rcc_make_all:
272 compiler_rcc_make_all:
273 compiler_rcc_clean:
273 compiler_rcc_clean:
274 compiler_image_collection_make_all: qmake_image_collection.cpp
274 compiler_image_collection_make_all: qmake_image_collection.cpp
275 compiler_image_collection_clean:
275 compiler_image_collection_clean:
276 -$(DEL_FILE) qmake_image_collection.cpp
276 -$(DEL_FILE) qmake_image_collection.cpp
277 compiler_moc_source_make_all:
277 compiler_moc_source_make_all:
278 compiler_moc_source_clean:
278 compiler_moc_source_clean:
279 compiler_uic_make_all:
279 compiler_uic_make_all:
280 compiler_uic_clean:
280 compiler_uic_clean:
281 compiler_yacc_decl_make_all:
281 compiler_yacc_decl_make_all:
282 compiler_yacc_decl_clean:
282 compiler_yacc_decl_clean:
283 compiler_yacc_impl_make_all:
283 compiler_yacc_impl_make_all:
284 compiler_yacc_impl_clean:
284 compiler_yacc_impl_clean:
285 compiler_lex_make_all:
285 compiler_lex_make_all:
286 compiler_lex_clean:
286 compiler_lex_clean:
287 compiler_clean: compiler_moc_header_clean
287 compiler_clean: compiler_moc_header_clean
288
288
289 ####### Compile
289 ####### Compile
290
290
291 main.o: main.cpp mainwindow.h \
291 main.o: main.cpp mainwindow.h \
292 lfrxmlhandler.h \
292 lfrxmlhandler.h \
293 lfrxmlwriter.h \
293 lfrxmlwriter.h \
294 mainwindowui.h \
294 mainwindowui.h \
295 lfrspectrogram.h \
295 lfrspectrogram.h \
296 lfrxmlparser.h
296 lfrxmlparser.h
297 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
297 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
298
298
299 mainwindow.o: mainwindow.cpp mainwindow.h \
299 mainwindow.o: mainwindow.cpp mainwindow.h \
300 lfrxmlhandler.h \
300 lfrxmlhandler.h \
301 lfrxmlwriter.h \
301 lfrxmlwriter.h \
302 mainwindowui.h \
302 mainwindowui.h \
303 lfrspectrogram.h \
303 lfrspectrogram.h \
304 lfrxmlparser.h
304 lfrxmlparser.h
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
306
306
307 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
307 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
308 lfrspectrogram.h
308 lfrspectrogram.h
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
310
310
311 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
311 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
312 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
312 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
313
313
314 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
314 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
315 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
315 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
316
316
317 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
317 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
318 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
318 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
319
319
320 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
320 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
322
322
323 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
323 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
325
325
326 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
326 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
327 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
327 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
328
328
329 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
329 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
330 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
330 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
331
331
332 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
332 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
334
334
335 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
335 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
336 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
336 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
337
337
338 moc_mainwindow.o: moc_mainwindow.cpp
338 moc_mainwindow.o: moc_mainwindow.cpp
339 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
339 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
340
340
341 moc_mainwindowui.o: moc_mainwindowui.cpp
341 moc_mainwindowui.o: moc_mainwindowui.cpp
342 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
342 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
343
343
344 moc_qipdialogbox.o: moc_qipdialogbox.cpp
344 moc_qipdialogbox.o: moc_qipdialogbox.cpp
345 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
345 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
346
346
347 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
347 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
348 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
348 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
349
349
350 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
350 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
351 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
351 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
352
352
353 moc_tmstatistics.o: moc_tmstatistics.cpp
353 moc_tmstatistics.o: moc_tmstatistics.cpp
354 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
354 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
355
355
356 moc_tmpackettoread.o: moc_tmpackettoread.cpp
356 moc_tmpackettoread.o: moc_tmpackettoread.cpp
357 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
357 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
358
358
359 moc_wfpacket.o: moc_wfpacket.cpp
359 moc_wfpacket.o: moc_wfpacket.cpp
360 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
360 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
361
361
362 moc_hkdisplay.o: moc_hkdisplay.cpp
362 moc_hkdisplay.o: moc_hkdisplay.cpp
363 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
363 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
364
364
365 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
365 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
366 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
366 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
367
367
368 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
368 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
369 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
369 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
370
370
371 ####### Install
371 ####### Install
372
372
373 install: FORCE
373 install: FORCE
374
374
375 uninstall: FORCE
375 uninstall: FORCE
376
376
377 FORCE:
377 FORCE:
378
378
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,340 +1,340
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: Tue Jul 9 12:19:41 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 07:38:20 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
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 = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
13 DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_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 -fPIC $(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 -fPIC $(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 -fPIC $(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 -fPIC $(DEFINES)
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilppmonplot -IQCustomPlot -I.
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilppmonplot -IQCustomPlot -I.
17 LINK = g++
17 LINK = g++
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1
19 LIBS = $(SUBLIBS) -L/usr/lib64 -lQtGui -lQtCore -lpthread
19 LIBS = $(SUBLIBS) -L/usr/lib64 -lQtGui -lQtCore -lpthread
20 AR = ar cqs
20 AR = ar cqs
21 RANLIB =
21 RANLIB =
22 QMAKE = /usr/bin/qmake-qt4
22 QMAKE = /usr/bin/qmake-qt4
23 TAR = tar -cf
23 TAR = tar -cf
24 COMPRESS = gzip -9f
24 COMPRESS = gzip -9f
25 COPY = cp -f
25 COPY = cp -f
26 SED = sed
26 SED = sed
27 COPY_FILE = $(COPY)
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
28 COPY_DIR = $(COPY) -r
29 STRIP =
29 STRIP =
30 INSTALL_FILE = install -m 644 -p
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE = rm -f
33 DEL_FILE = rm -f
34 SYMLINK = ln -f -s
34 SYMLINK = ln -f -s
35 DEL_DIR = rmdir
35 DEL_DIR = rmdir
36 MOVE = mv -f
36 MOVE = mv -f
37 CHK_DIR_EXISTS= test -d
37 CHK_DIR_EXISTS= test -d
38 MKDIR = mkdir -p
38 MKDIR = mkdir -p
39
39
40 ####### Output directory
40 ####### Output directory
41
41
42 OBJECTS_DIR = ./
42 OBJECTS_DIR = ./
43
43
44 ####### Files
44 ####### Files
45
45
46 SOURCES = wfdisplay.cpp \
46 SOURCES = wfdisplay.cpp \
47 wfplot.cpp \
47 wfplot.cpp \
48 wfpage.cpp \
48 wfpage.cpp \
49 lppmonplot/lppmonplot.cpp \
49 lppmonplot/lppmonplot.cpp \
50 QCustomPlot/qcustomplot.cpp moc_wfdisplay.cpp \
50 QCustomPlot/qcustomplot.cpp moc_wfdisplay.cpp \
51 moc_wfplot.cpp \
51 moc_wfplot.cpp \
52 moc_wfpage.cpp \
52 moc_wfpage.cpp \
53 moc_lppmonplot.cpp \
53 moc_lppmonplot.cpp \
54 moc_qcustomplot.cpp
54 moc_qcustomplot.cpp
55 OBJECTS = wfdisplay.o \
55 OBJECTS = wfdisplay.o \
56 wfplot.o \
56 wfplot.o \
57 wfpage.o \
57 wfpage.o \
58 lppmonplot.o \
58 lppmonplot.o \
59 qcustomplot.o \
59 qcustomplot.o \
60 moc_wfdisplay.o \
60 moc_wfdisplay.o \
61 moc_wfplot.o \
61 moc_wfplot.o \
62 moc_wfpage.o \
62 moc_wfpage.o \
63 moc_lppmonplot.o \
63 moc_lppmonplot.o \
64 moc_qcustomplot.o
64 moc_qcustomplot.o
65 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
65 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
66 /usr/lib64/qt4/mkspecs/common/linux.conf \
66 /usr/lib64/qt4/mkspecs/common/linux.conf \
67 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
67 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
68 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
68 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
69 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
69 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
70 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
70 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
71 /usr/lib64/qt4/mkspecs/qconfig.pri \
71 /usr/lib64/qt4/mkspecs/qconfig.pri \
72 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
72 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
73 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
73 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
74 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
74 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
75 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
75 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
76 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
76 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
77 /usr/lib64/qt4/mkspecs/features/release.prf \
77 /usr/lib64/qt4/mkspecs/features/release.prf \
78 /usr/lib64/qt4/mkspecs/features/default_post.prf \
78 /usr/lib64/qt4/mkspecs/features/default_post.prf \
79 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
79 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
80 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
80 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
81 /usr/lib64/qt4/mkspecs/features/qt.prf \
81 /usr/lib64/qt4/mkspecs/features/qt.prf \
82 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
82 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
83 /usr/lib64/qt4/mkspecs/features/moc.prf \
83 /usr/lib64/qt4/mkspecs/features/moc.prf \
84 /usr/lib64/qt4/mkspecs/features/resources.prf \
84 /usr/lib64/qt4/mkspecs/features/resources.prf \
85 /usr/lib64/qt4/mkspecs/features/uic.prf \
85 /usr/lib64/qt4/mkspecs/features/uic.prf \
86 /usr/lib64/qt4/mkspecs/features/yacc.prf \
86 /usr/lib64/qt4/mkspecs/features/yacc.prf \
87 /usr/lib64/qt4/mkspecs/features/lex.prf \
87 /usr/lib64/qt4/mkspecs/features/lex.prf \
88 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
88 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
89 wfdisplay.pro
89 wfdisplay.pro
90 QMAKE_TARGET = wfdisplay
90 QMAKE_TARGET = wfdisplay
91 DESTDIR =
91 DESTDIR =
92 TARGET = libwfdisplay.so.1.0.0
92 TARGET = libwfdisplay.so.1.0.0
93 TARGETA = libwfdisplay.a
93 TARGETA = libwfdisplay.a
94 TARGETD = libwfdisplay.so.1.0.0
94 TARGETD = libwfdisplay.so.1.0.0
95 TARGET0 = libwfdisplay.so
95 TARGET0 = libwfdisplay.so
96 TARGET1 = libwfdisplay.so.1
96 TARGET1 = libwfdisplay.so.1
97 TARGET2 = libwfdisplay.so.1.0
97 TARGET2 = libwfdisplay.so.1.0
98
98
99 first: all
99 first: all
100 ####### Implicit rules
100 ####### Implicit rules
101
101
102 .SUFFIXES: .o .c .cpp .cc .cxx .C
102 .SUFFIXES: .o .c .cpp .cc .cxx .C
103
103
104 .cpp.o:
104 .cpp.o:
105 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
105 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
106
106
107 .cc.o:
107 .cc.o:
108 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
108 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
109
109
110 .cxx.o:
110 .cxx.o:
111 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
111 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
112
112
113 .C.o:
113 .C.o:
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
114 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
115
115
116 .c.o:
116 .c.o:
117 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
117 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
118
118
119 ####### Build rules
119 ####### Build rules
120
120
121 all: Makefile $(TARGET)
121 all: Makefile $(TARGET)
122
122
123 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
123 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
124 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
124 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
125 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
125 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
126 -ln -s $(TARGET) $(TARGET0)
126 -ln -s $(TARGET) $(TARGET0)
127 -ln -s $(TARGET) $(TARGET1)
127 -ln -s $(TARGET) $(TARGET1)
128 -ln -s $(TARGET) $(TARGET2)
128 -ln -s $(TARGET) $(TARGET2)
129
129
130
130
131
131
132 staticlib: $(TARGETA)
132 staticlib: $(TARGETA)
133
133
134 $(TARGETA): $(OBJECTS) $(OBJCOMP)
134 $(TARGETA): $(OBJECTS) $(OBJCOMP)
135 -$(DEL_FILE) $(TARGETA)
135 -$(DEL_FILE) $(TARGETA)
136 $(AR) $(TARGETA) $(OBJECTS)
136 $(AR) $(TARGETA) $(OBJECTS)
137
137
138 Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
138 Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
139 /usr/lib64/qt4/mkspecs/common/linux.conf \
139 /usr/lib64/qt4/mkspecs/common/linux.conf \
140 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
140 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
141 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
141 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
142 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
142 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
143 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
143 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
144 /usr/lib64/qt4/mkspecs/qconfig.pri \
144 /usr/lib64/qt4/mkspecs/qconfig.pri \
145 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
145 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
146 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
146 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
147 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
147 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
148 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
148 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
149 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
149 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
150 /usr/lib64/qt4/mkspecs/features/release.prf \
150 /usr/lib64/qt4/mkspecs/features/release.prf \
151 /usr/lib64/qt4/mkspecs/features/default_post.prf \
151 /usr/lib64/qt4/mkspecs/features/default_post.prf \
152 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
152 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
153 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
153 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
154 /usr/lib64/qt4/mkspecs/features/qt.prf \
154 /usr/lib64/qt4/mkspecs/features/qt.prf \
155 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
155 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
156 /usr/lib64/qt4/mkspecs/features/moc.prf \
156 /usr/lib64/qt4/mkspecs/features/moc.prf \
157 /usr/lib64/qt4/mkspecs/features/resources.prf \
157 /usr/lib64/qt4/mkspecs/features/resources.prf \
158 /usr/lib64/qt4/mkspecs/features/uic.prf \
158 /usr/lib64/qt4/mkspecs/features/uic.prf \
159 /usr/lib64/qt4/mkspecs/features/yacc.prf \
159 /usr/lib64/qt4/mkspecs/features/yacc.prf \
160 /usr/lib64/qt4/mkspecs/features/lex.prf \
160 /usr/lib64/qt4/mkspecs/features/lex.prf \
161 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
161 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
162 /usr/lib64/libQtGui.prl \
162 /usr/lib64/libQtGui.prl \
163 /usr/lib64/libQtCore.prl
163 /usr/lib64/libQtCore.prl
164 $(QMAKE) -o Makefile wfdisplay.pro
164 $(QMAKE) -o Makefile wfdisplay.pro
165 /usr/lib64/qt4/mkspecs/common/unix.conf:
165 /usr/lib64/qt4/mkspecs/common/unix.conf:
166 /usr/lib64/qt4/mkspecs/common/linux.conf:
166 /usr/lib64/qt4/mkspecs/common/linux.conf:
167 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
167 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
168 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
168 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
169 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
169 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
170 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
170 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
171 /usr/lib64/qt4/mkspecs/qconfig.pri:
171 /usr/lib64/qt4/mkspecs/qconfig.pri:
172 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
172 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
173 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
173 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
174 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
174 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
175 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
175 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
176 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
176 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
177 /usr/lib64/qt4/mkspecs/features/release.prf:
177 /usr/lib64/qt4/mkspecs/features/release.prf:
178 /usr/lib64/qt4/mkspecs/features/default_post.prf:
178 /usr/lib64/qt4/mkspecs/features/default_post.prf:
179 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
179 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
180 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
180 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
181 /usr/lib64/qt4/mkspecs/features/qt.prf:
181 /usr/lib64/qt4/mkspecs/features/qt.prf:
182 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
182 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
183 /usr/lib64/qt4/mkspecs/features/moc.prf:
183 /usr/lib64/qt4/mkspecs/features/moc.prf:
184 /usr/lib64/qt4/mkspecs/features/resources.prf:
184 /usr/lib64/qt4/mkspecs/features/resources.prf:
185 /usr/lib64/qt4/mkspecs/features/uic.prf:
185 /usr/lib64/qt4/mkspecs/features/uic.prf:
186 /usr/lib64/qt4/mkspecs/features/yacc.prf:
186 /usr/lib64/qt4/mkspecs/features/yacc.prf:
187 /usr/lib64/qt4/mkspecs/features/lex.prf:
187 /usr/lib64/qt4/mkspecs/features/lex.prf:
188 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
188 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
189 /usr/lib64/libQtGui.prl:
189 /usr/lib64/libQtGui.prl:
190 /usr/lib64/libQtCore.prl:
190 /usr/lib64/libQtCore.prl:
191 qmake: FORCE
191 qmake: FORCE
192 @$(QMAKE) -o Makefile wfdisplay.pro
192 @$(QMAKE) -o Makefile wfdisplay.pro
193
193
194 dist:
194 dist:
195 @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0
195 @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0
196 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0
196 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0
197
197
198
198
199 clean:compiler_clean
199 clean:compiler_clean
200 -$(DEL_FILE) $(OBJECTS)
200 -$(DEL_FILE) $(OBJECTS)
201 -$(DEL_FILE) *~ core *.core
201 -$(DEL_FILE) *~ core *.core
202
202
203
203
204 ####### Sub-libraries
204 ####### Sub-libraries
205
205
206 distclean: clean
206 distclean: clean
207 -$(DEL_FILE) $(TARGET)
207 -$(DEL_FILE) $(TARGET)
208 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
208 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
209 -$(DEL_FILE) Makefile
209 -$(DEL_FILE) Makefile
210
210
211
211
212 check: first
212 check: first
213
213
214 mocclean: compiler_moc_header_clean compiler_moc_source_clean
214 mocclean: compiler_moc_header_clean compiler_moc_source_clean
215
215
216 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
216 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
217
217
218 compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp
218 compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp
219 compiler_moc_header_clean:
219 compiler_moc_header_clean:
220 -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp
220 -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp
221 moc_wfdisplay.cpp: wfdisplay_global.h \
221 moc_wfdisplay.cpp: wfdisplay_global.h \
222 wfpage.h \
222 wfpage.h \
223 wfplot.h \
223 wfplot.h \
224 wfdisplay_params.h \
224 wfdisplay_params.h \
225 wfdisplay.h
225 wfdisplay.h
226 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp
226 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp
227
227
228 moc_wfplot.cpp: wfplot.h
228 moc_wfplot.cpp: wfplot.h
229 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp
229 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp
230
230
231 moc_wfpage.cpp: wfdisplay_global.h \
231 moc_wfpage.cpp: wfdisplay_global.h \
232 wfplot.h \
232 wfplot.h \
233 wfdisplay_params.h \
233 wfdisplay_params.h \
234 wfpage.h
234 wfpage.h
235 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp
235 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp
236
236
237 moc_lppmonplot.cpp: lppmonplot/lppmonplot.h
237 moc_lppmonplot.cpp: lppmonplot/lppmonplot.h
238 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp
238 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp
239
239
240 moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h
240 moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h
241 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp
241 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp
242
242
243 compiler_rcc_make_all:
243 compiler_rcc_make_all:
244 compiler_rcc_clean:
244 compiler_rcc_clean:
245 compiler_image_collection_make_all: qmake_image_collection.cpp
245 compiler_image_collection_make_all: qmake_image_collection.cpp
246 compiler_image_collection_clean:
246 compiler_image_collection_clean:
247 -$(DEL_FILE) qmake_image_collection.cpp
247 -$(DEL_FILE) qmake_image_collection.cpp
248 compiler_moc_source_make_all:
248 compiler_moc_source_make_all:
249 compiler_moc_source_clean:
249 compiler_moc_source_clean:
250 compiler_uic_make_all:
250 compiler_uic_make_all:
251 compiler_uic_clean:
251 compiler_uic_clean:
252 compiler_yacc_decl_make_all:
252 compiler_yacc_decl_make_all:
253 compiler_yacc_decl_clean:
253 compiler_yacc_decl_clean:
254 compiler_yacc_impl_make_all:
254 compiler_yacc_impl_make_all:
255 compiler_yacc_impl_clean:
255 compiler_yacc_impl_clean:
256 compiler_lex_make_all:
256 compiler_lex_make_all:
257 compiler_lex_clean:
257 compiler_lex_clean:
258 compiler_clean: compiler_moc_header_clean
258 compiler_clean: compiler_moc_header_clean
259
259
260 ####### Compile
260 ####### Compile
261
261
262 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
262 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
263 wfdisplay_global.h \
263 wfdisplay_global.h \
264 wfpage.h \
264 wfpage.h \
265 wfplot.h \
265 wfplot.h \
266 wfdisplay_params.h
266 wfdisplay_params.h
267 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
267 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
268
268
269 wfplot.o: wfplot.cpp wfplot.h \
269 wfplot.o: wfplot.cpp wfplot.h \
270 wfdisplay_params.h
270 wfdisplay_params.h
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
271 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
272
272
273 wfpage.o: wfpage.cpp wfpage.h \
273 wfpage.o: wfpage.cpp wfpage.h \
274 wfdisplay_global.h \
274 wfdisplay_global.h \
275 wfplot.h \
275 wfplot.h \
276 wfdisplay_params.h
276 wfdisplay_params.h
277 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
277 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
278
278
279 lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h
279 lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp
280 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp
281
281
282 qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h
282 qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h
283 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp
283 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp
284
284
285 moc_wfdisplay.o: moc_wfdisplay.cpp
285 moc_wfdisplay.o: moc_wfdisplay.cpp
286 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
286 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
287
287
288 moc_wfplot.o: moc_wfplot.cpp
288 moc_wfplot.o: moc_wfplot.cpp
289 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
289 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
290
290
291 moc_wfpage.o: moc_wfpage.cpp
291 moc_wfpage.o: moc_wfpage.cpp
292 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
292 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
293
293
294 moc_lppmonplot.o: moc_lppmonplot.cpp
294 moc_lppmonplot.o: moc_lppmonplot.cpp
295 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp
295 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp
296
296
297 moc_qcustomplot.o: moc_qcustomplot.cpp
297 moc_qcustomplot.o: moc_qcustomplot.cpp
298 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp
298 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp
299
299
300 ####### Install
300 ####### Install
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) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
304 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
305 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
306 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
307 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
308 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
309
309
310
310
311 uninstall_header: FORCE
311 uninstall_header: FORCE
312 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
312 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
313 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h
313 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h
314 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h
314 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h
315 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h
315 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h
316 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h
316 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h
317 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
317 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
318
318
319
319
320 install_target: first FORCE
320 install_target: first FORCE
321 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/
321 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/
322 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
322 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
323 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
323 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
324 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
324 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
325 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
325 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
326
326
327 uninstall_target: FORCE
327 uninstall_target: FORCE
328 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
328 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
329 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
329 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
330 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
330 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
331 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
331 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
332 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
332 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
333
333
334
334
335 install: install_header install_target FORCE
335 install: install_header install_target FORCE
336
336
337 uninstall: uninstall_header uninstall_target FORCE
337 uninstall: uninstall_header uninstall_target FORCE
338
338
339 FORCE:
339 FORCE:
340
340
@@ -1,214 +1,214
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-09T15:49:44. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-12T07:39:41. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">0</value>
7 <value type="int">0</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <value type="QString" key="language">Cpp</value>
15 <value type="QString" key="language">Cpp</value>
16 <valuemap type="QVariantMap" key="value">
16 <valuemap type="QVariantMap" key="value">
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
18 </valuemap>
18 </valuemap>
19 </valuemap>
19 </valuemap>
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <value type="QString" key="language">QmlJS</value>
21 <value type="QString" key="language">QmlJS</value>
22 <valuemap type="QVariantMap" key="value">
22 <valuemap type="QVariantMap" key="value">
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
24 </valuemap>
24 </valuemap>
25 </valuemap>
25 </valuemap>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
43 </valuemap>
43 </valuemap>
44 </data>
44 </data>
45 <data>
45 <data>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
47 <valuemap type="QVariantMap"/>
47 <valuemap type="QVariantMap"/>
48 </data>
48 </data>
49 <data>
49 <data>
50 <variable>ProjectExplorer.Project.Target.0</variable>
50 <variable>ProjectExplorer.Project.Target.0</variable>
51 <valuemap type="QVariantMap">
51 <valuemap type="QVariantMap">
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/lib64/ccache/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
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">false</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>
69 </valuemap>
69 </valuemap>
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
77 </valuemap>
77 </valuemap>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
82 </valuemap>
82 </valuemap>
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
91 </valuemap>
91 </valuemap>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
96 </valuemap>
96 </valuemap>
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.2 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/wfdisplay/wfdisplay</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</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>
108 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
108 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
109 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
109 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
111 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
111 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
115 </valuemap>
115 </valuemap>
116 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
116 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
119 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
119 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
120 </valuemap>
120 </valuemap>
121 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
121 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
122 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
122 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
123 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
123 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
124 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
124 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
125 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
125 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
126 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
126 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
127 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
127 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
128 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
128 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
129 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
129 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
130 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
130 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
131 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
131 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
132 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
132 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
133 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
133 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
134 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
134 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
135 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
135 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
137 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
137 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
138 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
138 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
139 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
139 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
140 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
140 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
141 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
141 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
142 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
142 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
143 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
143 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
144 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
144 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
145 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
145 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
147 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
147 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
148 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
148 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
149 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
149 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
150 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
150 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
151 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
151 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
152 <value type="int">0</value>
152 <value type="int">0</value>
153 <value type="int">1</value>
153 <value type="int">1</value>
154 <value type="int">2</value>
154 <value type="int">2</value>
155 <value type="int">3</value>
155 <value type="int">3</value>
156 <value type="int">4</value>
156 <value type="int">4</value>
157 <value type="int">5</value>
157 <value type="int">5</value>
158 <value type="int">6</value>
158 <value type="int">6</value>
159 <value type="int">7</value>
159 <value type="int">7</value>
160 <value type="int">8</value>
160 <value type="int">8</value>
161 <value type="int">9</value>
161 <value type="int">9</value>
162 <value type="int">10</value>
162 <value type="int">10</value>
163 <value type="int">11</value>
163 <value type="int">11</value>
164 <value type="int">12</value>
164 <value type="int">12</value>
165 <value type="int">13</value>
165 <value type="int">13</value>
166 <value type="int">14</value>
166 <value type="int">14</value>
167 </valuelist>
167 </valuelist>
168 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
168 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
169 <value type="int">0</value>
169 <value type="int">0</value>
170 <value type="int">1</value>
170 <value type="int">1</value>
171 <value type="int">2</value>
171 <value type="int">2</value>
172 <value type="int">3</value>
172 <value type="int">3</value>
173 <value type="int">4</value>
173 <value type="int">4</value>
174 <value type="int">5</value>
174 <value type="int">5</value>
175 <value type="int">6</value>
175 <value type="int">6</value>
176 <value type="int">7</value>
176 <value type="int">7</value>
177 <value type="int">8</value>
177 <value type="int">8</value>
178 <value type="int">9</value>
178 <value type="int">9</value>
179 <value type="int">10</value>
179 <value type="int">10</value>
180 <value type="int">11</value>
180 <value type="int">11</value>
181 <value type="int">12</value>
181 <value type="int">12</value>
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.CustomExecutableRunConfiguration.Arguments"></value>
185 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
186 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
186 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
187 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
187 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
188 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
188 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
189 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
189 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
190 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
190 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
194 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
194 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
195 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
195 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
196 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
196 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
198 </valuemap>
198 </valuemap>
199 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
199 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
200 </valuemap>
200 </valuemap>
201 </data>
201 </data>
202 <data>
202 <data>
203 <variable>ProjectExplorer.Project.TargetCount</variable>
203 <variable>ProjectExplorer.Project.TargetCount</variable>
204 <value type="int">1</value>
204 <value type="int">1</value>
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">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
208 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
209 </data>
209 </data>
210 <data>
210 <data>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
212 <value type="int">10</value>
212 <value type="int">10</value>
213 </data>
213 </data>
214 </qtcreator>
214 </qtcreator>
@@ -1,558 +1,559
1 #include "wfpage.h"
1 #include "wfpage.h"
2
2
3 WFPage::WFPage(QWidget *parent) :
3 WFPage::WFPage(QWidget *parent) :
4 QMainWindow(parent)
4 QMainWindow(parent)
5 {
5 {
6 wfPlot_v = new WFPlot();
6 wfPlot_v = new WFPlot();
7 wfPlot_e1 = new WFPlot();
7 wfPlot_e1 = new WFPlot();
8 wfPlot_e2 = new WFPlot();
8 wfPlot_e2 = new WFPlot();
9 wfPlot_b1 = new WFPlot();
9 wfPlot_b1 = new WFPlot();
10 wfPlot_b2 = new WFPlot();
10 wfPlot_b2 = new WFPlot();
11 wfPlot_b3 = new WFPlot();
11 wfPlot_b3 = new WFPlot();
12 //
12 //
13 wfPlot_v->customPlot->setTitle("v");
13 wfPlot_v->customPlot->setTitle("v");
14 wfPlot_e1->customPlot->setTitle("e1");
14 wfPlot_e1->customPlot->setTitle("e1");
15 wfPlot_e2->customPlot->setTitle("e2");
15 wfPlot_e2->customPlot->setTitle("e2");
16 wfPlot_b1->customPlot->setTitle("b1");
16 wfPlot_b1->customPlot->setTitle("b1");
17 wfPlot_b2->customPlot->setTitle("b2");
17 wfPlot_b2->customPlot->setTitle("b2");
18 wfPlot_b3->customPlot->setTitle("b3");
18 wfPlot_b3->customPlot->setTitle("b3");
19 //
19 //
20 /*mainLayout = new QGridLayout;
20 /*mainLayout = new QGridLayout;
21 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
21 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
22 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
22 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
23 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
23 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
24 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
24 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
25 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
25 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
26 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/
26 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/
27 //
27 //
28 dockV = NULL;
28 dockV = NULL;
29 dockE1 = NULL;
29 dockE1 = NULL;
30 dockE2 = NULL;
30 dockE2 = NULL;
31 dockB1 = NULL;
31 dockB1 = NULL;
32 dockB2 = NULL;
32 dockB2 = NULL;
33 dockB3 = NULL;
33 dockB3 = NULL;
34
34
35 titleWidgetV = new QWidget();
35 titleWidgetV = new QWidget();
36 titleWidgetE1 = new QWidget();
36 titleWidgetE1 = new QWidget();
37 titleWidgetE2 = new QWidget();
37 titleWidgetE2 = new QWidget();
38 titleWidgetB1 = new QWidget();
38 titleWidgetB1 = new QWidget();
39 titleWidgetB2 = new QWidget();
39 titleWidgetB2 = new QWidget();
40 titleWidgetB3 = new QWidget();
40 titleWidgetB3 = new QWidget();
41
41
42 logFileName = new QLabel();
42 logFileName = new QLabel();
43 logFile = new QFile();
43 logFileV = new QFile();
44 logFileV = new QFile();
44 logFileE1 = new QFile();
45 logFileE1 = new QFile();
45 logFileE2 = new QFile();
46 logFileE2 = new QFile();
46 logFileB1 = new QFile();
47 logFileB1 = new QFile();
47 logFileB2 = new QFile();
48 logFileB2 = new QFile();
48 logFileB3 = new QFile();
49 logFileB3 = new QFile();
49 logFileEn = false;
50 logFileEn = false;
50
51
51 createToolBar();
52 createToolBar();
52
53
53 connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString)));
54 connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString)));
54 //
55 //
55 //this->setLayout(mainLayout);
56 //this->setLayout(mainLayout);
56 }
57 }
57
58
58 void WFPage::displayOnPlot(short *data, unsigned char num)
59 void WFPage::displayOnPlot(short *data, unsigned char num)
59 {
60 {
60 switch(num){
61 switch(num){
61 case 0:
62 case 0:
62 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
63 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
63 break;
64 break;
64 case 1:
65 case 1:
65 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
66 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
66 break;
67 break;
67 case 2:
68 case 2:
68 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
69 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
69 break;
70 break;
70 case 3:
71 case 3:
71 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
72 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
72 break;
73 break;
73 case 4:
74 case 4:
74 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
75 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
75 break;
76 break;
76 case 5:
77 case 5:
77 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
78 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
78 break;
79 break;
79 }
80 }
80 }
81 }
81
82
82 void WFPage::createToolBar()
83 void WFPage::createToolBar()
83 {
84 {
84 radio_v = new QRadioButton(tr("v"));
85 radio_v = new QRadioButton(tr("v"));
85 radio_e1 = new QRadioButton(tr("e1"));
86 radio_e1 = new QRadioButton(tr("e1"));
86 radio_e2 = new QRadioButton(tr("e2"));
87 radio_e2 = new QRadioButton(tr("e2"));
87 radio_b1 = new QRadioButton(tr("b1"));
88 radio_b1 = new QRadioButton(tr("b1"));
88 radio_b2 = new QRadioButton(tr("b2"));
89 radio_b2 = new QRadioButton(tr("b2"));
89 radio_b3 = new QRadioButton(tr("b3"));
90 radio_b3 = new QRadioButton(tr("b3"));
90 radio_tabify = new QRadioButton(tr("tabify"));
91 radio_tabify = new QRadioButton(tr("tabify"));
91
92
92 radio_v->setAutoExclusive(false);
93 radio_v->setAutoExclusive(false);
93 radio_e1->setAutoExclusive(false);
94 radio_e1->setAutoExclusive(false);
94 radio_e2->setAutoExclusive(false);
95 radio_e2->setAutoExclusive(false);
95 radio_b1->setAutoExclusive(false);
96 radio_b1->setAutoExclusive(false);
96 radio_b2->setAutoExclusive(false);
97 radio_b2->setAutoExclusive(false);
97 radio_b3->setAutoExclusive(false);
98 radio_b3->setAutoExclusive(false);
98 radio_tabify->setAutoExclusive(false);
99 radio_tabify->setAutoExclusive(false);
99
100
100 button_selectAll = new QPushButton(tr("select all"));
101 button_selectAll = new QPushButton(tr("select all"));
101 button_storeWfrm = new QPushButton(tr("REC"));
102 button_storeWfrm = new QPushButton(tr("REC"));
102
103
103 myToolBar = new QToolBar("select");
104 myToolBar = new QToolBar("select");
104
105
105 myToolBar->addWidget(radio_v);
106 myToolBar->addWidget(radio_v);
106 myToolBar->addWidget(radio_e1);
107 myToolBar->addWidget(radio_e1);
107 myToolBar->addWidget(radio_e2);
108 myToolBar->addWidget(radio_e2);
108 myToolBar->addWidget(radio_b1);
109 myToolBar->addWidget(radio_b1);
109 myToolBar->addWidget(radio_b2);
110 myToolBar->addWidget(radio_b2);
110 myToolBar->addWidget(radio_b3);
111 myToolBar->addWidget(radio_b3);
111 myToolBar->addSeparator();
112 myToolBar->addSeparator();
112 myToolBar->addWidget(button_selectAll);
113 myToolBar->addWidget(button_selectAll);
113 myToolBar->addWidget(radio_tabify);
114 myToolBar->addWidget(radio_tabify);
114 myToolBar->addWidget(button_storeWfrm);
115 myToolBar->addWidget(button_storeWfrm);
115
116
116 addToolBar(Qt::LeftToolBarArea, myToolBar);
117 addToolBar(Qt::LeftToolBarArea, myToolBar);
117
118
118 radio_tabify->setChecked(true);
119 radio_tabify->setChecked(true);
119
120
120 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
121 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
121 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool)));
122 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool)));
122 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
123 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
123 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
124 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
124 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
125 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
125 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
126 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
126 connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll()));
127 connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll()));
127 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
128 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
128 connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm()));
129 connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm()));
129 }
130 }
130
131
131 void WFPage::actionRadioV(bool state)
132 void WFPage::actionRadioV(bool state)
132 {
133 {
133 if (state == true)
134 if (state == true)
134 {
135 {
135 if (dockV == NULL)
136 if (dockV == NULL)
136 {
137 {
137 dockV = new QDockWidget("V", this);
138 dockV = new QDockWidget("V", this);
138 dockV->setWidget(wfPlot_v);
139 dockV->setWidget(wfPlot_v);
139 dockV->setTitleBarWidget(titleWidgetV);
140 dockV->setTitleBarWidget(titleWidgetV);
140 }
141 }
141 }
142 }
142 else
143 else
143 {
144 {
144 this->removeDockWidget(dockV);
145 this->removeDockWidget(dockV);
145 }
146 }
146 organizeDocks();
147 organizeDocks();
147 }
148 }
148
149
149 void WFPage::actionRadioE1(bool state)
150 void WFPage::actionRadioE1(bool state)
150 {
151 {
151 if (state == true)
152 if (state == true)
152 {
153 {
153 if (dockE1 == NULL)
154 if (dockE1 == NULL)
154 {
155 {
155 dockE1 = new QDockWidget("E1", this);
156 dockE1 = new QDockWidget("E1", this);
156 dockE1->setWidget(wfPlot_e1);
157 dockE1->setWidget(wfPlot_e1);
157 dockE1->setTitleBarWidget(titleWidgetE1);
158 dockE1->setTitleBarWidget(titleWidgetE1);
158 }
159 }
159 }
160 }
160 else
161 else
161 {
162 {
162 this->removeDockWidget(dockE1);
163 this->removeDockWidget(dockE1);
163 }
164 }
164 organizeDocks();
165 organizeDocks();
165 }
166 }
166
167
167 void WFPage::actionRadioE2(bool state)
168 void WFPage::actionRadioE2(bool state)
168 {
169 {
169 if (state == true)
170 if (state == true)
170 {
171 {
171 if (dockE2 == NULL)
172 if (dockE2 == NULL)
172 {
173 {
173 dockE2 = new QDockWidget("E2", this);
174 dockE2 = new QDockWidget("E2", this);
174 dockE2->setWidget(wfPlot_e2);
175 dockE2->setWidget(wfPlot_e2);
175 dockE2->setTitleBarWidget(titleWidgetE2);
176 dockE2->setTitleBarWidget(titleWidgetE2);
176 }
177 }
177 }
178 }
178 else
179 else
179 {
180 {
180 this->removeDockWidget(dockE2);
181 this->removeDockWidget(dockE2);
181 }
182 }
182 organizeDocks();
183 organizeDocks();
183 }
184 }
184
185
185 void WFPage::actionRadioB1(bool state)
186 void WFPage::actionRadioB1(bool state)
186 {
187 {
187 if (state == true)
188 if (state == true)
188 {
189 {
189 if (dockB1 == NULL)
190 if (dockB1 == NULL)
190 {
191 {
191 dockB1 = new QDockWidget("B1", this);
192 dockB1 = new QDockWidget("B1", this);
192 dockB1->setWidget(wfPlot_b1);
193 dockB1->setWidget(wfPlot_b1);
193 dockB1->setTitleBarWidget(titleWidgetB1);
194 dockB1->setTitleBarWidget(titleWidgetB1);
194 }
195 }
195 }
196 }
196 else
197 else
197 {
198 {
198 this->removeDockWidget(dockB1);
199 this->removeDockWidget(dockB1);
199 }
200 }
200 organizeDocks();
201 organizeDocks();
201 }
202 }
202
203
203 void WFPage::actionRadioB2(bool state)
204 void WFPage::actionRadioB2(bool state)
204 {
205 {
205 if (state == true)
206 if (state == true)
206 {
207 {
207 if (dockB2 == NULL)
208 if (dockB2 == NULL)
208 {
209 {
209 dockB2 = new QDockWidget("B2", this);
210 dockB2 = new QDockWidget("B2", this);
210 dockB2->setWidget(wfPlot_b2);
211 dockB2->setWidget(wfPlot_b2);
211 dockB2->setTitleBarWidget(titleWidgetB2);
212 dockB2->setTitleBarWidget(titleWidgetB2);
212 }
213 }
213 }
214 }
214 else
215 else
215 {
216 {
216 this->removeDockWidget(dockB2);
217 this->removeDockWidget(dockB2);
217 }
218 }
218 organizeDocks();
219 organizeDocks();
219 }
220 }
220
221
221 void WFPage::actionRadioB3(bool state)
222 void WFPage::actionRadioB3(bool state)
222 {
223 {
223 if (state == true)
224 if (state == true)
224 {
225 {
225 if (dockB3 == NULL)
226 if (dockB3 == NULL)
226 {
227 {
227 dockB3 = new QDockWidget("B3", this);
228 dockB3 = new QDockWidget("B3", this);
228 dockB3->setWidget(wfPlot_b3);
229 dockB3->setWidget(wfPlot_b3);
229 dockB3->setTitleBarWidget(titleWidgetB3);
230 dockB3->setTitleBarWidget(titleWidgetB3);
230 }
231 }
231 }
232 }
232 else
233 else
233 {
234 {
234 this->removeDockWidget(dockB3);
235 this->removeDockWidget(dockB3);
235 }
236 }
236 organizeDocks();
237 organizeDocks();
237 }
238 }
238
239
239 void WFPage::buildDockList()
240 void WFPage::buildDockList()
240 {
241 {
241 dockList.clear();
242 dockList.clear();
242
243
243 if (radio_v->isChecked())
244 if (radio_v->isChecked())
244 {
245 {
245 dockList.append(dockV);
246 dockList.append(dockV);
246 removeDockWidget(dockV);
247 removeDockWidget(dockV);
247 }
248 }
248 if (radio_e1->isChecked())
249 if (radio_e1->isChecked())
249 {
250 {
250 dockList.append(dockE1);
251 dockList.append(dockE1);
251 removeDockWidget(dockE1);
252 removeDockWidget(dockE1);
252 }
253 }
253 if (radio_e2->isChecked())
254 if (radio_e2->isChecked())
254 {
255 {
255 dockList.append(dockE2);
256 dockList.append(dockE2);
256 removeDockWidget(dockE2);
257 removeDockWidget(dockE2);
257 }
258 }
258 if (radio_b1->isChecked())
259 if (radio_b1->isChecked())
259 {
260 {
260 dockList.append(dockB1);
261 dockList.append(dockB1);
261 removeDockWidget(dockB1);
262 removeDockWidget(dockB1);
262 }
263 }
263 if (radio_b2->isChecked())
264 if (radio_b2->isChecked())
264 {
265 {
265 dockList.append(dockB2);
266 dockList.append(dockB2);
266 removeDockWidget(dockB2);
267 removeDockWidget(dockB2);
267 }
268 }
268 if (radio_b3->isChecked())
269 if (radio_b3->isChecked())
269 {
270 {
270 dockList.append(dockB3);
271 dockList.append(dockB3);
271 removeDockWidget(dockB3);
272 removeDockWidget(dockB3);
272 }
273 }
273 }
274 }
274
275
275 void WFPage::organizeDocks()
276 void WFPage::organizeDocks()
276 {
277 {
277 if (radio_tabify->isChecked())
278 if (radio_tabify->isChecked())
278 {
279 {
279 tabify();
280 tabify();
280 }
281 }
281 else
282 else
282 {
283 {
283 unTabify();
284 unTabify();
284 }
285 }
285 wfPlot_v->resize(wfPlot_v->minimumSizeHint());
286 wfPlot_v->resize(wfPlot_v->minimumSizeHint());
286 wfPlot_e1->resize(wfPlot_e1->minimumSizeHint());
287 wfPlot_e1->resize(wfPlot_e1->minimumSizeHint());
287 wfPlot_e2->resize(wfPlot_e2->minimumSizeHint());
288 wfPlot_e2->resize(wfPlot_e2->minimumSizeHint());
288 wfPlot_b1->resize(wfPlot_b1->minimumSizeHint());
289 wfPlot_b1->resize(wfPlot_b1->minimumSizeHint());
289 wfPlot_b2->resize(wfPlot_b2->minimumSizeHint());
290 wfPlot_b2->resize(wfPlot_b2->minimumSizeHint());
290 wfPlot_b3->resize(wfPlot_b3->minimumSizeHint());
291 wfPlot_b3->resize(wfPlot_b3->minimumSizeHint());
291 this->resize(this->minimumSizeHint());
292 this->resize(this->minimumSizeHint());
292 }
293 }
293
294
294 void WFPage::unTabify()
295 void WFPage::unTabify()
295 {
296 {
296 buildDockList();
297 buildDockList();
297
298
298 switch(dockList.size())
299 switch(dockList.size())
299 {
300 {
300 case 0:
301 case 0:
301 break;
302 break;
302 case 1:
303 case 1:
303 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
304 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
304 dockList.at(0)->show();
305 dockList.at(0)->show();
305 break;
306 break;
306 case 2:
307 case 2:
307 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
308 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
308 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
309 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
309 dockList.at(0)->show();
310 dockList.at(0)->show();
310 dockList.at(1)->show();
311 dockList.at(1)->show();
311 break;
312 break;
312 case 3:
313 case 3:
313 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
314 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
314 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
315 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
315 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
316 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
316 dockList.at(0)->show();
317 dockList.at(0)->show();
317 dockList.at(1)->show();
318 dockList.at(1)->show();
318 dockList.at(2)->show();
319 dockList.at(2)->show();
319 break;
320 break;
320 case 4:
321 case 4:
321 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
322 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
322 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
323 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
323 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
324 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
324 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
325 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
325 dockList.at(0)->show();
326 dockList.at(0)->show();
326 dockList.at(1)->show();
327 dockList.at(1)->show();
327 dockList.at(2)->show();
328 dockList.at(2)->show();
328 dockList.at(3)->show();
329 dockList.at(3)->show();
329 break;
330 break;
330 case 5:
331 case 5:
331 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
332 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
332 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
333 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
333 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
334 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
334 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
335 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
335 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
336 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
336 dockList.at(0)->show();
337 dockList.at(0)->show();
337 dockList.at(1)->show();
338 dockList.at(1)->show();
338 dockList.at(2)->show();
339 dockList.at(2)->show();
339 dockList.at(3)->show();
340 dockList.at(3)->show();
340 dockList.at(4)->show();
341 dockList.at(4)->show();
341 break;
342 break;
342 case 6:
343 case 6:
343 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
344 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
344 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
345 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
345 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
346 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
346 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
347 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
347 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
348 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
348 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
349 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
349 dockList.at(0)->show();
350 dockList.at(0)->show();
350 dockList.at(1)->show();
351 dockList.at(1)->show();
351 dockList.at(2)->show();
352 dockList.at(2)->show();
352 dockList.at(3)->show();
353 dockList.at(3)->show();
353 dockList.at(4)->show();
354 dockList.at(4)->show();
354 dockList.at(5)->show();
355 dockList.at(5)->show();
355 break;
356 break;
356 default:
357 default:
357 break;
358 break;
358 }
359 }
359 }
360 }
360
361
361 void WFPage::tabify()
362 void WFPage::tabify()
362 {
363 {
363 buildDockList();
364 buildDockList();
364
365
365 switch(dockList.size())
366 switch(dockList.size())
366 {
367 {
367 case 0:
368 case 0:
368 break;
369 break;
369 case 1:
370 case 1:
370 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
371 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
371 dockList.at(0)->show();
372 dockList.at(0)->show();
372 break;
373 break;
373 case 2:
374 case 2:
374 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
375 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
375 tabifyDockWidget(dockList.at(0), dockList.at(1));
376 tabifyDockWidget(dockList.at(0), dockList.at(1));
376 dockList.at(0)->show();
377 dockList.at(0)->show();
377 dockList.at(1)->show();
378 dockList.at(1)->show();
378 break;
379 break;
379 case 3:
380 case 3:
380 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
381 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
381 tabifyDockWidget(dockList.at(0), dockList.at(1));
382 tabifyDockWidget(dockList.at(0), dockList.at(1));
382 tabifyDockWidget(dockList.at(1), dockList.at(2));
383 tabifyDockWidget(dockList.at(1), dockList.at(2));
383 dockList.at(0)->show();
384 dockList.at(0)->show();
384 dockList.at(1)->show();
385 dockList.at(1)->show();
385 dockList.at(2)->show();
386 dockList.at(2)->show();
386 break;
387 break;
387 case 4:
388 case 4:
388 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
389 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
389 tabifyDockWidget(dockList.at(0), dockList.at(1));
390 tabifyDockWidget(dockList.at(0), dockList.at(1));
390 tabifyDockWidget(dockList.at(1), dockList.at(2));
391 tabifyDockWidget(dockList.at(1), dockList.at(2));
391 tabifyDockWidget(dockList.at(2), dockList.at(3));
392 tabifyDockWidget(dockList.at(2), dockList.at(3));
392 dockList.at(0)->show();
393 dockList.at(0)->show();
393 dockList.at(1)->show();
394 dockList.at(1)->show();
394 dockList.at(2)->show();
395 dockList.at(2)->show();
395 dockList.at(3)->show();
396 dockList.at(3)->show();
396 break;
397 break;
397 case 5:
398 case 5:
398 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
399 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
399 tabifyDockWidget(dockList.at(0), dockList.at(1));
400 tabifyDockWidget(dockList.at(0), dockList.at(1));
400 tabifyDockWidget(dockList.at(1), dockList.at(2));
401 tabifyDockWidget(dockList.at(1), dockList.at(2));
401 tabifyDockWidget(dockList.at(2), dockList.at(3));
402 tabifyDockWidget(dockList.at(2), dockList.at(3));
402 tabifyDockWidget(dockList.at(3), dockList.at(4));
403 tabifyDockWidget(dockList.at(3), dockList.at(4));
403 dockList.at(0)->show();
404 dockList.at(0)->show();
404 dockList.at(1)->show();
405 dockList.at(1)->show();
405 dockList.at(2)->show();
406 dockList.at(2)->show();
406 dockList.at(3)->show();
407 dockList.at(3)->show();
407 dockList.at(4)->show();
408 dockList.at(4)->show();
408 break;
409 break;
409 case 6:
410 case 6:
410 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
411 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
411 tabifyDockWidget(dockList.at(0), dockList.at(1));
412 tabifyDockWidget(dockList.at(0), dockList.at(1));
412 tabifyDockWidget(dockList.at(1), dockList.at(2));
413 tabifyDockWidget(dockList.at(1), dockList.at(2));
413 tabifyDockWidget(dockList.at(2), dockList.at(3));
414 tabifyDockWidget(dockList.at(2), dockList.at(3));
414 tabifyDockWidget(dockList.at(3), dockList.at(4));
415 tabifyDockWidget(dockList.at(3), dockList.at(4));
415 tabifyDockWidget(dockList.at(4), dockList.at(5));
416 tabifyDockWidget(dockList.at(4), dockList.at(5));
416 dockList.at(0)->show();
417 dockList.at(0)->show();
417 dockList.at(1)->show();
418 dockList.at(1)->show();
418 dockList.at(2)->show();
419 dockList.at(2)->show();
419 dockList.at(3)->show();
420 dockList.at(3)->show();
420 dockList.at(4)->show();
421 dockList.at(4)->show();
421 dockList.at(5)->show();
422 dockList.at(5)->show();
422 break;
423 break;
423 default:
424 default:
424 break;
425 break;
425 }
426 }
426 }
427 }
427
428
428 void WFPage::selectAll()
429 void WFPage::selectAll()
429 {
430 {
430 radio_v->click();
431 radio_v->click();
431 radio_e1->click();
432 radio_e1->click();
432 radio_e2->click();
433 radio_e2->click();
433 radio_b1->click();
434 radio_b1->click();
434 radio_b2->click();
435 radio_b2->click();
435 radio_b3->click();
436 radio_b3->click();
436 }
437 }
437
438
438 void WFPage::storeWfrm()
439 void WFPage::storeWfrm()
439 {
440 {
440 if (logFileEn == false)
441 if (logFileEn == false)
441 {
442 {
442 chooseLogFile();
443 chooseLogFile();
443 button_storeWfrm->setText(tr("STOP"));
444 button_storeWfrm->setText(tr("STOP"));
444 logFileEn = true;
445 logFileEn = true;
445 }
446 }
446 else
447 else
447 {
448 {
448 button_storeWfrm->setText(tr("REC"));
449 button_storeWfrm->setText(tr("REC"));
449 logFileEn = false;
450 logFileEn = false;
450 }
451 }
451 }
452 }
452
453
453 void WFPage::buildFileNames()
454 void WFPage::buildFileNames()
454 {
455 {
455 QString date;
456 QString date;
456 QString time;
457 QString time;
457
458
458 date = QDate::currentDate().toString();
459 date = QDate::currentDate().toString();
459 time = QTime::currentTime().toString();
460 time = QTime::currentTime().toString();
460
461
461
462
462 if (radio_v->isChecked())
463 if (radio_v->isChecked())
463 {
464 {
464
465
465 }
466 }
466 if (radio_e1->isChecked())
467 if (radio_e1->isChecked())
467 {
468 {
468
469
469 }
470 }
470 if (radio_e2->isChecked())
471 if (radio_e2->isChecked())
471 {
472 {
472
473
473 }
474 }
474 if (radio_b1->isChecked())
475 if (radio_b1->isChecked())
475 {
476 {
476
477
477 }
478 }
478 if (radio_b2->isChecked())
479 if (radio_b2->isChecked())
479 {
480 {
480
481
481 }
482 }
482 if (radio_b3->isChecked())
483 if (radio_b3->isChecked())
483 {
484 {
484
485
485 }
486 }
486 }
487 }
487
488
488 void WFPage::chooseLogFile()
489 void WFPage::chooseLogFile()
489 {
490 {
490 QString date;
491 QString date;
491 QString time;
492 QString time;
492
493
493 date = QDate::currentDate().toString();
494 date = QDate::currentDate().toString();
494 time = QTime::currentTime().toString();
495 time = QTime::currentTime().toString();
495
496
496 if(this->logFile->isOpen())
497 if(this->logFile->isOpen())
497 {
498 {
498 this->logFile->close();
499 this->logFile->close();
499 }
500 }
500
501
501 this->logFile->setFileName(QDir::homePath()
502 /*this->logFile->setFileName(QDir::homePath()
502 + "/"
503 + "/"
503 + QDate::currentDate().toString()
504 + QDate::currentDate().toString()
504 + "_"
505 + "_"
505 + QTime::currentTime().toString()
506 + QTime::currentTime().toString()
506 + "_rmapPluginUI.log",
507 + "_rmapPluginUI.log",
507 tr("Log Files (*.txt *.log)"));
508 tr("Log Files (*.txt *.log)"));*/
508 this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"),
509 this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"),
509 QDir::homePath()
510 QDir::homePath()
510 + "/"
511 + "/"
511 + QDate::currentDate().toString()
512 + QDate::currentDate().toString()
512 + "_"
513 + "_"
513 + QTime::currentTime().toString()
514 + QTime::currentTime().toString()
514 + "_rmapPluginUI.log",
515 + "_rmapPluginUI.log",
515 tr("Log Files (*.txt *.log)")));
516 tr("Log Files (*.txt *.log)")));
516
517
517 if(this->logFile->open(QIODevice::WriteOnly))
518 if(this->logFile->open(QIODevice::WriteOnly))
518 {
519 {
519 this->logFileStrm = new QTextStream(this->logFile);
520 this->logFileStrm = new QTextStream(this->logFile);
520 emit this->setLogFileName(this->logFile->fileName());
521 emit this->setLogFileName(this->logFile->fileName());
521 }
522 }
522 }
523 }
523
524
524 void WFPage::logFileEnDisable(bool state)
525 void WFPage::logFileEnDisable(bool state)
525 {
526 {
526 if(state==true)
527 if(state==true)
527 {
528 {
528 this->logFileEn = true;
529 this->logFileEn = true;
529 }
530 }
530 else if(state==false)
531 else if(state==false)
531 {
532 {
532 this->logFileEn = false;
533 this->logFileEn = false;
533 }
534 }
534 }
535 }
535
536
536 bool WFPage::islogfileenable()
537 bool WFPage::islogfileenable()
537 {
538 {
538 return this->logFileEn;
539 return this->logFileEn;
539 }
540 }
540
541
541 void WFPage::appendToLogFile(const QString & text)
542 void WFPage::appendToLogFile(const QString & text)
542 {
543 {
543 if(this->logFileEn && this->logFile->isOpen())
544 if(this->logFileEn && this->logFile->isOpen())
544 {
545 {
545 *(this->logFileStrm) << text << endl;
546 *(this->logFileStrm) << text << endl;
546 }
547 }
547 }
548 }
548
549
549 void WFPage::closeEvent(QCloseEvent *event)
550 void WFPage::closeEvent(QCloseEvent *event)
550 {
551 {
551 if(this->logFile->isOpen())
552 if(this->logFile->isOpen())
552 {
553 {
553 this->logFileStrm->flush();
554 this->logFileStrm->flush();
554 this->logFile->waitForBytesWritten(3000);
555 this->logFile->waitForBytesWritten(3000);
555 this->logFile->close();
556 this->logFile->close();
556 }
557 }
557 event->accept();
558 event->accept();
558 }
559 }
@@ -1,111 +1,113
1 #ifndef WFPAGE_H
1 #ifndef WFPAGE_H
2 #define WFPAGE_H
2 #define WFPAGE_H
3
3
4 #include "wfdisplay_global.h"
4 #include "wfdisplay_global.h"
5
5
6 #include <QtGui/QMainWindow>
6 #include <QtGui/QMainWindow>
7 #include <QRadioButton>
7 #include <QRadioButton>
8 #include <QPushButton>
8 #include <QPushButton>
9 #include <QDockWidget>
9 #include <QDockWidget>
10 #include <QToolBar>
10 #include <QToolBar>
11 #include <QLabel>
11 #include <QLabel>
12 #include <QFile>
12 #include <QFile>
13 #include <QTextStream>
13 #include <QTextStream>
14 #include <QFileDialog>
14 #include <QFileDialog>
15
15
16 #include <wfplot.h>
16 #include <wfplot.h>
17 #include <wfdisplay_params.h>
17 #include <wfdisplay_params.h>
18
18
19 class WFDISPLAYSHARED_EXPORT WFPage : public QMainWindow
19 class WFDISPLAYSHARED_EXPORT WFPage : public QMainWindow
20 {
20 {
21 Q_OBJECT
21 Q_OBJECT
22 public:
22 public:
23 explicit WFPage(QWidget *parent = 0);
23 explicit WFPage(QWidget *parent = 0);
24
24
25 void createToolBar();
25 void createToolBar();
26 void buildDockList();
26 void buildDockList();
27 void unTabify();
27 void unTabify();
28 void tabify();
28 void tabify();
29 // STORE
29 // STORE
30 void chooseLogFile();
30 void chooseLogFile();
31 void buildFileNames();
31 void buildFileNames();
32 bool islogfileenable();
32 bool islogfileenable();
33 void appendToLogFile(const QString & text);
33 void appendToLogFile(const QString & text);
34 void closeEvent(QCloseEvent *event);
34 void closeEvent(QCloseEvent *event);
35
35
36 QLabel *logFileName;
36 QLabel *logFileName;
37
37
38 QWidget *titleWidgetV;
38 QWidget *titleWidgetV;
39 QWidget *titleWidgetE1;
39 QWidget *titleWidgetE1;
40 QWidget *titleWidgetE2;
40 QWidget *titleWidgetE2;
41 QWidget *titleWidgetB1;
41 QWidget *titleWidgetB1;
42 QWidget *titleWidgetB2;
42 QWidget *titleWidgetB2;
43 QWidget *titleWidgetB3;
43 QWidget *titleWidgetB3;
44
44
45 QList<QDockWidget*> dockList;
45 QList<QDockWidget*> dockList;
46
46
47 QDockWidget *dockV;
47 QDockWidget *dockV;
48 QDockWidget *dockE1;
48 QDockWidget *dockE1;
49 QDockWidget *dockE2;
49 QDockWidget *dockE2;
50 QDockWidget *dockB1;
50 QDockWidget *dockB1;
51 QDockWidget *dockB2;
51 QDockWidget *dockB2;
52 QDockWidget *dockB3;
52 QDockWidget *dockB3;
53
53
54 QRadioButton *radio_v;
54 QRadioButton *radio_v;
55 QRadioButton *radio_e1;
55 QRadioButton *radio_e1;
56 QRadioButton *radio_e2;
56 QRadioButton *radio_e2;
57 QRadioButton *radio_b1;
57 QRadioButton *radio_b1;
58 QRadioButton *radio_b2;
58 QRadioButton *radio_b2;
59 QRadioButton *radio_b3;
59 QRadioButton *radio_b3;
60 QRadioButton *radio_tabify;
60 QRadioButton *radio_tabify;
61
61
62 QPushButton *button_selectAll;
62 QPushButton *button_selectAll;
63 QPushButton *button_storeWfrm;
63 QPushButton *button_storeWfrm;
64
64
65 QToolBar *myToolBar;
65 QToolBar *myToolBar;
66
66
67 WFPlot *wfPlot_v;
67 WFPlot *wfPlot_v;
68 WFPlot *wfPlot_e1;
68 WFPlot *wfPlot_e1;
69 WFPlot *wfPlot_e2;
69 WFPlot *wfPlot_e2;
70 WFPlot *wfPlot_b1;
70 WFPlot *wfPlot_b1;
71 WFPlot *wfPlot_b2;
71 WFPlot *wfPlot_b2;
72 WFPlot *wfPlot_b3;
72 WFPlot *wfPlot_b3;
73
73
74 QFile *logFile;
74 QFile *logFileV;
75 QFile *logFileV;
75 QFile *logFileE1;
76 QFile *logFileE1;
76 QFile *logFileE2;
77 QFile *logFileE2;
77 QFile *logFileB1;
78 QFile *logFileB1;
78 QFile *logFileB2;
79 QFile *logFileB2;
79 QFile *logFileB3;
80 QFile *logFileB3;
80
81
82 QTextStream *logFileStrm;
81 QTextStream *logFileStrmV;
83 QTextStream *logFileStrmV;
82 QTextStream *logFileStrmE1;
84 QTextStream *logFileStrmE1;
83 QTextStream *logFileStrmE2;
85 QTextStream *logFileStrmE2;
84 QTextStream *logFileStrmB1;
86 QTextStream *logFileStrmB1;
85 QTextStream *logFileStrmB2;
87 QTextStream *logFileStrmB2;
86 QTextStream *logFileStrmB3;
88 QTextStream *logFileStrmB3;
87
89
88 bool logFileEn;
90 bool logFileEn;
89
91
90 //QGridLayout *mainLayout;
92 //QGridLayout *mainLayout;
91
93
92 void displayOnPlot(short *data, unsigned char num);
94 void displayOnPlot(short *data, unsigned char num);
93
95
94 signals:
96 signals:
95 void setLogFileName(QString FileName);
97 void setLogFileName(QString FileName);
96
98
97 public slots:
99 public slots:
98 void actionRadioV(bool state);
100 void actionRadioV(bool state);
99 void actionRadioE1(bool state);
101 void actionRadioE1(bool state);
100 void actionRadioE2(bool state);
102 void actionRadioE2(bool state);
101 void actionRadioB1(bool state);
103 void actionRadioB1(bool state);
102 void actionRadioB2(bool state);
104 void actionRadioB2(bool state);
103 void actionRadioB3(bool state);
105 void actionRadioB3(bool state);
104 void organizeDocks();
106 void organizeDocks();
105 void selectAll();
107 void selectAll();
106 void storeWfrm();
108 void storeWfrm();
107 void logFileEnDisable(bool state);
109 void logFileEnDisable(bool state);
108
110
109 };
111 };
110
112
111 #endif // WFPAGE_H
113 #endif // WFPAGE_H
General Comments 0
You need to be logged in to leave comments. Login now