├── 01_Transplant
├── 01_Transplant
│ ├── 01_Transplant.pro
│ ├── 01_Transplant.pro.user
│ ├── main.cpp
│ ├── mainwindow.cpp
│ ├── mainwindow.h
│ ├── mainwindow.ui
│ ├── qcustomplot.cpp
│ └── qcustomplot.h
└── build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
│ ├── .qmake.stash
│ ├── Makefile
│ ├── Makefile.Debug
│ ├── Makefile.Release
│ ├── debug
│ ├── 01_Transplant.exe
│ ├── main.o
│ ├── mainwindow.o
│ ├── moc_mainwindow.cpp
│ ├── moc_mainwindow.o
│ ├── moc_predefs.h
│ ├── moc_qcustomplot.cpp
│ ├── moc_qcustomplot.o
│ └── qcustomplot.o
│ └── ui_mainwindow.h
├── 02_StaticGraph
├── 02_StaticGraph
│ ├── 02_StaticGraph.pro
│ ├── 02_StaticGraph.pro.user
│ ├── main.cpp
│ ├── mainwindow.cpp
│ ├── mainwindow.h
│ ├── mainwindow.ui
│ ├── qcustomplot.cpp
│ └── qcustomplot.h
└── build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
│ ├── .qmake.stash
│ ├── Makefile
│ ├── Makefile.Debug
│ ├── Makefile.Release
│ ├── customPlot.png
│ ├── debug
│ ├── 02_StaticGraph.exe
│ ├── main.o
│ ├── mainwindow.o
│ ├── moc_mainwindow.cpp
│ ├── moc_mainwindow.o
│ ├── moc_predefs.h
│ ├── moc_qcustomplot.cpp
│ ├── moc_qcustomplot.o
│ └── qcustomplot.o
│ └── ui_mainwindow.h
└── 03_DynamicGraph
├── 03_DynamicGraph
├── 03_DynamicGraph.pro
├── 03_DynamicGraph.pro.user
├── main.cpp
├── mainwindow.cpp
├── mainwindow.h
├── mainwindow.ui
├── qcustomplot.cpp
└── qcustomplot.h
└── build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
├── .qmake.stash
├── Makefile
├── Makefile.Debug
├── Makefile.Release
├── debug
├── 03_DynamicGraph.exe
├── main.o
├── mainwindow.o
├── moc_mainwindow.cpp
├── moc_mainwindow.o
├── moc_predefs.h
├── moc_qcustomplot.cpp
├── moc_qcustomplot.o
└── qcustomplot.o
└── ui_mainwindow.h
/01_Transplant/01_Transplant/01_Transplant.pro:
--------------------------------------------------------------------------------
1 | QT += core gui
2 |
3 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
4 |
5 | CONFIG += c++11
6 |
7 | # The following define makes your compiler emit warnings if you use
8 | # any Qt feature that has been marked deprecated (the exact warnings
9 | # depend on your compiler). Please consult the documentation of the
10 | # deprecated API in order to know how to port your code away from it.
11 | DEFINES += QT_DEPRECATED_WARNINGS
12 |
13 | # You can also make your code fail to compile if it uses deprecated APIs.
14 | # In order to do so, uncomment the following line.
15 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
16 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
17 |
18 | SOURCES += \
19 | main.cpp \
20 | mainwindow.cpp \
21 | qcustomplot.cpp
22 |
23 | HEADERS += \
24 | mainwindow.h \
25 | qcustomplot.h
26 |
27 | FORMS += \
28 | mainwindow.ui
29 |
30 | # Default rules for deployment.
31 | qnx: target.path = /tmp/$${TARGET}/bin
32 | else: unix:!android: target.path = /opt/$${TARGET}/bin
33 | !isEmpty(target.path): INSTALLS += target
34 |
--------------------------------------------------------------------------------
/01_Transplant/01_Transplant/01_Transplant.pro.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EnvironmentId
7 | {a0493980-663c-4399-bed9-6237f8a1eee5}
8 |
9 |
10 | ProjectExplorer.Project.ActiveTarget
11 | 0
12 |
13 |
14 | ProjectExplorer.Project.EditorSettings
15 |
16 | true
17 | false
18 | true
19 |
20 | Cpp
21 |
22 | CppGlobal
23 |
24 |
25 |
26 | QmlJS
27 |
28 | QmlJSGlobal
29 |
30 |
31 | 2
32 | UTF-8
33 | false
34 | 4
35 | false
36 | 80
37 | true
38 | true
39 | 1
40 | true
41 | false
42 | 0
43 | true
44 | true
45 | 0
46 | 8
47 | true
48 | 1
49 | true
50 | true
51 | true
52 | false
53 |
54 |
55 |
56 | ProjectExplorer.Project.PluginSettings
57 |
58 |
59 | -fno-delayed-template-parsing
60 |
61 | true
62 | Builtin.Questionable
63 |
64 | true
65 | Builtin.DefaultTidyAndClazy
66 | 2
67 |
68 |
69 |
70 | true
71 |
72 |
73 |
74 |
75 | ProjectExplorer.Project.Target.0
76 |
77 | Desktop Qt 5.12.9 MinGW 64-bit
78 | Desktop Qt 5.12.9 MinGW 64-bit
79 | qt.qt5.5129.win64_mingw73_kit
80 | 0
81 | 0
82 | 0
83 |
84 | true
85 | 0
86 | D:\Qt\Qt_Code\QCustomPlot_Prj\01_Transplant\build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
87 | D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
88 |
89 |
90 | true
91 | QtProjectManager.QMakeBuildStep
92 |
93 | false
94 |
95 |
96 |
97 | true
98 | Qt4ProjectManager.MakeStep
99 |
100 | false
101 |
102 |
103 | false
104 |
105 | 2
106 | Build
107 | Build
108 | ProjectExplorer.BuildSteps.Build
109 |
110 |
111 |
112 | true
113 | Qt4ProjectManager.MakeStep
114 |
115 | true
116 | clean
117 |
118 | false
119 |
120 | 1
121 | Clean
122 | Clean
123 | ProjectExplorer.BuildSteps.Clean
124 |
125 | 2
126 | false
127 |
128 | Debug
129 | Qt4ProjectManager.Qt4BuildConfiguration
130 | 2
131 | 2
132 | 2
133 |
134 |
135 | true
136 | 2
137 | D:\Qt\Qt_Code\QCustomPlot_Prj\01_Transplant\build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Release
138 | D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Release
139 |
140 |
141 | true
142 | QtProjectManager.QMakeBuildStep
143 |
144 | false
145 |
146 |
147 |
148 | true
149 | Qt4ProjectManager.MakeStep
150 |
151 | false
152 |
153 |
154 | false
155 |
156 | 2
157 | Build
158 | Build
159 | ProjectExplorer.BuildSteps.Build
160 |
161 |
162 |
163 | true
164 | Qt4ProjectManager.MakeStep
165 |
166 | true
167 | clean
168 |
169 | false
170 |
171 | 1
172 | Clean
173 | Clean
174 | ProjectExplorer.BuildSteps.Clean
175 |
176 | 2
177 | false
178 |
179 | Release
180 | Qt4ProjectManager.Qt4BuildConfiguration
181 | 0
182 | 0
183 | 2
184 |
185 |
186 | true
187 | 0
188 | D:\Qt\Qt_Code\QCustomPlot_Prj\01_Transplant\build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
189 | D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
190 |
191 |
192 | true
193 | QtProjectManager.QMakeBuildStep
194 |
195 | false
196 |
197 |
198 |
199 | true
200 | Qt4ProjectManager.MakeStep
201 |
202 | false
203 |
204 |
205 | false
206 |
207 | 2
208 | Build
209 | Build
210 | ProjectExplorer.BuildSteps.Build
211 |
212 |
213 |
214 | true
215 | Qt4ProjectManager.MakeStep
216 |
217 | true
218 | clean
219 |
220 | false
221 |
222 | 1
223 | Clean
224 | Clean
225 | ProjectExplorer.BuildSteps.Clean
226 |
227 | 2
228 | false
229 |
230 | Profile
231 | Qt4ProjectManager.Qt4BuildConfiguration
232 | 0
233 | 0
234 | 0
235 |
236 | 3
237 |
238 |
239 | 0
240 | Deploy
241 | Deploy
242 | ProjectExplorer.BuildSteps.Deploy
243 |
244 | 1
245 |
246 | false
247 | ProjectExplorer.DefaultDeployConfiguration
248 |
249 | 1
250 |
251 |
252 | dwarf
253 |
254 | cpu-cycles
255 |
256 |
257 | 250
258 |
259 | -e
260 | cpu-cycles
261 | --call-graph
262 | dwarf,4096
263 | -F
264 | 250
265 |
266 | -F
267 | true
268 | 4096
269 | false
270 | false
271 | 1000
272 |
273 | true
274 |
275 | false
276 | false
277 | false
278 | false
279 | true
280 | 0.01
281 | 10
282 | true
283 | kcachegrind
284 | 1
285 | 25
286 |
287 | 1
288 | true
289 | false
290 | true
291 | valgrind
292 |
293 | 0
294 | 1
295 | 2
296 | 3
297 | 4
298 | 5
299 | 6
300 | 7
301 | 8
302 | 9
303 | 10
304 | 11
305 | 12
306 | 13
307 | 14
308 |
309 | 2
310 |
311 | Qt4ProjectManager.Qt4RunConfiguration:D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/01_Transplant/01_Transplant.pro
312 | D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/01_Transplant/01_Transplant.pro
313 |
314 | false
315 |
316 | false
317 | true
318 | true
319 | false
320 | false
321 | true
322 |
323 | D:/Qt/Qt_Code/QCustomPlot_Prj/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
324 |
325 | 1
326 |
327 |
328 |
329 | ProjectExplorer.Project.TargetCount
330 | 1
331 |
332 |
333 | ProjectExplorer.Project.Updater.FileVersion
334 | 22
335 |
336 |
337 | Version
338 | 22
339 |
340 |
341 |
--------------------------------------------------------------------------------
/01_Transplant/01_Transplant/main.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 |
3 | #include
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | QApplication a(argc, argv);
8 | MainWindow w;
9 | w.show();
10 | return a.exec();
11 | }
12 |
--------------------------------------------------------------------------------
/01_Transplant/01_Transplant/mainwindow.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 | #include "ui_mainwindow.h"
3 |
4 | MainWindow::MainWindow(QWidget *parent)
5 | : QMainWindow(parent)
6 | , ui(new Ui::MainWindow)
7 | {
8 | ui->setupUi(this);
9 |
10 | // 给widget绘图控件,设置个别名,方便书写
11 | QCustomPlot *customPlot = ui->widget;
12 |
13 | // 设置坐标轴标签名称
14 | customPlot->xAxis->setLabel("x");
15 | customPlot->yAxis->setLabel("y");
16 |
17 | // 设置坐标轴显示范围,不设置时默认范围为 0~5
18 | customPlot->xAxis->setRange(-10, 10);
19 | customPlot->yAxis->setRange(-100, 100);
20 |
21 | /// 添加曲线有两种方法
22 | /// 第一种直接插入,使用控件的曲线数组 graph()。但要注意:曲线从 graph(0)开始递增的,超出添加的个数使用会报错。不推荐这种方式,容易搞错。
23 | // 添加一条绘图曲线
24 | customPlot->addGraph();
25 | // 设置曲线颜色
26 | customPlot->graph(0)->setPen(QPen(QColor(255, 0, 0)));
27 | // 曲线的坐标数据,计算x和y的坐标
28 | QVector x(201), y(201);
29 | for (int i = 0; i < 201; ++i)
30 | {
31 | x[i] = -10 + 0.1f *i;
32 | y[i] = sin(x[i])*50; // y = 50sinx
33 | }
34 | // 设置曲线的坐标数据
35 | customPlot->graph(0)->setData(x, y);
36 |
37 |
38 | /// 第二种使用返回的指针,推荐使用这种方式,不容易出错。
39 | // 添加一条绘图曲线
40 | QCPGraph *pGraph2 = customPlot->addGraph();/// 这行代码等同于 customPlot->addGraph(); QCPGraph *pGraph2 = customPlot->graph(1);
41 | // 设置曲线颜色
42 | pGraph2->setPen(QPen(QColor(0, 0, 255)));
43 | // 曲线的坐标数据,计算x和y的坐标
44 | QVector x1(201), y1(201);
45 | for (int i = 0; i < 201; ++i)
46 | {
47 | x1[i] = -10 + 0.1f *i;
48 | y1[i] = cos(x1[i])*50; // y = 50cosx
49 | }
50 | // 设置曲线的坐标数据
51 | pGraph2->setData(x1, y1);
52 | }
53 |
54 | MainWindow::~MainWindow()
55 | {
56 | delete ui;
57 | }
58 |
59 |
--------------------------------------------------------------------------------
/01_Transplant/01_Transplant/mainwindow.h:
--------------------------------------------------------------------------------
1 | #ifndef MAINWINDOW_H
2 | #define MAINWINDOW_H
3 |
4 | #include
5 | #include "qcustomplot.h"
6 |
7 | QT_BEGIN_NAMESPACE
8 | namespace Ui { class MainWindow; }
9 | QT_END_NAMESPACE
10 |
11 | class MainWindow : public QMainWindow
12 | {
13 | Q_OBJECT
14 |
15 | public:
16 | MainWindow(QWidget *parent = nullptr);
17 | ~MainWindow();
18 |
19 | private:
20 | Ui::MainWindow *ui;
21 | };
22 | #endif // MAINWINDOW_H
23 |
--------------------------------------------------------------------------------
/01_Transplant/01_Transplant/mainwindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | MainWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 800
10 | 500
11 |
12 |
13 |
14 | MainWindow
15 |
16 |
17 |
18 |
19 |
20 | 0
21 | 0
22 | 800
23 | 480
24 |
25 |
26 |
27 |
28 |
38 |
39 |
40 |
41 |
42 | QCustomPlot
43 | QWidget
44 |
45 | 1
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/.qmake.stash:
--------------------------------------------------------------------------------
1 | QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
2 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
3 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
4 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
5 | QMAKE_CXX.COMPILER_MACROS = \
6 | QT_COMPILER_STDCXX \
7 | QMAKE_GCC_MAJOR_VERSION \
8 | QMAKE_GCC_MINOR_VERSION \
9 | QMAKE_GCC_PATCH_VERSION
10 | QMAKE_CXX.INCDIRS = \
11 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ \
12 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 \
13 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward \
14 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include \
15 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed \
16 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/include
17 | QMAKE_CXX.LIBDIRS = \
18 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 \
19 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc \
20 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/lib \
21 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib
22 |
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/Makefile:
--------------------------------------------------------------------------------
1 | #############################################################################
2 | # Makefile for building: 01_Transplant
3 | # Generated by qmake (3.1) (Qt 5.12.9)
4 | # Project: ..\01_Transplant\01_Transplant.pro
5 | # Template: app
6 | # Command: D:\Qt\Qt5.12.9\5.12.9\mingw73_64\bin\qmake.exe -o Makefile ..\01_Transplant\01_Transplant.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
7 | #############################################################################
8 |
9 | MAKEFILE = Makefile
10 |
11 | EQ = =
12 |
13 | first: debug
14 | install: debug-install
15 | uninstall: debug-uninstall
16 | QMAKE = D:\Qt\Qt5.12.9\5.12.9\mingw73_64\bin\qmake.exe
17 | DEL_FILE = del
18 | CHK_DIR_EXISTS= if not exist
19 | MKDIR = mkdir
20 | COPY = copy /y
21 | COPY_FILE = copy /y
22 | COPY_DIR = xcopy /s /q /y /i
23 | INSTALL_FILE = copy /y
24 | INSTALL_PROGRAM = copy /y
25 | INSTALL_DIR = xcopy /s /q /y /i
26 | QINSTALL = D:\Qt\Qt5.12.9\5.12.9\mingw73_64\bin\qmake.exe -install qinstall
27 | QINSTALL_PROGRAM = D:\Qt\Qt5.12.9\5.12.9\mingw73_64\bin\qmake.exe -install qinstall -exe
28 | DEL_FILE = del
29 | SYMLINK = $(QMAKE) -install ln -f -s
30 | DEL_DIR = rmdir
31 | MOVE = move
32 | SUBTARGETS = \
33 | debug \
34 | release
35 |
36 |
37 | debug: FORCE
38 | $(MAKE) -f $(MAKEFILE).Debug
39 | debug-make_first: FORCE
40 | $(MAKE) -f $(MAKEFILE).Debug
41 | debug-all: FORCE
42 | $(MAKE) -f $(MAKEFILE).Debug all
43 | debug-clean: FORCE
44 | $(MAKE) -f $(MAKEFILE).Debug clean
45 | debug-distclean: FORCE
46 | $(MAKE) -f $(MAKEFILE).Debug distclean
47 | debug-install: FORCE
48 | $(MAKE) -f $(MAKEFILE).Debug install
49 | debug-uninstall: FORCE
50 | $(MAKE) -f $(MAKEFILE).Debug uninstall
51 | release: FORCE
52 | $(MAKE) -f $(MAKEFILE).Release
53 | release-make_first: FORCE
54 | $(MAKE) -f $(MAKEFILE).Release
55 | release-all: FORCE
56 | $(MAKE) -f $(MAKEFILE).Release all
57 | release-clean: FORCE
58 | $(MAKE) -f $(MAKEFILE).Release clean
59 | release-distclean: FORCE
60 | $(MAKE) -f $(MAKEFILE).Release distclean
61 | release-install: FORCE
62 | $(MAKE) -f $(MAKEFILE).Release install
63 | release-uninstall: FORCE
64 | $(MAKE) -f $(MAKEFILE).Release uninstall
65 |
66 | Makefile: ../01_Transplant/01_Transplant.pro ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/win32-g++/qmake.conf ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/spec_pre.prf \
67 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/qdevice.pri \
68 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/device_config.prf \
69 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/sanitize.conf \
70 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/gcc-base.conf \
71 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/g++-base.conf \
72 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/angle.conf \
73 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/windows_vulkan_sdk.prf \
74 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/windows-vulkan.conf \
75 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/g++-win32.conf \
76 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/qconfig.pri \
77 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3danimation.pri \
78 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3danimation_private.pri \
79 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dcore.pri \
80 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dcore_private.pri \
81 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dextras.pri \
82 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dextras_private.pri \
83 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dinput.pri \
84 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dinput_private.pri \
85 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dlogic.pri \
86 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dlogic_private.pri \
87 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquick.pri \
88 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquick_private.pri \
89 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation.pri \
90 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
91 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickextras.pri \
92 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickextras_private.pri \
93 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickinput.pri \
94 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickinput_private.pri \
95 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickrender.pri \
96 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickrender_private.pri \
97 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d.pri \
98 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
99 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3drender.pri \
100 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3drender_private.pri \
101 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_accessibility_support_private.pri \
102 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axbase.pri \
103 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axbase_private.pri \
104 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axcontainer.pri \
105 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axcontainer_private.pri \
106 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axserver.pri \
107 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axserver_private.pri \
108 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bluetooth.pri \
109 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bluetooth_private.pri \
110 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bootstrap_private.pri \
111 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_charts.pri \
112 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_charts_private.pri \
113 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_concurrent.pri \
114 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_concurrent_private.pri \
115 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_core.pri \
116 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_core_private.pri \
117 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_datavisualization.pri \
118 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_datavisualization_private.pri \
119 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_dbus.pri \
120 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_dbus_private.pri \
121 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designer.pri \
122 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designer_private.pri \
123 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designercomponents_private.pri \
124 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri \
125 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_edid_support_private.pri \
126 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_egl_support_private.pri \
127 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri \
128 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_fb_support_private.pri \
129 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_fontdatabase_support_private.pri \
130 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gamepad.pri \
131 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gamepad_private.pri \
132 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gui.pri \
133 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gui_private.pri \
134 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_help.pri \
135 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_help_private.pri \
136 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_location.pri \
137 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_location_private.pri \
138 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimedia.pri \
139 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimedia_private.pri \
140 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets.pri \
141 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
142 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_network.pri \
143 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_network_private.pri \
144 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_networkauth.pri \
145 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_networkauth_private.pri \
146 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_nfc.pri \
147 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_nfc_private.pri \
148 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_opengl.pri \
149 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_opengl_private.pri \
150 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_openglextensions.pri \
151 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_openglextensions_private.pri \
152 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_packetprotocol_private.pri \
153 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_platformcompositor_support_private.pri \
154 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioning.pri \
155 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioning_private.pri \
156 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioningquick.pri \
157 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioningquick_private.pri \
158 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_printsupport.pri \
159 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_printsupport_private.pri \
160 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_purchasing.pri \
161 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_purchasing_private.pri \
162 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qml.pri \
163 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qml_private.pri \
164 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmldebug_private.pri \
165 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \
166 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmltest.pri \
167 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmltest_private.pri \
168 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
169 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quick.pri \
170 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quick_private.pri \
171 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2.pri \
172 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri \
173 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickparticles_private.pri \
174 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickshapes_private.pri \
175 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2.pri \
176 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri \
177 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickwidgets.pri \
178 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \
179 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_remoteobjects.pri \
180 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_remoteobjects_private.pri \
181 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_repparser.pri \
182 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_repparser_private.pri \
183 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_scxml.pri \
184 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_scxml_private.pri \
185 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sensors.pri \
186 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sensors_private.pri \
187 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialbus.pri \
188 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialbus_private.pri \
189 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialport.pri \
190 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialport_private.pri \
191 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sql.pri \
192 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sql_private.pri \
193 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_svg.pri \
194 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_svg_private.pri \
195 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_testlib.pri \
196 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_testlib_private.pri \
197 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_texttospeech.pri \
198 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_texttospeech_private.pri \
199 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_theme_support_private.pri \
200 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uiplugin.pri \
201 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uitools.pri \
202 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uitools_private.pri \
203 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard.pri \
204 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard_private.pri \
205 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_vulkan_support_private.pri \
206 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_webchannel.pri \
207 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_webchannel_private.pri \
208 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_websockets.pri \
209 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_websockets_private.pri \
210 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_widgets.pri \
211 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_widgets_private.pri \
212 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri \
213 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_winextras.pri \
214 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_winextras_private.pri \
215 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xml.pri \
216 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xml_private.pri \
217 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns.pri \
218 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
219 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt_functions.prf \
220 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt_config.prf \
221 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/win32-g++/qmake.conf \
222 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/spec_post.prf \
223 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exclusive_builds.prf \
224 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/toolchain.prf \
225 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/default_pre.prf \
226 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/default_pre.prf \
227 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/resolve_config.prf \
228 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exclusive_builds_post.prf \
229 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/default_post.prf \
230 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qml_debug.prf \
231 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/precompile_header.prf \
232 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/warn_on.prf \
233 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt.prf \
234 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/resources.prf \
235 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/moc.prf \
236 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/opengl.prf \
237 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/uic.prf \
238 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qmake_use.prf \
239 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/file_copies.prf \
240 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/windows.prf \
241 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/testcase_targets.prf \
242 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exceptions.prf \
243 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/yacc.prf \
244 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/lex.prf \
245 | ../01_Transplant/01_Transplant.pro \
246 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5PrintSupport.prl \
247 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Widgets.prl \
248 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Gui.prl \
249 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Core.prl \
250 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/qtmain.prl
251 | $(QMAKE) -o Makefile ..\01_Transplant\01_Transplant.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
252 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/spec_pre.prf:
253 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/qdevice.pri:
254 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/device_config.prf:
255 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/sanitize.conf:
256 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/gcc-base.conf:
257 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/g++-base.conf:
258 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/angle.conf:
259 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/windows_vulkan_sdk.prf:
260 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/windows-vulkan.conf:
261 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/common/g++-win32.conf:
262 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/qconfig.pri:
263 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3danimation.pri:
264 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3danimation_private.pri:
265 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dcore.pri:
266 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dcore_private.pri:
267 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dextras.pri:
268 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dextras_private.pri:
269 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dinput.pri:
270 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dinput_private.pri:
271 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dlogic.pri:
272 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dlogic_private.pri:
273 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquick.pri:
274 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquick_private.pri:
275 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation.pri:
276 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickanimation_private.pri:
277 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickextras.pri:
278 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickextras_private.pri:
279 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickinput.pri:
280 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickinput_private.pri:
281 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickrender.pri:
282 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickrender_private.pri:
283 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d.pri:
284 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3dquickscene2d_private.pri:
285 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3drender.pri:
286 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_3drender_private.pri:
287 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_accessibility_support_private.pri:
288 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axbase.pri:
289 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axbase_private.pri:
290 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axcontainer.pri:
291 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axcontainer_private.pri:
292 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axserver.pri:
293 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_axserver_private.pri:
294 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bluetooth.pri:
295 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bluetooth_private.pri:
296 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_bootstrap_private.pri:
297 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_charts.pri:
298 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_charts_private.pri:
299 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_concurrent.pri:
300 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_concurrent_private.pri:
301 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_core.pri:
302 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_core_private.pri:
303 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_datavisualization.pri:
304 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_datavisualization_private.pri:
305 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_dbus.pri:
306 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_dbus_private.pri:
307 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designer.pri:
308 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designer_private.pri:
309 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_designercomponents_private.pri:
310 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_devicediscovery_support_private.pri:
311 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_edid_support_private.pri:
312 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_egl_support_private.pri:
313 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri:
314 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_fb_support_private.pri:
315 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_fontdatabase_support_private.pri:
316 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gamepad.pri:
317 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gamepad_private.pri:
318 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gui.pri:
319 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_gui_private.pri:
320 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_help.pri:
321 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_help_private.pri:
322 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_location.pri:
323 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_location_private.pri:
324 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimedia.pri:
325 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimedia_private.pri:
326 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets.pri:
327 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
328 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_network.pri:
329 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_network_private.pri:
330 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_networkauth.pri:
331 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_networkauth_private.pri:
332 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_nfc.pri:
333 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_nfc_private.pri:
334 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_opengl.pri:
335 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_opengl_private.pri:
336 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_openglextensions.pri:
337 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_openglextensions_private.pri:
338 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_packetprotocol_private.pri:
339 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_platformcompositor_support_private.pri:
340 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioning.pri:
341 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioning_private.pri:
342 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioningquick.pri:
343 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_positioningquick_private.pri:
344 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_printsupport.pri:
345 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_printsupport_private.pri:
346 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_purchasing.pri:
347 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_purchasing_private.pri:
348 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qml.pri:
349 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qml_private.pri:
350 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmldebug_private.pri:
351 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmldevtools_private.pri:
352 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmltest.pri:
353 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qmltest_private.pri:
354 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
355 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quick.pri:
356 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quick_private.pri:
357 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2.pri:
358 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickcontrols2_private.pri:
359 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickparticles_private.pri:
360 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickshapes_private.pri:
361 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2.pri:
362 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quicktemplates2_private.pri:
363 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickwidgets.pri:
364 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_quickwidgets_private.pri:
365 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_remoteobjects.pri:
366 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_remoteobjects_private.pri:
367 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_repparser.pri:
368 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_repparser_private.pri:
369 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_scxml.pri:
370 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_scxml_private.pri:
371 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sensors.pri:
372 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sensors_private.pri:
373 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialbus.pri:
374 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialbus_private.pri:
375 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialport.pri:
376 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_serialport_private.pri:
377 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sql.pri:
378 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_sql_private.pri:
379 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_svg.pri:
380 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_svg_private.pri:
381 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_testlib.pri:
382 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_testlib_private.pri:
383 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_texttospeech.pri:
384 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_texttospeech_private.pri:
385 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_theme_support_private.pri:
386 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uiplugin.pri:
387 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uitools.pri:
388 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_uitools_private.pri:
389 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard.pri:
390 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_virtualkeyboard_private.pri:
391 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_vulkan_support_private.pri:
392 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_webchannel.pri:
393 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_webchannel_private.pri:
394 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_websockets.pri:
395 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_websockets_private.pri:
396 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_widgets.pri:
397 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_widgets_private.pri:
398 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_windowsuiautomation_support_private.pri:
399 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_winextras.pri:
400 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_winextras_private.pri:
401 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xml.pri:
402 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xml_private.pri:
403 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns.pri:
404 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
405 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt_functions.prf:
406 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt_config.prf:
407 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/win32-g++/qmake.conf:
408 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/spec_post.prf:
409 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exclusive_builds.prf:
410 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/toolchain.prf:
411 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/default_pre.prf:
412 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/default_pre.prf:
413 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/resolve_config.prf:
414 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exclusive_builds_post.prf:
415 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/default_post.prf:
416 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qml_debug.prf:
417 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/precompile_header.prf:
418 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/warn_on.prf:
419 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qt.prf:
420 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/resources.prf:
421 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/moc.prf:
422 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/opengl.prf:
423 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/uic.prf:
424 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/qmake_use.prf:
425 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/file_copies.prf:
426 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/win32/windows.prf:
427 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/testcase_targets.prf:
428 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/exceptions.prf:
429 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/yacc.prf:
430 | ../../../../Qt5.12.9/5.12.9/mingw73_64/mkspecs/features/lex.prf:
431 | ../01_Transplant/01_Transplant.pro:
432 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5PrintSupport.prl:
433 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Widgets.prl:
434 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Gui.prl:
435 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/Qt5Core.prl:
436 | ../../../../Qt5.12.9/5.12.9/mingw73_64/lib/qtmain.prl:
437 | qmake: FORCE
438 | @$(QMAKE) -o Makefile ..\01_Transplant\01_Transplant.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
439 |
440 | qmake_all: FORCE
441 |
442 | make_first: debug-make_first release-make_first FORCE
443 | all: debug-all release-all FORCE
444 | clean: debug-clean release-clean FORCE
445 | distclean: debug-distclean release-distclean FORCE
446 | -$(DEL_FILE) Makefile
447 | -$(DEL_FILE) .qmake.stash
448 |
449 | debug-mocclean:
450 | $(MAKE) -f $(MAKEFILE).Debug mocclean
451 | release-mocclean:
452 | $(MAKE) -f $(MAKEFILE).Release mocclean
453 | mocclean: debug-mocclean release-mocclean
454 |
455 | debug-mocables:
456 | $(MAKE) -f $(MAKEFILE).Debug mocables
457 | release-mocables:
458 | $(MAKE) -f $(MAKEFILE).Release mocables
459 | mocables: debug-mocables release-mocables
460 |
461 | check: first
462 |
463 | benchmark: first
464 | FORCE:
465 |
466 | $(MAKEFILE).Debug: Makefile
467 | $(MAKEFILE).Release: Makefile
468 |
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/01_Transplant.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/01_Transplant.exe
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'mainwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.9)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../../01_Transplant/mainwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'mainwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.9. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_MainWindow_t {
24 | QByteArrayData data[1];
25 | char stringdata0[11];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10) // "MainWindow"
35 |
36 | },
37 | "MainWindow"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_MainWindow[] = {
42 |
43 | // content:
44 | 8, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 0, 0, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 0, // signalCount
53 |
54 | 0 // eod
55 | };
56 |
57 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 | {
59 | Q_UNUSED(_o);
60 | Q_UNUSED(_id);
61 | Q_UNUSED(_c);
62 | Q_UNUSED(_a);
63 | }
64 |
65 | QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
66 | &QMainWindow::staticMetaObject,
67 | qt_meta_stringdata_MainWindow.data,
68 | qt_meta_data_MainWindow,
69 | qt_static_metacall,
70 | nullptr,
71 | nullptr
72 | } };
73 |
74 |
75 | const QMetaObject *MainWindow::metaObject() const
76 | {
77 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 | }
79 |
80 | void *MainWindow::qt_metacast(const char *_clname)
81 | {
82 | if (!_clname) return nullptr;
83 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
84 | return static_cast(this);
85 | return QMainWindow::qt_metacast(_clname);
86 | }
87 |
88 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 | {
90 | _id = QMainWindow::qt_metacall(_c, _id, _a);
91 | return _id;
92 | }
93 | QT_WARNING_POP
94 | QT_END_MOC_NAMESPACE
95 |
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_predefs.h:
--------------------------------------------------------------------------------
1 | #define __DBL_MIN_EXP__ (-1021)
2 | #define __FLT32X_MAX_EXP__ 1024
3 | #define __cpp_attributes 200809
4 | #define __UINT_LEAST16_MAX__ 0xffff
5 | #define __ATOMIC_ACQUIRE 2
6 | #define __FLT128_MAX_10_EXP__ 4932
7 | #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
8 | #define __GCC_IEC_559_COMPLEX 2
9 | #define __UINT_LEAST8_TYPE__ unsigned char
10 | #define __SIZEOF_FLOAT80__ 16
11 | #define _WIN32 1
12 | #define __INTMAX_C(c) c ## LL
13 | #define __CHAR_BIT__ 8
14 | #define __UINT8_MAX__ 0xff
15 | #define _WIN64 1
16 | #define __WINT_MAX__ 0xffff
17 | #define __FLT32_MIN_EXP__ (-125)
18 | #define __cpp_static_assert 200410
19 | #define __ORDER_LITTLE_ENDIAN__ 1234
20 | #define __SIZE_MAX__ 0xffffffffffffffffULL
21 | #define __WCHAR_MAX__ 0xffff
22 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
23 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
24 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
25 | #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
26 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
27 | #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
28 | #define __GCC_IEC_559 2
29 | #define __FLT32X_DECIMAL_DIG__ 17
30 | #define __FLT_EVAL_METHOD__ 0
31 | #define __cpp_binary_literals 201304
32 | #define __FLT64_DECIMAL_DIG__ 17
33 | #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
34 | #define __x86_64 1
35 | #define __cpp_variadic_templates 200704
36 | #define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
37 | #define __SIG_ATOMIC_TYPE__ int
38 | #define __DBL_MIN_10_EXP__ (-307)
39 | #define __FINITE_MATH_ONLY__ 0
40 | #define __GNUC_PATCHLEVEL__ 0
41 | #define __FLT32_HAS_DENORM__ 1
42 | #define __UINT_FAST8_MAX__ 0xff
43 | #define __has_include(STR) __has_include__(STR)
44 | #define _stdcall __attribute__((__stdcall__))
45 | #define __DEC64_MAX_EXP__ 385
46 | #define __INT8_C(c) c
47 | #define __INT_LEAST8_WIDTH__ 8
48 | #define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
49 | #define __SHRT_MAX__ 0x7fff
50 | #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
51 | #define __FLT64X_MAX_10_EXP__ 4932
52 | #define __UINT_LEAST8_MAX__ 0xff
53 | #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
54 | #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
55 | #define __UINTMAX_TYPE__ long long unsigned int
56 | #define __DEC32_EPSILON__ 1E-6DF
57 | #define __FLT_EVAL_METHOD_TS_18661_3__ 0
58 | #define __UINT32_MAX__ 0xffffffffU
59 | #define __GXX_EXPERIMENTAL_CXX0X__ 1
60 | #define __LDBL_MAX_EXP__ 16384
61 | #define __FLT128_MIN_EXP__ (-16381)
62 | #define __WINT_MIN__ 0
63 | #define __FLT128_MIN_10_EXP__ (-4931)
64 | #define __INT_LEAST16_WIDTH__ 16
65 | #define __SCHAR_MAX__ 0x7f
66 | #define __FLT128_MANT_DIG__ 113
67 | #define __WCHAR_MIN__ 0
68 | #define __INT64_C(c) c ## LL
69 | #define __DBL_DIG__ 15
70 | #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
71 | #define __FLT64X_MANT_DIG__ 64
72 | #define __SIZEOF_INT__ 4
73 | #define __SIZEOF_POINTER__ 8
74 | #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
75 | #define __USER_LABEL_PREFIX__
76 | #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
77 | #define __STDC_HOSTED__ 1
78 | #define __WIN32 1
79 | #define __LDBL_HAS_INFINITY__ 1
80 | #define __WIN64 1
81 | #define __FLT32_DIG__ 6
82 | #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
83 | #define __GXX_WEAK__ 1
84 | #define __SHRT_WIDTH__ 16
85 | #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
86 | #define __DEC32_MAX__ 9.999999E96DF
87 | #define __cpp_threadsafe_static_init 200806
88 | #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
89 | #define __MINGW32__ 1
90 | #define __FLT32X_HAS_INFINITY__ 1
91 | #define __INT32_MAX__ 0x7fffffff
92 | #define __INT_WIDTH__ 32
93 | #define __SIZEOF_LONG__ 4
94 | #define __UINT16_C(c) c
95 | #define __PTRDIFF_WIDTH__ 64
96 | #define __DECIMAL_DIG__ 21
97 | #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
98 | #define __INTMAX_WIDTH__ 64
99 | #define __FLT64_MIN_EXP__ (-1021)
100 | #define __has_include_next(STR) __has_include_next__(STR)
101 | #define __FLT64X_MIN_10_EXP__ (-4931)
102 | #define __LDBL_HAS_QUIET_NAN__ 1
103 | #define __FLT64_MANT_DIG__ 53
104 | #define _REENTRANT 1
105 | #define __GNUC__ 7
106 | #define _cdecl __attribute__((__cdecl__))
107 | #define __GXX_RTTI 1
108 | #define __MMX__ 1
109 | #define __cpp_delegating_constructors 200604
110 | #define __FLT_HAS_DENORM__ 1
111 | #define __SIZEOF_LONG_DOUBLE__ 16
112 | #define __BIGGEST_ALIGNMENT__ 16
113 | #define __STDC_UTF_16__ 1
114 | #define __FLT64_MAX_10_EXP__ 308
115 | #define __FLT32_HAS_INFINITY__ 1
116 | #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
117 | #define _thiscall __attribute__((__thiscall__))
118 | #define __cpp_raw_strings 200710
119 | #define __INT_FAST32_MAX__ 0x7fffffff
120 | #define __WINNT 1
121 | #define __DBL_HAS_INFINITY__ 1
122 | #define __INT64_MAX__ 0x7fffffffffffffffLL
123 | #define __WINNT__ 1
124 | #define __DEC32_MIN_EXP__ (-94)
125 | #define __INTPTR_WIDTH__ 64
126 | #define __FLT32X_HAS_DENORM__ 1
127 | #define __INT_FAST16_TYPE__ short int
128 | #define _fastcall __attribute__((__fastcall__))
129 | #define __LDBL_HAS_DENORM__ 1
130 | #define __cplusplus 201103L
131 | #define __cpp_ref_qualifiers 200710
132 | #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
133 | #define __INT_LEAST32_MAX__ 0x7fffffff
134 | #define __DEC32_MIN__ 1E-95DF
135 | #define __DEPRECATED 1
136 | #define __cpp_rvalue_references 200610
137 | #define __DBL_MAX_EXP__ 1024
138 | #define __WCHAR_WIDTH__ 16
139 | #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
140 | #define __DEC128_EPSILON__ 1E-33DL
141 | #define __SSE2_MATH__ 1
142 | #define __ATOMIC_HLE_RELEASE 131072
143 | #define __WIN32__ 1
144 | #define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
145 | #define __amd64 1
146 | #define __tune_core2__ 1
147 | #define __ATOMIC_HLE_ACQUIRE 65536
148 | #define __FLT32_HAS_QUIET_NAN__ 1
149 | #define __GNUG__ 7
150 | #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
151 | #define __SIZEOF_SIZE_T__ 8
152 | #define __cpp_rvalue_reference 200610
153 | #define __cpp_nsdmi 200809
154 | #define __FLT64X_MIN_EXP__ (-16381)
155 | #define __SIZEOF_WINT_T__ 2
156 | #define __LONG_LONG_WIDTH__ 64
157 | #define __cpp_initializer_lists 200806
158 | #define __FLT32_MAX_EXP__ 128
159 | #define __cpp_hex_float 201603
160 | #define __GCC_HAVE_DWARF2_CFI_ASM 1
161 | #define __GXX_ABI_VERSION 1011
162 | #define __FLT128_HAS_INFINITY__ 1
163 | #define __FLT_MIN_EXP__ (-125)
164 | #define __cpp_lambdas 200907
165 | #define __FLT64X_HAS_QUIET_NAN__ 1
166 | #define __INT_FAST64_TYPE__ long long int
167 | #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
168 | #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
169 | #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
170 | #define __DECIMAL_BID_FORMAT__ 1
171 | #define __GXX_TYPEINFO_EQUALITY_INLINE 0
172 | #define __FLT64_MIN_10_EXP__ (-307)
173 | #define __FLT64X_DECIMAL_DIG__ 21
174 | #define __DEC128_MIN__ 1E-6143DL
175 | #define __REGISTER_PREFIX__
176 | #define __UINT16_MAX__ 0xffff
177 | #define __DBL_HAS_DENORM__ 1
178 | #define __cdecl __attribute__((__cdecl__))
179 | #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
180 | #define __UINT8_TYPE__ unsigned char
181 | #define __NO_INLINE__ 1
182 | #define __FLT_MANT_DIG__ 24
183 | #define __LDBL_DECIMAL_DIG__ 21
184 | #define __VERSION__ "7.3.0"
185 | #define __UINT64_C(c) c ## ULL
186 | #define __cpp_unicode_characters 200704
187 | #define __GCC_ATOMIC_INT_LOCK_FREE 2
188 | #define __FLT128_MAX_EXP__ 16384
189 | #define __FLT32_MANT_DIG__ 24
190 | #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
191 | #define __FLT128_HAS_DENORM__ 1
192 | #define __FLT128_DIG__ 33
193 | #define __SCHAR_WIDTH__ 8
194 | #define __INT32_C(c) c
195 | #define __DEC64_EPSILON__ 1E-15DD
196 | #define __ORDER_PDP_ENDIAN__ 3412
197 | #define __DEC128_MIN_EXP__ (-6142)
198 | #define __FLT32_MAX_10_EXP__ 38
199 | #define __INT_FAST32_TYPE__ int
200 | #define __UINT_LEAST16_TYPE__ short unsigned int
201 | #define __FLT64X_HAS_INFINITY__ 1
202 | #define __INT16_MAX__ 0x7fff
203 | #define __cpp_rtti 199711
204 | #define __SIZE_TYPE__ long long unsigned int
205 | #define __UINT64_MAX__ 0xffffffffffffffffULL
206 | #define __FLT64X_DIG__ 18
207 | #define __INT8_TYPE__ signed char
208 | #define __GCC_ASM_FLAG_OUTPUTS__ 1
209 | #define __FLT_RADIX__ 2
210 | #define __INT_LEAST16_TYPE__ short int
211 | #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
212 | #define __UINTMAX_C(c) c ## ULL
213 | #define __GLIBCXX_BITSIZE_INT_N_0 128
214 | #define __SEH__ 1
215 | #define __SIG_ATOMIC_MAX__ 0x7fffffff
216 | #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
217 | #define __SIZEOF_PTRDIFF_T__ 8
218 | #define __FLT32X_MANT_DIG__ 53
219 | #define __x86_64__ 1
220 | #define __FLT32X_MIN_EXP__ (-1021)
221 | #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
222 | #define __MSVCRT__ 1
223 | #define __INT_FAST16_MAX__ 0x7fff
224 | #define __FLT64_DIG__ 15
225 | #define __UINT_FAST32_MAX__ 0xffffffffU
226 | #define __UINT_LEAST64_TYPE__ long long unsigned int
227 | #define __FLT_HAS_QUIET_NAN__ 1
228 | #define __FLT_MAX_10_EXP__ 38
229 | #define __LONG_MAX__ 0x7fffffffL
230 | #define __FLT64X_HAS_DENORM__ 1
231 | #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
232 | #define __FLT_HAS_INFINITY__ 1
233 | #define __cpp_unicode_literals 200710
234 | #define __UINT_FAST16_TYPE__ short unsigned int
235 | #define __DEC64_MAX__ 9.999999999999999E384DD
236 | #define __INT_FAST32_WIDTH__ 32
237 | #define __CHAR16_TYPE__ short unsigned int
238 | #define __PRAGMA_REDEFINE_EXTNAME 1
239 | #define __SIZE_WIDTH__ 64
240 | #define __SEG_FS 1
241 | #define __INT_LEAST16_MAX__ 0x7fff
242 | #define __DEC64_MANT_DIG__ 16
243 | #define __UINT_LEAST32_MAX__ 0xffffffffU
244 | #define __SEG_GS 1
245 | #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
246 | #define __GCC_ATOMIC_LONG_LOCK_FREE 2
247 | #define __SIG_ATOMIC_WIDTH__ 32
248 | #define __INT_LEAST64_TYPE__ long long int
249 | #define __INT16_TYPE__ short int
250 | #define __INT_LEAST8_TYPE__ signed char
251 | #define __DEC32_MAX_EXP__ 97
252 | #define __INT_FAST8_MAX__ 0x7f
253 | #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
254 | #define __INTPTR_MAX__ 0x7fffffffffffffffLL
255 | #define __GXX_MERGED_TYPEINFO_NAMES 0
256 | #define __cpp_range_based_for 200907
257 | #define __FLT64_HAS_QUIET_NAN__ 1
258 | #define __stdcall __attribute__((__stdcall__))
259 | #define __FLT32_MIN_10_EXP__ (-37)
260 | #define __SSE2__ 1
261 | #define __EXCEPTIONS 1
262 | #define __LDBL_MANT_DIG__ 64
263 | #define __DBL_HAS_QUIET_NAN__ 1
264 | #define __FLT64_HAS_INFINITY__ 1
265 | #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
266 | #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
267 | #define __INTPTR_TYPE__ long long int
268 | #define __UINT16_TYPE__ short unsigned int
269 | #define __WCHAR_TYPE__ short unsigned int
270 | #define __SIZEOF_FLOAT__ 4
271 | #define __pic__ 1
272 | #define __UINTPTR_MAX__ 0xffffffffffffffffULL
273 | #define __INT_FAST64_WIDTH__ 64
274 | #define __DEC64_MIN_EXP__ (-382)
275 | #define __cpp_decltype 200707
276 | #define __FLT32_DECIMAL_DIG__ 9
277 | #define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
278 | #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
279 | #define __FLT_DIG__ 6
280 | #define __FLT64X_MAX_EXP__ 16384
281 | #define __UINT_FAST64_TYPE__ long long unsigned int
282 | #define __INT_MAX__ 0x7fffffff
283 | #define __amd64__ 1
284 | #define WIN32 1
285 | #define __nocona 1
286 | #define __code_model_medium__ 1
287 | #define __INT64_TYPE__ long long int
288 | #define __FLT_MAX_EXP__ 128
289 | #define WIN64 1
290 | #define __ORDER_BIG_ENDIAN__ 4321
291 | #define __DBL_MANT_DIG__ 53
292 | #define __cpp_inheriting_constructors 201511
293 | #define __SIZEOF_FLOAT128__ 16
294 | #define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
295 | #define __DEC64_MIN__ 1E-383DD
296 | #define __WINT_TYPE__ short unsigned int
297 | #define __UINT_LEAST32_TYPE__ unsigned int
298 | #define __SIZEOF_SHORT__ 2
299 | #define __SSE__ 1
300 | #define __LDBL_MIN_EXP__ (-16381)
301 | #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
302 | #define __WINT_WIDTH__ 16
303 | #define __INT_LEAST8_MAX__ 0x7f
304 | #define __FLT32X_MAX_10_EXP__ 308
305 | #define __SIZEOF_INT128__ 16
306 | #define __WCHAR_UNSIGNED__ 1
307 | #define __LDBL_MAX_10_EXP__ 4932
308 | #define __ATOMIC_RELAXED 0
309 | #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
310 | #define __thiscall __attribute__((__thiscall__))
311 | #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
312 | #define __UINT8_C(c) c
313 | #define __FLT64_MAX_EXP__ 1024
314 | #define __INT_LEAST32_TYPE__ int
315 | #define __SIZEOF_WCHAR_T__ 2
316 | #define __FLT128_HAS_QUIET_NAN__ 1
317 | #define __INT_FAST8_TYPE__ signed char
318 | #define __fastcall __attribute__((__fastcall__))
319 | #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
320 | #define __GNUC_STDC_INLINE__ 1
321 | #define __FLT64_HAS_DENORM__ 1
322 | #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
323 | #define __DBL_DECIMAL_DIG__ 17
324 | #define __STDC_UTF_32__ 1
325 | #define __INT_FAST8_WIDTH__ 8
326 | #define __FXSR__ 1
327 | #define __DEC_EVAL_METHOD__ 2
328 | #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
329 | #define __MINGW64__ 1
330 | #define __cpp_runtime_arrays 198712
331 | #define __UINT64_TYPE__ long long unsigned int
332 | #define __UINT32_C(c) c ## U
333 | #define __INTMAX_MAX__ 0x7fffffffffffffffLL
334 | #define __cpp_alias_templates 200704
335 | #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
336 | #define WINNT 1
337 | #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
338 | #define __INT8_MAX__ 0x7f
339 | #define __LONG_WIDTH__ 32
340 | #define __PIC__ 1
341 | #define __UINT_FAST32_TYPE__ unsigned int
342 | #define __CHAR32_TYPE__ unsigned int
343 | #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
344 | #define __cpp_constexpr 200704
345 | #define __INT32_TYPE__ int
346 | #define __SIZEOF_DOUBLE__ 8
347 | #define __cpp_exceptions 199711
348 | #define __FLT_MIN_10_EXP__ (-37)
349 | #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
350 | #define __INT_LEAST32_WIDTH__ 32
351 | #define __INTMAX_TYPE__ long long int
352 | #define _INTEGRAL_MAX_BITS 64
353 | #define __DEC128_MAX_EXP__ 6145
354 | #define __FLT32X_HAS_QUIET_NAN__ 1
355 | #define __ATOMIC_CONSUME 1
356 | #define __nocona__ 1
357 | #define __GNUC_MINOR__ 3
358 | #define __GLIBCXX_TYPE_INT_N_0 __int128
359 | #define __INT_FAST16_WIDTH__ 16
360 | #define __UINTMAX_MAX__ 0xffffffffffffffffULL
361 | #define __DEC32_MANT_DIG__ 7
362 | #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
363 | #define __DBL_MAX_10_EXP__ 308
364 | #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
365 | #define __INT16_C(c) c
366 | #define __STDC__ 1
367 | #define __FLT32X_DIG__ 15
368 | #define __PTRDIFF_TYPE__ long long int
369 | #define __ATOMIC_SEQ_CST 5
370 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
371 | #define __UINT32_TYPE__ unsigned int
372 | #define __FLT32X_MIN_10_EXP__ (-307)
373 | #define __UINTPTR_TYPE__ long long unsigned int
374 | #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
375 | #define __DEC128_MANT_DIG__ 34
376 | #define __LDBL_MIN_10_EXP__ (-4931)
377 | #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
378 | #define __SSE_MATH__ 1
379 | #define __SIZEOF_LONG_LONG__ 8
380 | #define __cpp_user_defined_literals 200809
381 | #define __FLT128_DECIMAL_DIG__ 36
382 | #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
383 | #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
384 | #define __LDBL_DIG__ 18
385 | #define __FLT_DECIMAL_DIG__ 9
386 | #define __UINT_FAST16_MAX__ 0xffff
387 | #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
388 | #define __INT_LEAST64_WIDTH__ 64
389 | #define __SSE3__ 1
390 | #define __UINT_FAST8_TYPE__ unsigned char
391 | #define __WIN64__ 1
392 | #define __ATOMIC_ACQ_REL 4
393 | #define __ATOMIC_RELEASE 3
394 | #define __declspec(x) __attribute__((x))
395 |
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o
--------------------------------------------------------------------------------
/01_Transplant/build-01_Transplant-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/ui_mainwindow.h:
--------------------------------------------------------------------------------
1 | /********************************************************************************
2 | ** Form generated from reading UI file 'mainwindow.ui'
3 | **
4 | ** Created by: Qt User Interface Compiler version 5.12.9
5 | **
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 | ********************************************************************************/
8 |
9 | #ifndef UI_MAINWINDOW_H
10 | #define UI_MAINWINDOW_H
11 |
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include "qcustomplot.h"
19 |
20 | QT_BEGIN_NAMESPACE
21 |
22 | class Ui_MainWindow
23 | {
24 | public:
25 | QWidget *centralwidget;
26 | QCustomPlot *widget;
27 | QMenuBar *menubar;
28 | QStatusBar *statusbar;
29 |
30 | void setupUi(QMainWindow *MainWindow)
31 | {
32 | if (MainWindow->objectName().isEmpty())
33 | MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
34 | MainWindow->resize(800, 500);
35 | centralwidget = new QWidget(MainWindow);
36 | centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
37 | widget = new QCustomPlot(centralwidget);
38 | widget->setObjectName(QString::fromUtf8("widget"));
39 | widget->setGeometry(QRect(0, 0, 800, 480));
40 | MainWindow->setCentralWidget(centralwidget);
41 | menubar = new QMenuBar(MainWindow);
42 | menubar->setObjectName(QString::fromUtf8("menubar"));
43 | menubar->setGeometry(QRect(0, 0, 800, 23));
44 | MainWindow->setMenuBar(menubar);
45 | statusbar = new QStatusBar(MainWindow);
46 | statusbar->setObjectName(QString::fromUtf8("statusbar"));
47 | MainWindow->setStatusBar(statusbar);
48 |
49 | retranslateUi(MainWindow);
50 |
51 | QMetaObject::connectSlotsByName(MainWindow);
52 | } // setupUi
53 |
54 | void retranslateUi(QMainWindow *MainWindow)
55 | {
56 | MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
57 | } // retranslateUi
58 |
59 | };
60 |
61 | namespace Ui {
62 | class MainWindow: public Ui_MainWindow {};
63 | } // namespace Ui
64 |
65 | QT_END_NAMESPACE
66 |
67 | #endif // UI_MAINWINDOW_H
68 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/02_StaticGraph.pro:
--------------------------------------------------------------------------------
1 | QT += core gui
2 |
3 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
4 |
5 | CONFIG += c++11
6 |
7 | # The following define makes your compiler emit warnings if you use
8 | # any Qt feature that has been marked deprecated (the exact warnings
9 | # depend on your compiler). Please consult the documentation of the
10 | # deprecated API in order to know how to port your code away from it.
11 | DEFINES += QT_DEPRECATED_WARNINGS
12 |
13 | # You can also make your code fail to compile if it uses deprecated APIs.
14 | # In order to do so, uncomment the following line.
15 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
16 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
17 |
18 | SOURCES += \
19 | main.cpp \
20 | mainwindow.cpp \
21 | qcustomplot.cpp
22 |
23 | HEADERS += \
24 | mainwindow.h \
25 | qcustomplot.h
26 |
27 | FORMS += \
28 | mainwindow.ui
29 |
30 | # Default rules for deployment.
31 | qnx: target.path = /tmp/$${TARGET}/bin
32 | else: unix:!android: target.path = /opt/$${TARGET}/bin
33 | !isEmpty(target.path): INSTALLS += target
34 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/02_StaticGraph.pro.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EnvironmentId
7 | {a0493980-663c-4399-bed9-6237f8a1eee5}
8 |
9 |
10 | ProjectExplorer.Project.ActiveTarget
11 | 0
12 |
13 |
14 | ProjectExplorer.Project.EditorSettings
15 |
16 | true
17 | false
18 | true
19 |
20 | Cpp
21 |
22 | CppGlobal
23 |
24 |
25 |
26 | QmlJS
27 |
28 | QmlJSGlobal
29 |
30 |
31 | 2
32 | UTF-8
33 | false
34 | 4
35 | false
36 | 80
37 | true
38 | true
39 | 1
40 | true
41 | false
42 | 0
43 | true
44 | true
45 | 0
46 | 8
47 | true
48 | 1
49 | true
50 | true
51 | true
52 | false
53 |
54 |
55 |
56 | ProjectExplorer.Project.PluginSettings
57 |
58 |
59 | true
60 | Builtin.DefaultTidyAndClazy
61 | 2
62 |
63 |
64 |
65 | true
66 |
67 |
68 |
69 |
70 | ProjectExplorer.Project.Target.0
71 |
72 | Desktop Qt 5.12.9 MinGW 64-bit
73 | Desktop Qt 5.12.9 MinGW 64-bit
74 | qt.qt5.5129.win64_mingw73_kit
75 | 0
76 | 0
77 | 0
78 |
79 | true
80 | 0
81 | D:\Qt\Qt_Code\QCustomPlot_Prj\02_StaticGraph\build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
82 | D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
83 |
84 |
85 | true
86 | QtProjectManager.QMakeBuildStep
87 |
88 | false
89 |
90 |
91 |
92 | true
93 | Qt4ProjectManager.MakeStep
94 |
95 | false
96 |
97 |
98 | false
99 |
100 | 2
101 | Build
102 | Build
103 | ProjectExplorer.BuildSteps.Build
104 |
105 |
106 |
107 | true
108 | Qt4ProjectManager.MakeStep
109 |
110 | true
111 | clean
112 |
113 | false
114 |
115 | 1
116 | Clean
117 | Clean
118 | ProjectExplorer.BuildSteps.Clean
119 |
120 | 2
121 | false
122 |
123 | Debug
124 | Qt4ProjectManager.Qt4BuildConfiguration
125 | 2
126 | 2
127 | 2
128 |
129 |
130 | true
131 | 2
132 | D:\Qt\Qt_Code\QCustomPlot_Prj\02_StaticGraph\build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Release
133 | D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Release
134 |
135 |
136 | true
137 | QtProjectManager.QMakeBuildStep
138 |
139 | false
140 |
141 |
142 |
143 | true
144 | Qt4ProjectManager.MakeStep
145 |
146 | false
147 |
148 |
149 | false
150 |
151 | 2
152 | Build
153 | Build
154 | ProjectExplorer.BuildSteps.Build
155 |
156 |
157 |
158 | true
159 | Qt4ProjectManager.MakeStep
160 |
161 | true
162 | clean
163 |
164 | false
165 |
166 | 1
167 | Clean
168 | Clean
169 | ProjectExplorer.BuildSteps.Clean
170 |
171 | 2
172 | false
173 |
174 | Release
175 | Qt4ProjectManager.Qt4BuildConfiguration
176 | 0
177 | 0
178 | 2
179 |
180 |
181 | true
182 | 0
183 | D:\Qt\Qt_Code\QCustomPlot_Prj\02_StaticGraph\build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
184 | D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
185 |
186 |
187 | true
188 | QtProjectManager.QMakeBuildStep
189 |
190 | false
191 |
192 |
193 |
194 | true
195 | Qt4ProjectManager.MakeStep
196 |
197 | false
198 |
199 |
200 | false
201 |
202 | 2
203 | Build
204 | Build
205 | ProjectExplorer.BuildSteps.Build
206 |
207 |
208 |
209 | true
210 | Qt4ProjectManager.MakeStep
211 |
212 | true
213 | clean
214 |
215 | false
216 |
217 | 1
218 | Clean
219 | Clean
220 | ProjectExplorer.BuildSteps.Clean
221 |
222 | 2
223 | false
224 |
225 | Profile
226 | Qt4ProjectManager.Qt4BuildConfiguration
227 | 0
228 | 0
229 | 0
230 |
231 | 3
232 |
233 |
234 | 0
235 | Deploy
236 | Deploy
237 | ProjectExplorer.BuildSteps.Deploy
238 |
239 | 1
240 |
241 | false
242 | ProjectExplorer.DefaultDeployConfiguration
243 |
244 | 1
245 |
246 |
247 | dwarf
248 |
249 | cpu-cycles
250 |
251 |
252 | 250
253 |
254 | -e
255 | cpu-cycles
256 | --call-graph
257 | dwarf,4096
258 | -F
259 | 250
260 |
261 | -F
262 | true
263 | 4096
264 | false
265 | false
266 | 1000
267 |
268 | true
269 |
270 | false
271 | false
272 | false
273 | false
274 | true
275 | 0.01
276 | 10
277 | true
278 | kcachegrind
279 | 1
280 | 25
281 |
282 | 1
283 | true
284 | false
285 | true
286 | valgrind
287 |
288 | 0
289 | 1
290 | 2
291 | 3
292 | 4
293 | 5
294 | 6
295 | 7
296 | 8
297 | 9
298 | 10
299 | 11
300 | 12
301 | 13
302 | 14
303 |
304 | 2
305 |
306 | Qt4ProjectManager.Qt4RunConfiguration:D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/02_StaticGraph/02_StaticGraph.pro
307 | D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/02_StaticGraph/02_StaticGraph.pro
308 |
309 | false
310 |
311 | false
312 | true
313 | true
314 | false
315 | false
316 | true
317 |
318 | D:/Qt/Qt_Code/QCustomPlot_Prj/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
319 |
320 | 1
321 |
322 |
323 |
324 | ProjectExplorer.Project.TargetCount
325 | 1
326 |
327 |
328 | ProjectExplorer.Project.Updater.FileVersion
329 | 22
330 |
331 |
332 | Version
333 | 22
334 |
335 |
336 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/main.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 |
3 | #include
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | QApplication a(argc, argv);
8 | MainWindow w;
9 | w.show();
10 | return a.exec();
11 | }
12 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/mainwindow.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 | #include "ui_mainwindow.h"
3 |
4 | MainWindow::MainWindow(QWidget *parent)
5 | : QMainWindow(parent)
6 | , ui(new Ui::MainWindow)
7 | {
8 | ui->setupUi(this);
9 |
10 | // 给widget绘图控件,设置个别名,方便书写
11 | QCustomPlot *pGraph1 = ui->widget_1;
12 | QCustomPlot *pGraph2 = ui->widget_2;
13 | QCustomPlot *pGraph3 = ui->widget_3;
14 | QCustomPlot *pGraph4 = ui->widget_4;
15 |
16 | // 运行示例代码,大部分参照别人博客,以附链接
17 | demoStyle_1(pGraph1);
18 | demoStyle_2(pGraph2);
19 | demoStyle_3(pGraph3);
20 | demoStyle_4(pGraph4);
21 | }
22 |
23 | MainWindow::~MainWindow()
24 | {
25 | delete ui;
26 | }
27 |
28 | // 样式参照:https://www.cnblogs.com/jeffkuang/articles/6477790.html
29 | void MainWindow::demoStyle_1(QCustomPlot *customPlot)
30 | {
31 | // 样式参照:https://www.cnblogs.com/jeffkuang/articles/6477790.html
32 | // 设置坐标轴标签名称
33 | customPlot->xAxis->setLabel("x");
34 | customPlot->yAxis->setLabel("y");
35 |
36 | // 设置坐标轴显示范围,默认范围为 0~5
37 | customPlot->xAxis->setRange(-11, 11);
38 | customPlot->yAxis->setRange(-1100, 1100);
39 |
40 | // 设置背景色
41 | customPlot->setBackground(QColor(50, 50, 50));
42 |
43 | // 设置x轴文本色、轴线色、字体等
44 | customPlot->xAxis->setTickLabelColor(Qt::white);
45 | customPlot->xAxis->setLabelColor(QColor(0, 160, 230));
46 | customPlot->xAxis->setBasePen(QPen(QColor(32, 178, 170)));
47 | customPlot->xAxis->setTickPen(QPen(QColor(128, 0, 255)));
48 | customPlot->xAxis->setSubTickPen(QColor(255, 165, 0));
49 | QFont xFont = customPlot->xAxis->labelFont();
50 | xFont.setPixelSize(20);
51 | customPlot->xAxis->setLabelFont(xFont);
52 |
53 | // 设置y轴文本色、轴线色、字体等
54 | customPlot->yAxis->setTickLabelColor(Qt::white);
55 | customPlot->yAxis->setLabelColor(QColor(0, 160, 230));
56 | customPlot->yAxis->setBasePen(QPen(QColor(32, 178, 170)));
57 | customPlot->yAxis->setTickPen(QPen(QColor(128, 0, 255)));
58 | customPlot->yAxis->setSubTickPen(QColor(255, 165, 0));
59 | QFont yFont = customPlot->yAxis->labelFont();
60 | yFont.setPixelSize(20);
61 | customPlot->yAxis->setLabelFont(yFont);
62 |
63 |
64 | // 向绘图区域QCustomPlot添加一条曲线
65 | QCPGraph *pGraph = customPlot->addGraph();
66 | // 设置曲线颜色
67 | pGraph->setPen(QPen(QColor(32, 178, 170)));
68 | // 可变数组存放绘图的坐标的数据,分别存放x和y坐标的数据,101为数据长度
69 | QVector x(101), y(101);
70 | // 添加数据,这里演示y = x^3,为了正负对称,x从-10到+10
71 | for (int i = 0; i < 101; ++i)
72 | {
73 | x[i] = i/5 - 10;
74 | y[i] = qPow(x[i], 3); // x的y次方;
75 | }
76 | // 添加数据
77 | customPlot->graph(0)->setData(x, y);
78 |
79 |
80 | // 导出图片
81 | customPlot->savePng("customPlot.png", 480, 320);
82 | }
83 |
84 | // 样式参照:http://voidcat.cn/index.php/2018/12/10/qcustomplot/
85 | void MainWindow::demoStyle_2(QCustomPlot *customPlot)
86 | {
87 | QVector x, y;
88 | for (double i=-10; i <= 10; i=i+0.1)
89 | {
90 | double x1 = i;
91 | double y1 = qSin(i) * 100;
92 | x.append(x1);
93 | y.append(y1);
94 | }
95 | customPlot->addGraph();
96 | customPlot->graph(0)->setPen(QPen(Qt::red));
97 | customPlot->graph(0)->setLineStyle(QCPGraph::lsImpulse);
98 | //customPlot->graph(0)->setLineStyle(QCPGraph::lsStepCenter);// 搜LineStyle:lsNone,lsLine(默认的,连线),lsStepLeft,lsStepRight,lsStepCenter,lsImpulse
99 | customPlot->graph(0)->setData(x, y);
100 | customPlot->xAxis->setLabel("time");
101 | customPlot->yAxis->setLabel("value");
102 | customPlot->xAxis->setRange(-10, 10);
103 | customPlot->yAxis->setRange(-100, 100);
104 | }
105 |
106 | void MainWindow::demoStyle_3(QCustomPlot *customPlot)
107 | {
108 | // 设置坐标轴标签名称
109 | customPlot->xAxis->setLabel("x");
110 | customPlot->yAxis->setLabel("y");
111 |
112 | // 设置坐标轴显示范围,不设置时默认范围为 0~5
113 | customPlot->xAxis->setRange(-10, 10);
114 | customPlot->yAxis->setRange(-100, 100);
115 |
116 | /// 添加曲线有两种方法
117 | /// 第一种直接插入,使用控件的曲线数组 graph()。但要注意:曲线从 graph(0)开始递增的,超出添加的个数使用会报错。不推荐这种方式,容易搞错。
118 | // 添加一条绘图曲线
119 | customPlot->addGraph();
120 | // 设置曲线颜色
121 | customPlot->graph(0)->setPen(QPen(QColor(255, 0, 0)));
122 | // 曲线的坐标数据,计算x和y的坐标
123 | QVector x(201), y(201);
124 | for (int i = 0; i < 201; ++i)
125 | {
126 | x[i] = -10 + 0.1f *i;
127 | y[i] = sin(x[i])*50; // y = 50sinx
128 | }
129 | // 设置曲线的坐标数据
130 | customPlot->graph(0)->setData(x, y);
131 |
132 |
133 | /// 第二种使用返回的指针,推荐使用这种方式,不容易出错。
134 | // 添加一条绘图曲线
135 | QCPGraph *pGraph2 = customPlot->addGraph();/// 这行代码等同于 customPlot->addGraph(); QCPGraph *pGraph2 = customPlot->graph(1);
136 | // 设置曲线颜色
137 | pGraph2->setPen(QPen(QColor(0, 0, 255)));
138 | // 曲线的坐标数据,计算x和y的坐标
139 | QVector x1(201), y1(201);
140 | for (int i = 0; i < 201; ++i)
141 | {
142 | x1[i] = -10 + 0.1f *i;
143 | y1[i] = cos(x1[i])*50; // y = 50cosx
144 | }
145 | // 设置曲线的坐标数据
146 | pGraph2->setData(x1, y1);
147 | }
148 |
149 | // 样式参照:https://www.cnblogs.com/swarmbees/p/6057798.html
150 | void MainWindow::demoStyle_4(QCustomPlot *customPlot)
151 | {
152 | customPlot->legend->setVisible(true);
153 | customPlot->legend->setFont(QFont("Helvetica", 9));
154 | QPen pen;
155 | QStringList lineNames;//设置图例的文本
156 | lineNames << "lsNone" << "lsLine" << "lsStepLeft" << "lsStepRight" << "lsStepCenter" << "lsImpulse";
157 | // add graphs with different line styles:
158 | for (int i = QCPGraph::lsNone; i <= QCPGraph::lsImpulse; ++i)
159 | {
160 | customPlot->addGraph();
161 | pen.setColor(QColor(qSin(i * 1 + 1.2) * 80 + 80, qSin(i*0.3 + 0) * 80 + 80, qSin(i*0.3 + 1.5) * 80 + 80));
162 | customPlot->graph()->setPen(pen);
163 | customPlot->graph()->setName(lineNames.at(i - QCPGraph::lsNone));
164 | customPlot->graph()->setLineStyle((QCPGraph::LineStyle)i);//设置线性
165 | customPlot->graph()->setScatterStyle(QCPScatterStyle(QCPScatterStyle::ssCircle, 5));//设置每个节点数据绘制风格,默认是空,这里设置为空心圆
166 | // generate data:
167 | QVector x(15), y(15);
168 | for (int j = 0; j < 15; ++j)
169 | {
170 | x[j] = j / 15.0 * 5 * 3.14 + 0.01;
171 | y[j] = 7 * qSin(x[j]) / x[j] - (i - QCPGraph::lsNone) * 5 + (QCPGraph::lsImpulse) * 5 + 2;
172 | }
173 | customPlot->graph()->setData(x, y);
174 | customPlot->graph()->rescaleAxes(true);//坐标轴自适应
175 | }
176 | // zoom out a bit:
177 | customPlot->yAxis->scaleRange(1.1, customPlot->yAxis->range().center());
178 | customPlot->xAxis->scaleRange(1.1, customPlot->xAxis->range().center());
179 | // set blank axis lines:
180 | customPlot->xAxis->setTicks(false);//x轴不显示刻度
181 | customPlot->yAxis->setTicks(true);//y轴显示刻度
182 | customPlot->xAxis->setTickLabels(false);//x轴不显示文本
183 | customPlot->yAxis->setTickLabels(true);//y轴显示文本
184 | // make top right axes clones of bottom left axes:
185 | customPlot->axisRect()->setupFullAxesBox();//一个默认的坐标轴矩形配置,包括:顶部坐标轴跟随底部坐标轴同步、右侧坐标轴跟随左侧坐标轴同步,不仅仅是坐标轴范围跟随同步,包括文本精度、文本格式、坐标轴类型、是否自动生成刻度、刻度间距等等。
186 | }
187 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/mainwindow.h:
--------------------------------------------------------------------------------
1 | #ifndef MAINWINDOW_H
2 | #define MAINWINDOW_H
3 |
4 | #include
5 | #include "qcustomplot.h"
6 |
7 | QT_BEGIN_NAMESPACE
8 | namespace Ui { class MainWindow; }
9 | QT_END_NAMESPACE
10 |
11 | class MainWindow : public QMainWindow
12 | {
13 | Q_OBJECT
14 |
15 | public:
16 | MainWindow(QWidget *parent = nullptr);
17 | ~MainWindow();
18 |
19 | void demoStyle_1(QCustomPlot *customPlot);
20 | void demoStyle_2(QCustomPlot *customPlot);
21 | void demoStyle_3(QCustomPlot *customPlot);
22 | void demoStyle_4(QCustomPlot *customPlot);
23 |
24 | private:
25 | Ui::MainWindow *ui;
26 | };
27 | #endif // MAINWINDOW_H
28 |
--------------------------------------------------------------------------------
/02_StaticGraph/02_StaticGraph/mainwindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | MainWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 800
10 | 600
11 |
12 |
13 |
14 | MainWindow
15 |
16 |
17 |
18 | -
19 |
20 |
21 | -
22 |
23 |
24 | -
25 |
26 |
27 | -
28 |
29 |
30 |
31 |
32 |
42 |
43 |
44 |
45 |
46 | QCustomPlot
47 | QWidget
48 |
49 | 1
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/.qmake.stash:
--------------------------------------------------------------------------------
1 | QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
2 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
3 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
4 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
5 | QMAKE_CXX.COMPILER_MACROS = \
6 | QT_COMPILER_STDCXX \
7 | QMAKE_GCC_MAJOR_VERSION \
8 | QMAKE_GCC_MINOR_VERSION \
9 | QMAKE_GCC_PATCH_VERSION
10 | QMAKE_CXX.INCDIRS = \
11 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ \
12 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 \
13 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward \
14 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include \
15 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed \
16 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/include
17 | QMAKE_CXX.LIBDIRS = \
18 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 \
19 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc \
20 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/lib \
21 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib
22 |
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/customPlot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/customPlot.png
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/02_StaticGraph.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/02_StaticGraph.exe
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'mainwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.9)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../../02_StaticGraph/mainwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'mainwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.9. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_MainWindow_t {
24 | QByteArrayData data[1];
25 | char stringdata0[11];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10) // "MainWindow"
35 |
36 | },
37 | "MainWindow"
38 | };
39 | #undef QT_MOC_LITERAL
40 |
41 | static const uint qt_meta_data_MainWindow[] = {
42 |
43 | // content:
44 | 8, // revision
45 | 0, // classname
46 | 0, 0, // classinfo
47 | 0, 0, // methods
48 | 0, 0, // properties
49 | 0, 0, // enums/sets
50 | 0, 0, // constructors
51 | 0, // flags
52 | 0, // signalCount
53 |
54 | 0 // eod
55 | };
56 |
57 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
58 | {
59 | Q_UNUSED(_o);
60 | Q_UNUSED(_id);
61 | Q_UNUSED(_c);
62 | Q_UNUSED(_a);
63 | }
64 |
65 | QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
66 | &QMainWindow::staticMetaObject,
67 | qt_meta_stringdata_MainWindow.data,
68 | qt_meta_data_MainWindow,
69 | qt_static_metacall,
70 | nullptr,
71 | nullptr
72 | } };
73 |
74 |
75 | const QMetaObject *MainWindow::metaObject() const
76 | {
77 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
78 | }
79 |
80 | void *MainWindow::qt_metacast(const char *_clname)
81 | {
82 | if (!_clname) return nullptr;
83 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
84 | return static_cast(this);
85 | return QMainWindow::qt_metacast(_clname);
86 | }
87 |
88 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
89 | {
90 | _id = QMainWindow::qt_metacall(_c, _id, _a);
91 | return _id;
92 | }
93 | QT_WARNING_POP
94 | QT_END_MOC_NAMESPACE
95 |
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_predefs.h:
--------------------------------------------------------------------------------
1 | #define __DBL_MIN_EXP__ (-1021)
2 | #define __FLT32X_MAX_EXP__ 1024
3 | #define __cpp_attributes 200809
4 | #define __UINT_LEAST16_MAX__ 0xffff
5 | #define __ATOMIC_ACQUIRE 2
6 | #define __FLT128_MAX_10_EXP__ 4932
7 | #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
8 | #define __GCC_IEC_559_COMPLEX 2
9 | #define __UINT_LEAST8_TYPE__ unsigned char
10 | #define __SIZEOF_FLOAT80__ 16
11 | #define _WIN32 1
12 | #define __INTMAX_C(c) c ## LL
13 | #define __CHAR_BIT__ 8
14 | #define __UINT8_MAX__ 0xff
15 | #define _WIN64 1
16 | #define __WINT_MAX__ 0xffff
17 | #define __FLT32_MIN_EXP__ (-125)
18 | #define __cpp_static_assert 200410
19 | #define __ORDER_LITTLE_ENDIAN__ 1234
20 | #define __SIZE_MAX__ 0xffffffffffffffffULL
21 | #define __WCHAR_MAX__ 0xffff
22 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
23 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
24 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
25 | #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
26 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
27 | #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
28 | #define __GCC_IEC_559 2
29 | #define __FLT32X_DECIMAL_DIG__ 17
30 | #define __FLT_EVAL_METHOD__ 0
31 | #define __cpp_binary_literals 201304
32 | #define __FLT64_DECIMAL_DIG__ 17
33 | #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
34 | #define __x86_64 1
35 | #define __cpp_variadic_templates 200704
36 | #define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
37 | #define __SIG_ATOMIC_TYPE__ int
38 | #define __DBL_MIN_10_EXP__ (-307)
39 | #define __FINITE_MATH_ONLY__ 0
40 | #define __GNUC_PATCHLEVEL__ 0
41 | #define __FLT32_HAS_DENORM__ 1
42 | #define __UINT_FAST8_MAX__ 0xff
43 | #define __has_include(STR) __has_include__(STR)
44 | #define _stdcall __attribute__((__stdcall__))
45 | #define __DEC64_MAX_EXP__ 385
46 | #define __INT8_C(c) c
47 | #define __INT_LEAST8_WIDTH__ 8
48 | #define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
49 | #define __SHRT_MAX__ 0x7fff
50 | #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
51 | #define __FLT64X_MAX_10_EXP__ 4932
52 | #define __UINT_LEAST8_MAX__ 0xff
53 | #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
54 | #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
55 | #define __UINTMAX_TYPE__ long long unsigned int
56 | #define __DEC32_EPSILON__ 1E-6DF
57 | #define __FLT_EVAL_METHOD_TS_18661_3__ 0
58 | #define __UINT32_MAX__ 0xffffffffU
59 | #define __GXX_EXPERIMENTAL_CXX0X__ 1
60 | #define __LDBL_MAX_EXP__ 16384
61 | #define __FLT128_MIN_EXP__ (-16381)
62 | #define __WINT_MIN__ 0
63 | #define __FLT128_MIN_10_EXP__ (-4931)
64 | #define __INT_LEAST16_WIDTH__ 16
65 | #define __SCHAR_MAX__ 0x7f
66 | #define __FLT128_MANT_DIG__ 113
67 | #define __WCHAR_MIN__ 0
68 | #define __INT64_C(c) c ## LL
69 | #define __DBL_DIG__ 15
70 | #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
71 | #define __FLT64X_MANT_DIG__ 64
72 | #define __SIZEOF_INT__ 4
73 | #define __SIZEOF_POINTER__ 8
74 | #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
75 | #define __USER_LABEL_PREFIX__
76 | #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
77 | #define __STDC_HOSTED__ 1
78 | #define __WIN32 1
79 | #define __LDBL_HAS_INFINITY__ 1
80 | #define __WIN64 1
81 | #define __FLT32_DIG__ 6
82 | #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
83 | #define __GXX_WEAK__ 1
84 | #define __SHRT_WIDTH__ 16
85 | #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
86 | #define __DEC32_MAX__ 9.999999E96DF
87 | #define __cpp_threadsafe_static_init 200806
88 | #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
89 | #define __MINGW32__ 1
90 | #define __FLT32X_HAS_INFINITY__ 1
91 | #define __INT32_MAX__ 0x7fffffff
92 | #define __INT_WIDTH__ 32
93 | #define __SIZEOF_LONG__ 4
94 | #define __UINT16_C(c) c
95 | #define __PTRDIFF_WIDTH__ 64
96 | #define __DECIMAL_DIG__ 21
97 | #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
98 | #define __INTMAX_WIDTH__ 64
99 | #define __FLT64_MIN_EXP__ (-1021)
100 | #define __has_include_next(STR) __has_include_next__(STR)
101 | #define __FLT64X_MIN_10_EXP__ (-4931)
102 | #define __LDBL_HAS_QUIET_NAN__ 1
103 | #define __FLT64_MANT_DIG__ 53
104 | #define _REENTRANT 1
105 | #define __GNUC__ 7
106 | #define _cdecl __attribute__((__cdecl__))
107 | #define __GXX_RTTI 1
108 | #define __MMX__ 1
109 | #define __cpp_delegating_constructors 200604
110 | #define __FLT_HAS_DENORM__ 1
111 | #define __SIZEOF_LONG_DOUBLE__ 16
112 | #define __BIGGEST_ALIGNMENT__ 16
113 | #define __STDC_UTF_16__ 1
114 | #define __FLT64_MAX_10_EXP__ 308
115 | #define __FLT32_HAS_INFINITY__ 1
116 | #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
117 | #define _thiscall __attribute__((__thiscall__))
118 | #define __cpp_raw_strings 200710
119 | #define __INT_FAST32_MAX__ 0x7fffffff
120 | #define __WINNT 1
121 | #define __DBL_HAS_INFINITY__ 1
122 | #define __INT64_MAX__ 0x7fffffffffffffffLL
123 | #define __WINNT__ 1
124 | #define __DEC32_MIN_EXP__ (-94)
125 | #define __INTPTR_WIDTH__ 64
126 | #define __FLT32X_HAS_DENORM__ 1
127 | #define __INT_FAST16_TYPE__ short int
128 | #define _fastcall __attribute__((__fastcall__))
129 | #define __LDBL_HAS_DENORM__ 1
130 | #define __cplusplus 201103L
131 | #define __cpp_ref_qualifiers 200710
132 | #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
133 | #define __INT_LEAST32_MAX__ 0x7fffffff
134 | #define __DEC32_MIN__ 1E-95DF
135 | #define __DEPRECATED 1
136 | #define __cpp_rvalue_references 200610
137 | #define __DBL_MAX_EXP__ 1024
138 | #define __WCHAR_WIDTH__ 16
139 | #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
140 | #define __DEC128_EPSILON__ 1E-33DL
141 | #define __SSE2_MATH__ 1
142 | #define __ATOMIC_HLE_RELEASE 131072
143 | #define __WIN32__ 1
144 | #define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
145 | #define __amd64 1
146 | #define __tune_core2__ 1
147 | #define __ATOMIC_HLE_ACQUIRE 65536
148 | #define __FLT32_HAS_QUIET_NAN__ 1
149 | #define __GNUG__ 7
150 | #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
151 | #define __SIZEOF_SIZE_T__ 8
152 | #define __cpp_rvalue_reference 200610
153 | #define __cpp_nsdmi 200809
154 | #define __FLT64X_MIN_EXP__ (-16381)
155 | #define __SIZEOF_WINT_T__ 2
156 | #define __LONG_LONG_WIDTH__ 64
157 | #define __cpp_initializer_lists 200806
158 | #define __FLT32_MAX_EXP__ 128
159 | #define __cpp_hex_float 201603
160 | #define __GCC_HAVE_DWARF2_CFI_ASM 1
161 | #define __GXX_ABI_VERSION 1011
162 | #define __FLT128_HAS_INFINITY__ 1
163 | #define __FLT_MIN_EXP__ (-125)
164 | #define __cpp_lambdas 200907
165 | #define __FLT64X_HAS_QUIET_NAN__ 1
166 | #define __INT_FAST64_TYPE__ long long int
167 | #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
168 | #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
169 | #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
170 | #define __DECIMAL_BID_FORMAT__ 1
171 | #define __GXX_TYPEINFO_EQUALITY_INLINE 0
172 | #define __FLT64_MIN_10_EXP__ (-307)
173 | #define __FLT64X_DECIMAL_DIG__ 21
174 | #define __DEC128_MIN__ 1E-6143DL
175 | #define __REGISTER_PREFIX__
176 | #define __UINT16_MAX__ 0xffff
177 | #define __DBL_HAS_DENORM__ 1
178 | #define __cdecl __attribute__((__cdecl__))
179 | #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
180 | #define __UINT8_TYPE__ unsigned char
181 | #define __NO_INLINE__ 1
182 | #define __FLT_MANT_DIG__ 24
183 | #define __LDBL_DECIMAL_DIG__ 21
184 | #define __VERSION__ "7.3.0"
185 | #define __UINT64_C(c) c ## ULL
186 | #define __cpp_unicode_characters 200704
187 | #define __GCC_ATOMIC_INT_LOCK_FREE 2
188 | #define __FLT128_MAX_EXP__ 16384
189 | #define __FLT32_MANT_DIG__ 24
190 | #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
191 | #define __FLT128_HAS_DENORM__ 1
192 | #define __FLT128_DIG__ 33
193 | #define __SCHAR_WIDTH__ 8
194 | #define __INT32_C(c) c
195 | #define __DEC64_EPSILON__ 1E-15DD
196 | #define __ORDER_PDP_ENDIAN__ 3412
197 | #define __DEC128_MIN_EXP__ (-6142)
198 | #define __FLT32_MAX_10_EXP__ 38
199 | #define __INT_FAST32_TYPE__ int
200 | #define __UINT_LEAST16_TYPE__ short unsigned int
201 | #define __FLT64X_HAS_INFINITY__ 1
202 | #define __INT16_MAX__ 0x7fff
203 | #define __cpp_rtti 199711
204 | #define __SIZE_TYPE__ long long unsigned int
205 | #define __UINT64_MAX__ 0xffffffffffffffffULL
206 | #define __FLT64X_DIG__ 18
207 | #define __INT8_TYPE__ signed char
208 | #define __GCC_ASM_FLAG_OUTPUTS__ 1
209 | #define __FLT_RADIX__ 2
210 | #define __INT_LEAST16_TYPE__ short int
211 | #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
212 | #define __UINTMAX_C(c) c ## ULL
213 | #define __GLIBCXX_BITSIZE_INT_N_0 128
214 | #define __SEH__ 1
215 | #define __SIG_ATOMIC_MAX__ 0x7fffffff
216 | #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
217 | #define __SIZEOF_PTRDIFF_T__ 8
218 | #define __FLT32X_MANT_DIG__ 53
219 | #define __x86_64__ 1
220 | #define __FLT32X_MIN_EXP__ (-1021)
221 | #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
222 | #define __MSVCRT__ 1
223 | #define __INT_FAST16_MAX__ 0x7fff
224 | #define __FLT64_DIG__ 15
225 | #define __UINT_FAST32_MAX__ 0xffffffffU
226 | #define __UINT_LEAST64_TYPE__ long long unsigned int
227 | #define __FLT_HAS_QUIET_NAN__ 1
228 | #define __FLT_MAX_10_EXP__ 38
229 | #define __LONG_MAX__ 0x7fffffffL
230 | #define __FLT64X_HAS_DENORM__ 1
231 | #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
232 | #define __FLT_HAS_INFINITY__ 1
233 | #define __cpp_unicode_literals 200710
234 | #define __UINT_FAST16_TYPE__ short unsigned int
235 | #define __DEC64_MAX__ 9.999999999999999E384DD
236 | #define __INT_FAST32_WIDTH__ 32
237 | #define __CHAR16_TYPE__ short unsigned int
238 | #define __PRAGMA_REDEFINE_EXTNAME 1
239 | #define __SIZE_WIDTH__ 64
240 | #define __SEG_FS 1
241 | #define __INT_LEAST16_MAX__ 0x7fff
242 | #define __DEC64_MANT_DIG__ 16
243 | #define __UINT_LEAST32_MAX__ 0xffffffffU
244 | #define __SEG_GS 1
245 | #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
246 | #define __GCC_ATOMIC_LONG_LOCK_FREE 2
247 | #define __SIG_ATOMIC_WIDTH__ 32
248 | #define __INT_LEAST64_TYPE__ long long int
249 | #define __INT16_TYPE__ short int
250 | #define __INT_LEAST8_TYPE__ signed char
251 | #define __DEC32_MAX_EXP__ 97
252 | #define __INT_FAST8_MAX__ 0x7f
253 | #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
254 | #define __INTPTR_MAX__ 0x7fffffffffffffffLL
255 | #define __GXX_MERGED_TYPEINFO_NAMES 0
256 | #define __cpp_range_based_for 200907
257 | #define __FLT64_HAS_QUIET_NAN__ 1
258 | #define __stdcall __attribute__((__stdcall__))
259 | #define __FLT32_MIN_10_EXP__ (-37)
260 | #define __SSE2__ 1
261 | #define __EXCEPTIONS 1
262 | #define __LDBL_MANT_DIG__ 64
263 | #define __DBL_HAS_QUIET_NAN__ 1
264 | #define __FLT64_HAS_INFINITY__ 1
265 | #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
266 | #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
267 | #define __INTPTR_TYPE__ long long int
268 | #define __UINT16_TYPE__ short unsigned int
269 | #define __WCHAR_TYPE__ short unsigned int
270 | #define __SIZEOF_FLOAT__ 4
271 | #define __pic__ 1
272 | #define __UINTPTR_MAX__ 0xffffffffffffffffULL
273 | #define __INT_FAST64_WIDTH__ 64
274 | #define __DEC64_MIN_EXP__ (-382)
275 | #define __cpp_decltype 200707
276 | #define __FLT32_DECIMAL_DIG__ 9
277 | #define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
278 | #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
279 | #define __FLT_DIG__ 6
280 | #define __FLT64X_MAX_EXP__ 16384
281 | #define __UINT_FAST64_TYPE__ long long unsigned int
282 | #define __INT_MAX__ 0x7fffffff
283 | #define __amd64__ 1
284 | #define WIN32 1
285 | #define __nocona 1
286 | #define __code_model_medium__ 1
287 | #define __INT64_TYPE__ long long int
288 | #define __FLT_MAX_EXP__ 128
289 | #define WIN64 1
290 | #define __ORDER_BIG_ENDIAN__ 4321
291 | #define __DBL_MANT_DIG__ 53
292 | #define __cpp_inheriting_constructors 201511
293 | #define __SIZEOF_FLOAT128__ 16
294 | #define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
295 | #define __DEC64_MIN__ 1E-383DD
296 | #define __WINT_TYPE__ short unsigned int
297 | #define __UINT_LEAST32_TYPE__ unsigned int
298 | #define __SIZEOF_SHORT__ 2
299 | #define __SSE__ 1
300 | #define __LDBL_MIN_EXP__ (-16381)
301 | #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
302 | #define __WINT_WIDTH__ 16
303 | #define __INT_LEAST8_MAX__ 0x7f
304 | #define __FLT32X_MAX_10_EXP__ 308
305 | #define __SIZEOF_INT128__ 16
306 | #define __WCHAR_UNSIGNED__ 1
307 | #define __LDBL_MAX_10_EXP__ 4932
308 | #define __ATOMIC_RELAXED 0
309 | #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
310 | #define __thiscall __attribute__((__thiscall__))
311 | #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
312 | #define __UINT8_C(c) c
313 | #define __FLT64_MAX_EXP__ 1024
314 | #define __INT_LEAST32_TYPE__ int
315 | #define __SIZEOF_WCHAR_T__ 2
316 | #define __FLT128_HAS_QUIET_NAN__ 1
317 | #define __INT_FAST8_TYPE__ signed char
318 | #define __fastcall __attribute__((__fastcall__))
319 | #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
320 | #define __GNUC_STDC_INLINE__ 1
321 | #define __FLT64_HAS_DENORM__ 1
322 | #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
323 | #define __DBL_DECIMAL_DIG__ 17
324 | #define __STDC_UTF_32__ 1
325 | #define __INT_FAST8_WIDTH__ 8
326 | #define __FXSR__ 1
327 | #define __DEC_EVAL_METHOD__ 2
328 | #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
329 | #define __MINGW64__ 1
330 | #define __cpp_runtime_arrays 198712
331 | #define __UINT64_TYPE__ long long unsigned int
332 | #define __UINT32_C(c) c ## U
333 | #define __INTMAX_MAX__ 0x7fffffffffffffffLL
334 | #define __cpp_alias_templates 200704
335 | #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
336 | #define WINNT 1
337 | #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
338 | #define __INT8_MAX__ 0x7f
339 | #define __LONG_WIDTH__ 32
340 | #define __PIC__ 1
341 | #define __UINT_FAST32_TYPE__ unsigned int
342 | #define __CHAR32_TYPE__ unsigned int
343 | #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
344 | #define __cpp_constexpr 200704
345 | #define __INT32_TYPE__ int
346 | #define __SIZEOF_DOUBLE__ 8
347 | #define __cpp_exceptions 199711
348 | #define __FLT_MIN_10_EXP__ (-37)
349 | #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
350 | #define __INT_LEAST32_WIDTH__ 32
351 | #define __INTMAX_TYPE__ long long int
352 | #define _INTEGRAL_MAX_BITS 64
353 | #define __DEC128_MAX_EXP__ 6145
354 | #define __FLT32X_HAS_QUIET_NAN__ 1
355 | #define __ATOMIC_CONSUME 1
356 | #define __nocona__ 1
357 | #define __GNUC_MINOR__ 3
358 | #define __GLIBCXX_TYPE_INT_N_0 __int128
359 | #define __INT_FAST16_WIDTH__ 16
360 | #define __UINTMAX_MAX__ 0xffffffffffffffffULL
361 | #define __DEC32_MANT_DIG__ 7
362 | #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
363 | #define __DBL_MAX_10_EXP__ 308
364 | #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
365 | #define __INT16_C(c) c
366 | #define __STDC__ 1
367 | #define __FLT32X_DIG__ 15
368 | #define __PTRDIFF_TYPE__ long long int
369 | #define __ATOMIC_SEQ_CST 5
370 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
371 | #define __UINT32_TYPE__ unsigned int
372 | #define __FLT32X_MIN_10_EXP__ (-307)
373 | #define __UINTPTR_TYPE__ long long unsigned int
374 | #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
375 | #define __DEC128_MANT_DIG__ 34
376 | #define __LDBL_MIN_10_EXP__ (-4931)
377 | #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
378 | #define __SSE_MATH__ 1
379 | #define __SIZEOF_LONG_LONG__ 8
380 | #define __cpp_user_defined_literals 200809
381 | #define __FLT128_DECIMAL_DIG__ 36
382 | #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
383 | #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
384 | #define __LDBL_DIG__ 18
385 | #define __FLT_DECIMAL_DIG__ 9
386 | #define __UINT_FAST16_MAX__ 0xffff
387 | #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
388 | #define __INT_LEAST64_WIDTH__ 64
389 | #define __SSE3__ 1
390 | #define __UINT_FAST8_TYPE__ unsigned char
391 | #define __WIN64__ 1
392 | #define __ATOMIC_ACQ_REL 4
393 | #define __ATOMIC_RELEASE 3
394 | #define __declspec(x) __attribute__((x))
395 |
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o
--------------------------------------------------------------------------------
/02_StaticGraph/build-02_StaticGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/ui_mainwindow.h:
--------------------------------------------------------------------------------
1 | /********************************************************************************
2 | ** Form generated from reading UI file 'mainwindow.ui'
3 | **
4 | ** Created by: Qt User Interface Compiler version 5.12.9
5 | **
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 | ********************************************************************************/
8 |
9 | #ifndef UI_MAINWINDOW_H
10 | #define UI_MAINWINDOW_H
11 |
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include "qcustomplot.h"
20 |
21 | QT_BEGIN_NAMESPACE
22 |
23 | class Ui_MainWindow
24 | {
25 | public:
26 | QWidget *centralwidget;
27 | QGridLayout *gridLayout;
28 | QCustomPlot *widget_1;
29 | QCustomPlot *widget_2;
30 | QCustomPlot *widget_3;
31 | QCustomPlot *widget_4;
32 | QMenuBar *menubar;
33 | QStatusBar *statusbar;
34 |
35 | void setupUi(QMainWindow *MainWindow)
36 | {
37 | if (MainWindow->objectName().isEmpty())
38 | MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
39 | MainWindow->resize(800, 600);
40 | centralwidget = new QWidget(MainWindow);
41 | centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
42 | gridLayout = new QGridLayout(centralwidget);
43 | gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
44 | widget_1 = new QCustomPlot(centralwidget);
45 | widget_1->setObjectName(QString::fromUtf8("widget_1"));
46 |
47 | gridLayout->addWidget(widget_1, 0, 0, 1, 1);
48 |
49 | widget_2 = new QCustomPlot(centralwidget);
50 | widget_2->setObjectName(QString::fromUtf8("widget_2"));
51 |
52 | gridLayout->addWidget(widget_2, 0, 1, 1, 1);
53 |
54 | widget_3 = new QCustomPlot(centralwidget);
55 | widget_3->setObjectName(QString::fromUtf8("widget_3"));
56 |
57 | gridLayout->addWidget(widget_3, 1, 0, 1, 1);
58 |
59 | widget_4 = new QCustomPlot(centralwidget);
60 | widget_4->setObjectName(QString::fromUtf8("widget_4"));
61 |
62 | gridLayout->addWidget(widget_4, 1, 1, 1, 1);
63 |
64 | MainWindow->setCentralWidget(centralwidget);
65 | menubar = new QMenuBar(MainWindow);
66 | menubar->setObjectName(QString::fromUtf8("menubar"));
67 | menubar->setGeometry(QRect(0, 0, 800, 23));
68 | MainWindow->setMenuBar(menubar);
69 | statusbar = new QStatusBar(MainWindow);
70 | statusbar->setObjectName(QString::fromUtf8("statusbar"));
71 | MainWindow->setStatusBar(statusbar);
72 |
73 | retranslateUi(MainWindow);
74 |
75 | QMetaObject::connectSlotsByName(MainWindow);
76 | } // setupUi
77 |
78 | void retranslateUi(QMainWindow *MainWindow)
79 | {
80 | MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
81 | } // retranslateUi
82 |
83 | };
84 |
85 | namespace Ui {
86 | class MainWindow: public Ui_MainWindow {};
87 | } // namespace Ui
88 |
89 | QT_END_NAMESPACE
90 |
91 | #endif // UI_MAINWINDOW_H
92 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/03_DynamicGraph.pro:
--------------------------------------------------------------------------------
1 | QT += core gui
2 |
3 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
4 |
5 | CONFIG += c++11
6 |
7 | # The following define makes your compiler emit warnings if you use
8 | # any Qt feature that has been marked deprecated (the exact warnings
9 | # depend on your compiler). Please consult the documentation of the
10 | # deprecated API in order to know how to port your code away from it.
11 | DEFINES += QT_DEPRECATED_WARNINGS
12 |
13 | # You can also make your code fail to compile if it uses deprecated APIs.
14 | # In order to do so, uncomment the following line.
15 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
16 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
17 |
18 | SOURCES += \
19 | main.cpp \
20 | mainwindow.cpp \
21 | qcustomplot.cpp
22 |
23 | HEADERS += \
24 | mainwindow.h \
25 | qcustomplot.h
26 |
27 | FORMS += \
28 | mainwindow.ui
29 |
30 | # Default rules for deployment.
31 | qnx: target.path = /tmp/$${TARGET}/bin
32 | else: unix:!android: target.path = /opt/$${TARGET}/bin
33 | !isEmpty(target.path): INSTALLS += target
34 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/03_DynamicGraph.pro.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | EnvironmentId
7 | {a0493980-663c-4399-bed9-6237f8a1eee5}
8 |
9 |
10 | ProjectExplorer.Project.ActiveTarget
11 | 0
12 |
13 |
14 | ProjectExplorer.Project.EditorSettings
15 |
16 | true
17 | false
18 | true
19 |
20 | Cpp
21 |
22 | CppGlobal
23 |
24 |
25 |
26 | QmlJS
27 |
28 | QmlJSGlobal
29 |
30 |
31 | 2
32 | UTF-8
33 | false
34 | 4
35 | false
36 | 80
37 | true
38 | true
39 | 1
40 | true
41 | false
42 | 0
43 | true
44 | true
45 | 0
46 | 8
47 | true
48 | 1
49 | true
50 | true
51 | true
52 | false
53 |
54 |
55 |
56 | ProjectExplorer.Project.PluginSettings
57 |
58 |
59 | true
60 | Builtin.DefaultTidyAndClazy
61 | 2
62 |
63 |
64 |
65 | true
66 |
67 |
68 |
69 |
70 | ProjectExplorer.Project.Target.0
71 |
72 | Desktop Qt 5.12.9 MinGW 64-bit
73 | Desktop Qt 5.12.9 MinGW 64-bit
74 | qt.qt5.5129.win64_mingw73_kit
75 | 0
76 | 0
77 | 0
78 |
79 | true
80 | 0
81 | D:\Qt\Qt_Code\QCustomPlot_Prj\03_DynamicGraph\build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
82 | D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
83 |
84 |
85 | true
86 | QtProjectManager.QMakeBuildStep
87 |
88 | false
89 |
90 |
91 |
92 | true
93 | Qt4ProjectManager.MakeStep
94 |
95 | false
96 |
97 |
98 | false
99 |
100 | 2
101 | Build
102 | Build
103 | ProjectExplorer.BuildSteps.Build
104 |
105 |
106 |
107 | true
108 | Qt4ProjectManager.MakeStep
109 |
110 | true
111 | clean
112 |
113 | false
114 |
115 | 1
116 | Clean
117 | Clean
118 | ProjectExplorer.BuildSteps.Clean
119 |
120 | 2
121 | false
122 |
123 | Debug
124 | Qt4ProjectManager.Qt4BuildConfiguration
125 | 2
126 | 2
127 | 2
128 |
129 |
130 | true
131 | 2
132 | D:\Qt\Qt_Code\QCustomPlot_Prj\03_DynamicGraph\build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Release
133 | D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Release
134 |
135 |
136 | true
137 | QtProjectManager.QMakeBuildStep
138 |
139 | false
140 |
141 |
142 |
143 | true
144 | Qt4ProjectManager.MakeStep
145 |
146 | false
147 |
148 |
149 | false
150 |
151 | 2
152 | Build
153 | Build
154 | ProjectExplorer.BuildSteps.Build
155 |
156 |
157 |
158 | true
159 | Qt4ProjectManager.MakeStep
160 |
161 | true
162 | clean
163 |
164 | false
165 |
166 | 1
167 | Clean
168 | Clean
169 | ProjectExplorer.BuildSteps.Clean
170 |
171 | 2
172 | false
173 |
174 | Release
175 | Qt4ProjectManager.Qt4BuildConfiguration
176 | 0
177 | 0
178 | 2
179 |
180 |
181 | true
182 | 0
183 | D:\Qt\Qt_Code\QCustomPlot_Prj\03_DynamicGraph\build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
184 | D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Profile
185 |
186 |
187 | true
188 | QtProjectManager.QMakeBuildStep
189 |
190 | false
191 |
192 |
193 |
194 | true
195 | Qt4ProjectManager.MakeStep
196 |
197 | false
198 |
199 |
200 | false
201 |
202 | 2
203 | Build
204 | Build
205 | ProjectExplorer.BuildSteps.Build
206 |
207 |
208 |
209 | true
210 | Qt4ProjectManager.MakeStep
211 |
212 | true
213 | clean
214 |
215 | false
216 |
217 | 1
218 | Clean
219 | Clean
220 | ProjectExplorer.BuildSteps.Clean
221 |
222 | 2
223 | false
224 |
225 | Profile
226 | Qt4ProjectManager.Qt4BuildConfiguration
227 | 0
228 | 0
229 | 0
230 |
231 | 3
232 |
233 |
234 | 0
235 | Deploy
236 | Deploy
237 | ProjectExplorer.BuildSteps.Deploy
238 |
239 | 1
240 |
241 | false
242 | ProjectExplorer.DefaultDeployConfiguration
243 |
244 | 1
245 |
246 |
247 | dwarf
248 |
249 | cpu-cycles
250 |
251 |
252 | 250
253 |
254 | -e
255 | cpu-cycles
256 | --call-graph
257 | dwarf,4096
258 | -F
259 | 250
260 |
261 | -F
262 | true
263 | 4096
264 | false
265 | false
266 | 1000
267 |
268 | true
269 |
270 | false
271 | false
272 | false
273 | false
274 | true
275 | 0.01
276 | 10
277 | true
278 | kcachegrind
279 | 1
280 | 25
281 |
282 | 1
283 | true
284 | false
285 | true
286 | valgrind
287 |
288 | 0
289 | 1
290 | 2
291 | 3
292 | 4
293 | 5
294 | 6
295 | 7
296 | 8
297 | 9
298 | 10
299 | 11
300 | 12
301 | 13
302 | 14
303 |
304 | 2
305 |
306 | Qt4ProjectManager.Qt4RunConfiguration:D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/03_DynamicGraph/03_DynamicGraph.pro
307 | D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/03_DynamicGraph/03_DynamicGraph.pro
308 |
309 | false
310 |
311 | false
312 | true
313 | true
314 | false
315 | false
316 | true
317 |
318 | D:/Qt/Qt_Code/QCustomPlot_Prj/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug
319 |
320 | 1
321 |
322 |
323 |
324 | ProjectExplorer.Project.TargetCount
325 | 1
326 |
327 |
328 | ProjectExplorer.Project.Updater.FileVersion
329 | 22
330 |
331 |
332 | Version
333 | 22
334 |
335 |
336 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/main.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 |
3 | #include
4 |
5 | int main(int argc, char *argv[])
6 | {
7 | QApplication a(argc, argv);
8 | MainWindow w;
9 | w.show();
10 | return a.exec();
11 | }
12 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/mainwindow.cpp:
--------------------------------------------------------------------------------
1 | #include "mainwindow.h"
2 | #include "ui_mainwindow.h"
3 |
4 | MainWindow::MainWindow(QWidget *parent)
5 | : QMainWindow(parent)
6 | , ui(new Ui::MainWindow)
7 | {
8 | ui->setupUi(this);
9 |
10 | // 给widget绘图控件,设置个别名,方便书写
11 | pPlot1 = ui->widget_1;
12 |
13 | // 状态栏指针
14 | sBar = statusBar();
15 |
16 | // 初始化图表1
17 | QPlot_init(pPlot1);
18 | }
19 |
20 | MainWindow::~MainWindow()
21 | {
22 | delete ui;
23 | }
24 |
25 | // 绘图图表初始化
26 | void MainWindow::QPlot_init(QCustomPlot *customPlot)
27 | {
28 |
29 | // 创建定时器,用于定时生成曲线坐标点数据
30 | QTimer *timer = new QTimer(this);
31 | timer->start(10);
32 | connect(timer,SIGNAL(timeout()),this,SLOT(TimeData_Update()));
33 |
34 | // 图表添加两条曲线
35 | pGraph1_1 = customPlot->addGraph();
36 | pGraph1_2 = customPlot->addGraph();
37 |
38 | // 设置曲线颜色
39 | pGraph1_1->setPen(QPen(Qt::red));
40 | pGraph1_2->setPen(QPen(Qt::black));
41 |
42 | // 设置坐标轴名称
43 | customPlot->xAxis->setLabel("X");
44 | customPlot->yAxis->setLabel("Y");
45 |
46 | // 设置y坐标轴显示范围
47 | customPlot->yAxis->setRange(-120,120);
48 |
49 | // 显示图表的图例
50 | customPlot->legend->setVisible(true);
51 | // 添加曲线名称
52 | pGraph1_1->setName("波形1");
53 | pGraph1_2->setName("波形2");
54 |
55 | // 设置波形曲线的复选框字体颜色
56 | ui->checkBox_1->setStyleSheet("QCheckBox{color:rgb(255,0,0)}");//设定前景颜色,就是字体颜色
57 |
58 | // 允许用户用鼠标拖动轴范围,用鼠标滚轮缩放,点击选择图形:
59 | customPlot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom | QCP::iSelectPlottables);
60 | }
61 |
62 | // 定时器溢出处理槽函数。用来生成曲线的坐标数据。
63 | void MainWindow::TimeData_Update(void)
64 | {
65 | // 生成坐标数据
66 | static float f;
67 | f += 0.01;
68 | //qDebug() << sin(f)*100;
69 | // 将坐标数据,传递给曲线
70 | Show_Plot(pPlot1, sin(f)*100);
71 | }
72 |
73 | // 曲线更新绘图
74 | void MainWindow::Show_Plot(QCustomPlot *customPlot, double num)
75 | {
76 | static double cnt;
77 |
78 | cnt++;
79 | // 给曲线添加数据
80 | pGraph1_1->addData(cnt, num);
81 | pGraph1_2->addData(cnt, num*-1);
82 |
83 | // 设置x坐标轴显示范围,使其自适应缩放x轴,x轴最大显示1000个点
84 | customPlot->xAxis->setRange((pGraph1_1->dataCount()>1000)?(pGraph1_1->dataCount()-1000):0, pGraph1_1->dataCount());
85 | // 更新绘图,这种方式在高填充下太浪费资源。有另一种方式rpQueuedReplot,可避免重复绘图。
86 | // 最好的方法还是将数据填充、和更新绘图分隔开。将更新绘图单独用定时器更新。例程数据量较少没用单独定时器更新,实际工程中建议大家加上。
87 | //customPlot->replot();
88 | customPlot->replot(QCustomPlot::rpQueuedReplot);
89 |
90 | static QTime time(QTime::currentTime());
91 | double key = time.elapsed()/1000.0; // 开始到现在的时间,单位秒
92 | ////计算帧数
93 | static double lastFpsKey;
94 | static int frameCount;
95 | ++frameCount;
96 | if (key-lastFpsKey > 1) // 每1秒求一次平均值
97 | {
98 | //状态栏显示帧数和数据总数
99 | ui->statusbar->showMessage(
100 | QString("%1 FPS, Total Data points: %2")
101 | .arg(frameCount/(key-lastFpsKey), 0, 'f', 0)
102 | .arg(customPlot->graph(0)->data()->size()+customPlot->graph(1)->data()->size())
103 | , 0);
104 | lastFpsKey = key;
105 | frameCount = 0;
106 | }
107 |
108 | }
109 |
110 |
111 | /// 隐藏曲线有两种方法:1.设置为透明色,但也会影响图例中的颜色 2.设置可见性属性
112 | // 1. setPen设置为透明色的方法,隐藏曲线,但也会影响图例中的颜色。不建议使用。
113 | void MainWindow::on_checkBox_1_stateChanged(int arg1)
114 | {
115 | if(arg1){
116 | // 显示
117 | pGraph1_1->setPen(QPen(Qt::red));
118 | }else{
119 | // 不显示,透明色
120 | pGraph1_1->setPen(QColor(0,0,0,0));
121 | }
122 | pPlot1->replot();
123 | }
124 |
125 | // 2. setVisible设置可见性属性,隐藏曲线,不会对图例有任何影响。推荐使用。
126 | void MainWindow::on_checkBox_2_stateChanged(int arg1)
127 | {
128 | if(arg1){
129 | pGraph1_2->setVisible(true);
130 | }else{
131 | pGraph1_2->setVisible(false);//void QCPLayerable::setVisible(bool on)
132 | }
133 | pPlot1->replot();
134 | }
135 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/mainwindow.h:
--------------------------------------------------------------------------------
1 | #ifndef MAINWINDOW_H
2 | #define MAINWINDOW_H
3 |
4 | #include
5 | #include "qcustomplot.h"
6 |
7 | QT_BEGIN_NAMESPACE
8 | namespace Ui { class MainWindow; }
9 | QT_END_NAMESPACE
10 |
11 | class MainWindow : public QMainWindow
12 | {
13 | Q_OBJECT
14 |
15 | public:
16 | MainWindow(QWidget *parent = nullptr);
17 | ~MainWindow();
18 |
19 | public slots:
20 | void TimeData_Update(void);
21 |
22 | private slots:
23 | void on_checkBox_1_stateChanged(int arg1);
24 |
25 | void on_checkBox_2_stateChanged(int arg1);
26 |
27 | private:
28 | Ui::MainWindow *ui;
29 |
30 | // 绘图控件的指针
31 | QCustomPlot *pPlot1;
32 | // 状态栏指针
33 | QStatusBar *sBar;
34 | // 绘图控件中曲线的指针
35 | QCPGraph *pGraph1_1;
36 | QCPGraph *pGraph1_2;
37 |
38 | void QPlot_init(QCustomPlot *customPlot);
39 | void Show_Plot(QCustomPlot *customPlot, double num);
40 | };
41 | #endif // MAINWINDOW_H
42 |
--------------------------------------------------------------------------------
/03_DynamicGraph/03_DynamicGraph/mainwindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | MainWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 520
10 | 360
11 |
12 |
13 |
14 | MainWindow
15 |
16 |
17 |
18 | -
19 |
20 |
21 | -
22 |
23 |
24 |
25 | 70
26 | 2000
27 |
28 |
29 |
30 |
-
31 |
32 |
33 | true
34 |
35 |
36 | 波形1
37 |
38 |
39 | true
40 |
41 |
42 |
43 | -
44 |
45 |
46 | Qt::Vertical
47 |
48 |
49 | QSizePolicy::Fixed
50 |
51 |
52 |
53 | 20
54 | 10
55 |
56 |
57 |
58 |
59 | -
60 |
61 |
62 | 波形2
63 |
64 |
65 | true
66 |
67 |
68 |
69 | -
70 |
71 |
72 | Qt::Vertical
73 |
74 |
75 |
76 | 20
77 | 40
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
97 |
98 |
99 |
100 |
101 | QCustomPlot
102 | QWidget
103 |
104 | 1
105 |
106 |
107 |
108 |
109 |
110 |
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/.qmake.stash:
--------------------------------------------------------------------------------
1 | QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
2 | QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 7
3 | QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
4 | QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
5 | QMAKE_CXX.COMPILER_MACROS = \
6 | QT_COMPILER_STDCXX \
7 | QMAKE_GCC_MAJOR_VERSION \
8 | QMAKE_GCC_MINOR_VERSION \
9 | QMAKE_GCC_PATCH_VERSION
10 | QMAKE_CXX.INCDIRS = \
11 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ \
12 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 \
13 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward \
14 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include \
15 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed \
16 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/include
17 | QMAKE_CXX.LIBDIRS = \
18 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0 \
19 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib/gcc \
20 | D:/Qt/Qt5.12.9/Tools/mingw730_64/x86_64-w64-mingw32/lib \
21 | D:/Qt/Qt5.12.9/Tools/mingw730_64/lib
22 |
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/03_DynamicGraph.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/03_DynamicGraph.exe
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/main.o
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/mainwindow.o
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.cpp:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | ** Meta object code from reading C++ file 'mainwindow.h'
3 | **
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.9)
5 | **
6 | ** WARNING! All changes made in this file will be lost!
7 | *****************************************************************************/
8 |
9 | #include "../../03_DynamicGraph/mainwindow.h"
10 | #include
11 | #include
12 | #if !defined(Q_MOC_OUTPUT_REVISION)
13 | #error "The header file 'mainwindow.h' doesn't include ."
14 | #elif Q_MOC_OUTPUT_REVISION != 67
15 | #error "This file was generated using the moc from 5.12.9. It"
16 | #error "cannot be used with the include files from this version of Qt."
17 | #error "(The moc has changed too much.)"
18 | #endif
19 |
20 | QT_BEGIN_MOC_NAMESPACE
21 | QT_WARNING_PUSH
22 | QT_WARNING_DISABLE_DEPRECATED
23 | struct qt_meta_stringdata_MainWindow_t {
24 | QByteArrayData data[6];
25 | char stringdata0[87];
26 | };
27 | #define QT_MOC_LITERAL(idx, ofs, len) \
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29 | qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
30 | - idx * sizeof(QByteArrayData)) \
31 | )
32 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
33 | {
34 | QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
35 | QT_MOC_LITERAL(1, 11, 15), // "TimeData_Update"
36 | QT_MOC_LITERAL(2, 27, 0), // ""
37 | QT_MOC_LITERAL(3, 28, 26), // "on_checkBox_1_stateChanged"
38 | QT_MOC_LITERAL(4, 55, 4), // "arg1"
39 | QT_MOC_LITERAL(5, 60, 26) // "on_checkBox_2_stateChanged"
40 |
41 | },
42 | "MainWindow\0TimeData_Update\0\0"
43 | "on_checkBox_1_stateChanged\0arg1\0"
44 | "on_checkBox_2_stateChanged"
45 | };
46 | #undef QT_MOC_LITERAL
47 |
48 | static const uint qt_meta_data_MainWindow[] = {
49 |
50 | // content:
51 | 8, // revision
52 | 0, // classname
53 | 0, 0, // classinfo
54 | 3, 14, // methods
55 | 0, 0, // properties
56 | 0, 0, // enums/sets
57 | 0, 0, // constructors
58 | 0, // flags
59 | 0, // signalCount
60 |
61 | // slots: name, argc, parameters, tag, flags
62 | 1, 0, 29, 2, 0x0a /* Public */,
63 | 3, 1, 30, 2, 0x08 /* Private */,
64 | 5, 1, 33, 2, 0x08 /* Private */,
65 |
66 | // slots: parameters
67 | QMetaType::Void,
68 | QMetaType::Void, QMetaType::Int, 4,
69 | QMetaType::Void, QMetaType::Int, 4,
70 |
71 | 0 // eod
72 | };
73 |
74 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75 | {
76 | if (_c == QMetaObject::InvokeMetaMethod) {
77 | auto *_t = static_cast(_o);
78 | Q_UNUSED(_t)
79 | switch (_id) {
80 | case 0: _t->TimeData_Update(); break;
81 | case 1: _t->on_checkBox_1_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
82 | case 2: _t->on_checkBox_2_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
83 | default: ;
84 | }
85 | }
86 | }
87 |
88 | QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
89 | &QMainWindow::staticMetaObject,
90 | qt_meta_stringdata_MainWindow.data,
91 | qt_meta_data_MainWindow,
92 | qt_static_metacall,
93 | nullptr,
94 | nullptr
95 | } };
96 |
97 |
98 | const QMetaObject *MainWindow::metaObject() const
99 | {
100 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
101 | }
102 |
103 | void *MainWindow::qt_metacast(const char *_clname)
104 | {
105 | if (!_clname) return nullptr;
106 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
107 | return static_cast(this);
108 | return QMainWindow::qt_metacast(_clname);
109 | }
110 |
111 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
112 | {
113 | _id = QMainWindow::qt_metacall(_c, _id, _a);
114 | if (_id < 0)
115 | return _id;
116 | if (_c == QMetaObject::InvokeMetaMethod) {
117 | if (_id < 3)
118 | qt_static_metacall(this, _c, _id, _a);
119 | _id -= 3;
120 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
121 | if (_id < 3)
122 | *reinterpret_cast(_a[0]) = -1;
123 | _id -= 3;
124 | }
125 | return _id;
126 | }
127 | QT_WARNING_POP
128 | QT_END_MOC_NAMESPACE
129 |
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_mainwindow.o
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_predefs.h:
--------------------------------------------------------------------------------
1 | #define __DBL_MIN_EXP__ (-1021)
2 | #define __FLT32X_MAX_EXP__ 1024
3 | #define __cpp_attributes 200809
4 | #define __UINT_LEAST16_MAX__ 0xffff
5 | #define __ATOMIC_ACQUIRE 2
6 | #define __FLT128_MAX_10_EXP__ 4932
7 | #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
8 | #define __GCC_IEC_559_COMPLEX 2
9 | #define __UINT_LEAST8_TYPE__ unsigned char
10 | #define __SIZEOF_FLOAT80__ 16
11 | #define _WIN32 1
12 | #define __INTMAX_C(c) c ## LL
13 | #define __CHAR_BIT__ 8
14 | #define __UINT8_MAX__ 0xff
15 | #define _WIN64 1
16 | #define __WINT_MAX__ 0xffff
17 | #define __FLT32_MIN_EXP__ (-125)
18 | #define __cpp_static_assert 200410
19 | #define __ORDER_LITTLE_ENDIAN__ 1234
20 | #define __SIZE_MAX__ 0xffffffffffffffffULL
21 | #define __WCHAR_MAX__ 0xffff
22 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
23 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
24 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
25 | #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L)
26 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
27 | #define __GCC_ATOMIC_CHAR_LOCK_FREE 2
28 | #define __GCC_IEC_559 2
29 | #define __FLT32X_DECIMAL_DIG__ 17
30 | #define __FLT_EVAL_METHOD__ 0
31 | #define __cpp_binary_literals 201304
32 | #define __FLT64_DECIMAL_DIG__ 17
33 | #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
34 | #define __x86_64 1
35 | #define __cpp_variadic_templates 200704
36 | #define __UINT_FAST64_MAX__ 0xffffffffffffffffULL
37 | #define __SIG_ATOMIC_TYPE__ int
38 | #define __DBL_MIN_10_EXP__ (-307)
39 | #define __FINITE_MATH_ONLY__ 0
40 | #define __GNUC_PATCHLEVEL__ 0
41 | #define __FLT32_HAS_DENORM__ 1
42 | #define __UINT_FAST8_MAX__ 0xff
43 | #define __has_include(STR) __has_include__(STR)
44 | #define _stdcall __attribute__((__stdcall__))
45 | #define __DEC64_MAX_EXP__ 385
46 | #define __INT8_C(c) c
47 | #define __INT_LEAST8_WIDTH__ 8
48 | #define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL
49 | #define __SHRT_MAX__ 0x7fff
50 | #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L
51 | #define __FLT64X_MAX_10_EXP__ 4932
52 | #define __UINT_LEAST8_MAX__ 0xff
53 | #define __GCC_ATOMIC_BOOL_LOCK_FREE 2
54 | #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128
55 | #define __UINTMAX_TYPE__ long long unsigned int
56 | #define __DEC32_EPSILON__ 1E-6DF
57 | #define __FLT_EVAL_METHOD_TS_18661_3__ 0
58 | #define __UINT32_MAX__ 0xffffffffU
59 | #define __GXX_EXPERIMENTAL_CXX0X__ 1
60 | #define __LDBL_MAX_EXP__ 16384
61 | #define __FLT128_MIN_EXP__ (-16381)
62 | #define __WINT_MIN__ 0
63 | #define __FLT128_MIN_10_EXP__ (-4931)
64 | #define __INT_LEAST16_WIDTH__ 16
65 | #define __SCHAR_MAX__ 0x7f
66 | #define __FLT128_MANT_DIG__ 113
67 | #define __WCHAR_MIN__ 0
68 | #define __INT64_C(c) c ## LL
69 | #define __DBL_DIG__ 15
70 | #define __GCC_ATOMIC_POINTER_LOCK_FREE 2
71 | #define __FLT64X_MANT_DIG__ 64
72 | #define __SIZEOF_INT__ 4
73 | #define __SIZEOF_POINTER__ 8
74 | #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
75 | #define __USER_LABEL_PREFIX__
76 | #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
77 | #define __STDC_HOSTED__ 1
78 | #define __WIN32 1
79 | #define __LDBL_HAS_INFINITY__ 1
80 | #define __WIN64 1
81 | #define __FLT32_DIG__ 6
82 | #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F
83 | #define __GXX_WEAK__ 1
84 | #define __SHRT_WIDTH__ 16
85 | #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L
86 | #define __DEC32_MAX__ 9.999999E96DF
87 | #define __cpp_threadsafe_static_init 200806
88 | #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x
89 | #define __MINGW32__ 1
90 | #define __FLT32X_HAS_INFINITY__ 1
91 | #define __INT32_MAX__ 0x7fffffff
92 | #define __INT_WIDTH__ 32
93 | #define __SIZEOF_LONG__ 4
94 | #define __UINT16_C(c) c
95 | #define __PTRDIFF_WIDTH__ 64
96 | #define __DECIMAL_DIG__ 21
97 | #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
98 | #define __INTMAX_WIDTH__ 64
99 | #define __FLT64_MIN_EXP__ (-1021)
100 | #define __has_include_next(STR) __has_include_next__(STR)
101 | #define __FLT64X_MIN_10_EXP__ (-4931)
102 | #define __LDBL_HAS_QUIET_NAN__ 1
103 | #define __FLT64_MANT_DIG__ 53
104 | #define _REENTRANT 1
105 | #define __GNUC__ 7
106 | #define _cdecl __attribute__((__cdecl__))
107 | #define __GXX_RTTI 1
108 | #define __MMX__ 1
109 | #define __cpp_delegating_constructors 200604
110 | #define __FLT_HAS_DENORM__ 1
111 | #define __SIZEOF_LONG_DOUBLE__ 16
112 | #define __BIGGEST_ALIGNMENT__ 16
113 | #define __STDC_UTF_16__ 1
114 | #define __FLT64_MAX_10_EXP__ 308
115 | #define __FLT32_HAS_INFINITY__ 1
116 | #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L)
117 | #define _thiscall __attribute__((__thiscall__))
118 | #define __cpp_raw_strings 200710
119 | #define __INT_FAST32_MAX__ 0x7fffffff
120 | #define __WINNT 1
121 | #define __DBL_HAS_INFINITY__ 1
122 | #define __INT64_MAX__ 0x7fffffffffffffffLL
123 | #define __WINNT__ 1
124 | #define __DEC32_MIN_EXP__ (-94)
125 | #define __INTPTR_WIDTH__ 64
126 | #define __FLT32X_HAS_DENORM__ 1
127 | #define __INT_FAST16_TYPE__ short int
128 | #define _fastcall __attribute__((__fastcall__))
129 | #define __LDBL_HAS_DENORM__ 1
130 | #define __cplusplus 201103L
131 | #define __cpp_ref_qualifiers 200710
132 | #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
133 | #define __INT_LEAST32_MAX__ 0x7fffffff
134 | #define __DEC32_MIN__ 1E-95DF
135 | #define __DEPRECATED 1
136 | #define __cpp_rvalue_references 200610
137 | #define __DBL_MAX_EXP__ 1024
138 | #define __WCHAR_WIDTH__ 16
139 | #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32
140 | #define __DEC128_EPSILON__ 1E-33DL
141 | #define __SSE2_MATH__ 1
142 | #define __ATOMIC_HLE_RELEASE 131072
143 | #define __WIN32__ 1
144 | #define __PTRDIFF_MAX__ 0x7fffffffffffffffLL
145 | #define __amd64 1
146 | #define __tune_core2__ 1
147 | #define __ATOMIC_HLE_ACQUIRE 65536
148 | #define __FLT32_HAS_QUIET_NAN__ 1
149 | #define __GNUG__ 7
150 | #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL
151 | #define __SIZEOF_SIZE_T__ 8
152 | #define __cpp_rvalue_reference 200610
153 | #define __cpp_nsdmi 200809
154 | #define __FLT64X_MIN_EXP__ (-16381)
155 | #define __SIZEOF_WINT_T__ 2
156 | #define __LONG_LONG_WIDTH__ 64
157 | #define __cpp_initializer_lists 200806
158 | #define __FLT32_MAX_EXP__ 128
159 | #define __cpp_hex_float 201603
160 | #define __GCC_HAVE_DWARF2_CFI_ASM 1
161 | #define __GXX_ABI_VERSION 1011
162 | #define __FLT128_HAS_INFINITY__ 1
163 | #define __FLT_MIN_EXP__ (-125)
164 | #define __cpp_lambdas 200907
165 | #define __FLT64X_HAS_QUIET_NAN__ 1
166 | #define __INT_FAST64_TYPE__ long long int
167 | #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
168 | #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L)
169 | #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x
170 | #define __DECIMAL_BID_FORMAT__ 1
171 | #define __GXX_TYPEINFO_EQUALITY_INLINE 0
172 | #define __FLT64_MIN_10_EXP__ (-307)
173 | #define __FLT64X_DECIMAL_DIG__ 21
174 | #define __DEC128_MIN__ 1E-6143DL
175 | #define __REGISTER_PREFIX__
176 | #define __UINT16_MAX__ 0xffff
177 | #define __DBL_HAS_DENORM__ 1
178 | #define __cdecl __attribute__((__cdecl__))
179 | #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32
180 | #define __UINT8_TYPE__ unsigned char
181 | #define __NO_INLINE__ 1
182 | #define __FLT_MANT_DIG__ 24
183 | #define __LDBL_DECIMAL_DIG__ 21
184 | #define __VERSION__ "7.3.0"
185 | #define __UINT64_C(c) c ## ULL
186 | #define __cpp_unicode_characters 200704
187 | #define __GCC_ATOMIC_INT_LOCK_FREE 2
188 | #define __FLT128_MAX_EXP__ 16384
189 | #define __FLT32_MANT_DIG__ 24
190 | #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
191 | #define __FLT128_HAS_DENORM__ 1
192 | #define __FLT128_DIG__ 33
193 | #define __SCHAR_WIDTH__ 8
194 | #define __INT32_C(c) c
195 | #define __DEC64_EPSILON__ 1E-15DD
196 | #define __ORDER_PDP_ENDIAN__ 3412
197 | #define __DEC128_MIN_EXP__ (-6142)
198 | #define __FLT32_MAX_10_EXP__ 38
199 | #define __INT_FAST32_TYPE__ int
200 | #define __UINT_LEAST16_TYPE__ short unsigned int
201 | #define __FLT64X_HAS_INFINITY__ 1
202 | #define __INT16_MAX__ 0x7fff
203 | #define __cpp_rtti 199711
204 | #define __SIZE_TYPE__ long long unsigned int
205 | #define __UINT64_MAX__ 0xffffffffffffffffULL
206 | #define __FLT64X_DIG__ 18
207 | #define __INT8_TYPE__ signed char
208 | #define __GCC_ASM_FLAG_OUTPUTS__ 1
209 | #define __FLT_RADIX__ 2
210 | #define __INT_LEAST16_TYPE__ short int
211 | #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L
212 | #define __UINTMAX_C(c) c ## ULL
213 | #define __GLIBCXX_BITSIZE_INT_N_0 128
214 | #define __SEH__ 1
215 | #define __SIG_ATOMIC_MAX__ 0x7fffffff
216 | #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
217 | #define __SIZEOF_PTRDIFF_T__ 8
218 | #define __FLT32X_MANT_DIG__ 53
219 | #define __x86_64__ 1
220 | #define __FLT32X_MIN_EXP__ (-1021)
221 | #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
222 | #define __MSVCRT__ 1
223 | #define __INT_FAST16_MAX__ 0x7fff
224 | #define __FLT64_DIG__ 15
225 | #define __UINT_FAST32_MAX__ 0xffffffffU
226 | #define __UINT_LEAST64_TYPE__ long long unsigned int
227 | #define __FLT_HAS_QUIET_NAN__ 1
228 | #define __FLT_MAX_10_EXP__ 38
229 | #define __LONG_MAX__ 0x7fffffffL
230 | #define __FLT64X_HAS_DENORM__ 1
231 | #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
232 | #define __FLT_HAS_INFINITY__ 1
233 | #define __cpp_unicode_literals 200710
234 | #define __UINT_FAST16_TYPE__ short unsigned int
235 | #define __DEC64_MAX__ 9.999999999999999E384DD
236 | #define __INT_FAST32_WIDTH__ 32
237 | #define __CHAR16_TYPE__ short unsigned int
238 | #define __PRAGMA_REDEFINE_EXTNAME 1
239 | #define __SIZE_WIDTH__ 64
240 | #define __SEG_FS 1
241 | #define __INT_LEAST16_MAX__ 0x7fff
242 | #define __DEC64_MANT_DIG__ 16
243 | #define __UINT_LEAST32_MAX__ 0xffffffffU
244 | #define __SEG_GS 1
245 | #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
246 | #define __GCC_ATOMIC_LONG_LOCK_FREE 2
247 | #define __SIG_ATOMIC_WIDTH__ 32
248 | #define __INT_LEAST64_TYPE__ long long int
249 | #define __INT16_TYPE__ short int
250 | #define __INT_LEAST8_TYPE__ signed char
251 | #define __DEC32_MAX_EXP__ 97
252 | #define __INT_FAST8_MAX__ 0x7f
253 | #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128
254 | #define __INTPTR_MAX__ 0x7fffffffffffffffLL
255 | #define __GXX_MERGED_TYPEINFO_NAMES 0
256 | #define __cpp_range_based_for 200907
257 | #define __FLT64_HAS_QUIET_NAN__ 1
258 | #define __stdcall __attribute__((__stdcall__))
259 | #define __FLT32_MIN_10_EXP__ (-37)
260 | #define __SSE2__ 1
261 | #define __EXCEPTIONS 1
262 | #define __LDBL_MANT_DIG__ 64
263 | #define __DBL_HAS_QUIET_NAN__ 1
264 | #define __FLT64_HAS_INFINITY__ 1
265 | #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
266 | #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
267 | #define __INTPTR_TYPE__ long long int
268 | #define __UINT16_TYPE__ short unsigned int
269 | #define __WCHAR_TYPE__ short unsigned int
270 | #define __SIZEOF_FLOAT__ 4
271 | #define __pic__ 1
272 | #define __UINTPTR_MAX__ 0xffffffffffffffffULL
273 | #define __INT_FAST64_WIDTH__ 64
274 | #define __DEC64_MIN_EXP__ (-382)
275 | #define __cpp_decltype 200707
276 | #define __FLT32_DECIMAL_DIG__ 9
277 | #define __INT_FAST64_MAX__ 0x7fffffffffffffffLL
278 | #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
279 | #define __FLT_DIG__ 6
280 | #define __FLT64X_MAX_EXP__ 16384
281 | #define __UINT_FAST64_TYPE__ long long unsigned int
282 | #define __INT_MAX__ 0x7fffffff
283 | #define __amd64__ 1
284 | #define WIN32 1
285 | #define __nocona 1
286 | #define __code_model_medium__ 1
287 | #define __INT64_TYPE__ long long int
288 | #define __FLT_MAX_EXP__ 128
289 | #define WIN64 1
290 | #define __ORDER_BIG_ENDIAN__ 4321
291 | #define __DBL_MANT_DIG__ 53
292 | #define __cpp_inheriting_constructors 201511
293 | #define __SIZEOF_FLOAT128__ 16
294 | #define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL
295 | #define __DEC64_MIN__ 1E-383DD
296 | #define __WINT_TYPE__ short unsigned int
297 | #define __UINT_LEAST32_TYPE__ unsigned int
298 | #define __SIZEOF_SHORT__ 2
299 | #define __SSE__ 1
300 | #define __LDBL_MIN_EXP__ (-16381)
301 | #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
302 | #define __WINT_WIDTH__ 16
303 | #define __INT_LEAST8_MAX__ 0x7f
304 | #define __FLT32X_MAX_10_EXP__ 308
305 | #define __SIZEOF_INT128__ 16
306 | #define __WCHAR_UNSIGNED__ 1
307 | #define __LDBL_MAX_10_EXP__ 4932
308 | #define __ATOMIC_RELAXED 0
309 | #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L)
310 | #define __thiscall __attribute__((__thiscall__))
311 | #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128
312 | #define __UINT8_C(c) c
313 | #define __FLT64_MAX_EXP__ 1024
314 | #define __INT_LEAST32_TYPE__ int
315 | #define __SIZEOF_WCHAR_T__ 2
316 | #define __FLT128_HAS_QUIET_NAN__ 1
317 | #define __INT_FAST8_TYPE__ signed char
318 | #define __fastcall __attribute__((__fastcall__))
319 | #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
320 | #define __GNUC_STDC_INLINE__ 1
321 | #define __FLT64_HAS_DENORM__ 1
322 | #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32
323 | #define __DBL_DECIMAL_DIG__ 17
324 | #define __STDC_UTF_32__ 1
325 | #define __INT_FAST8_WIDTH__ 8
326 | #define __FXSR__ 1
327 | #define __DEC_EVAL_METHOD__ 2
328 | #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x
329 | #define __MINGW64__ 1
330 | #define __cpp_runtime_arrays 198712
331 | #define __UINT64_TYPE__ long long unsigned int
332 | #define __UINT32_C(c) c ## U
333 | #define __INTMAX_MAX__ 0x7fffffffffffffffLL
334 | #define __cpp_alias_templates 200704
335 | #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
336 | #define WINNT 1
337 | #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F
338 | #define __INT8_MAX__ 0x7f
339 | #define __LONG_WIDTH__ 32
340 | #define __PIC__ 1
341 | #define __UINT_FAST32_TYPE__ unsigned int
342 | #define __CHAR32_TYPE__ unsigned int
343 | #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F
344 | #define __cpp_constexpr 200704
345 | #define __INT32_TYPE__ int
346 | #define __SIZEOF_DOUBLE__ 8
347 | #define __cpp_exceptions 199711
348 | #define __FLT_MIN_10_EXP__ (-37)
349 | #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
350 | #define __INT_LEAST32_WIDTH__ 32
351 | #define __INTMAX_TYPE__ long long int
352 | #define _INTEGRAL_MAX_BITS 64
353 | #define __DEC128_MAX_EXP__ 6145
354 | #define __FLT32X_HAS_QUIET_NAN__ 1
355 | #define __ATOMIC_CONSUME 1
356 | #define __nocona__ 1
357 | #define __GNUC_MINOR__ 3
358 | #define __GLIBCXX_TYPE_INT_N_0 __int128
359 | #define __INT_FAST16_WIDTH__ 16
360 | #define __UINTMAX_MAX__ 0xffffffffffffffffULL
361 | #define __DEC32_MANT_DIG__ 7
362 | #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x
363 | #define __DBL_MAX_10_EXP__ 308
364 | #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L
365 | #define __INT16_C(c) c
366 | #define __STDC__ 1
367 | #define __FLT32X_DIG__ 15
368 | #define __PTRDIFF_TYPE__ long long int
369 | #define __ATOMIC_SEQ_CST 5
370 | #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 1
371 | #define __UINT32_TYPE__ unsigned int
372 | #define __FLT32X_MIN_10_EXP__ (-307)
373 | #define __UINTPTR_TYPE__ long long unsigned int
374 | #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
375 | #define __DEC128_MANT_DIG__ 34
376 | #define __LDBL_MIN_10_EXP__ (-4931)
377 | #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128
378 | #define __SSE_MATH__ 1
379 | #define __SIZEOF_LONG_LONG__ 8
380 | #define __cpp_user_defined_literals 200809
381 | #define __FLT128_DECIMAL_DIG__ 36
382 | #define __GCC_ATOMIC_LLONG_LOCK_FREE 2
383 | #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x
384 | #define __LDBL_DIG__ 18
385 | #define __FLT_DECIMAL_DIG__ 9
386 | #define __UINT_FAST16_MAX__ 0xffff
387 | #define __GCC_ATOMIC_SHORT_LOCK_FREE 2
388 | #define __INT_LEAST64_WIDTH__ 64
389 | #define __SSE3__ 1
390 | #define __UINT_FAST8_TYPE__ unsigned char
391 | #define __WIN64__ 1
392 | #define __ATOMIC_ACQ_REL 4
393 | #define __ATOMIC_RELEASE 3
394 | #define __declspec(x) __attribute__((x))
395 |
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/moc_qcustomplot.o
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhiliangMa/Qt_QCustomPlot_Prj/f8b9e91f237b671a0a87c3138ff50441e89811ce/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/debug/qcustomplot.o
--------------------------------------------------------------------------------
/03_DynamicGraph/build-03_DynamicGraph-Desktop_Qt_5_12_9_MinGW_64_bit-Debug/ui_mainwindow.h:
--------------------------------------------------------------------------------
1 | /********************************************************************************
2 | ** Form generated from reading UI file 'mainwindow.ui'
3 | **
4 | ** Created by: Qt User Interface Compiler version 5.12.9
5 | **
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 | ********************************************************************************/
8 |
9 | #ifndef UI_MAINWINDOW_H
10 | #define UI_MAINWINDOW_H
11 |
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 | #include
21 | #include
22 | #include "qcustomplot.h"
23 |
24 | QT_BEGIN_NAMESPACE
25 |
26 | class Ui_MainWindow
27 | {
28 | public:
29 | QWidget *centralwidget;
30 | QHBoxLayout *horizontalLayout;
31 | QCustomPlot *widget_1;
32 | QWidget *widget;
33 | QVBoxLayout *verticalLayout;
34 | QCheckBox *checkBox_1;
35 | QSpacerItem *verticalSpacer_2;
36 | QCheckBox *checkBox_2;
37 | QSpacerItem *verticalSpacer;
38 | QMenuBar *menubar;
39 | QStatusBar *statusbar;
40 |
41 | void setupUi(QMainWindow *MainWindow)
42 | {
43 | if (MainWindow->objectName().isEmpty())
44 | MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
45 | MainWindow->resize(520, 360);
46 | centralwidget = new QWidget(MainWindow);
47 | centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
48 | horizontalLayout = new QHBoxLayout(centralwidget);
49 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
50 | widget_1 = new QCustomPlot(centralwidget);
51 | widget_1->setObjectName(QString::fromUtf8("widget_1"));
52 |
53 | horizontalLayout->addWidget(widget_1);
54 |
55 | widget = new QWidget(centralwidget);
56 | widget->setObjectName(QString::fromUtf8("widget"));
57 | widget->setMaximumSize(QSize(70, 2000));
58 | verticalLayout = new QVBoxLayout(widget);
59 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
60 | checkBox_1 = new QCheckBox(widget);
61 | checkBox_1->setObjectName(QString::fromUtf8("checkBox_1"));
62 | checkBox_1->setEnabled(true);
63 | checkBox_1->setChecked(true);
64 |
65 | verticalLayout->addWidget(checkBox_1);
66 |
67 | verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
68 |
69 | verticalLayout->addItem(verticalSpacer_2);
70 |
71 | checkBox_2 = new QCheckBox(widget);
72 | checkBox_2->setObjectName(QString::fromUtf8("checkBox_2"));
73 | checkBox_2->setChecked(true);
74 |
75 | verticalLayout->addWidget(checkBox_2);
76 |
77 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
78 |
79 | verticalLayout->addItem(verticalSpacer);
80 |
81 |
82 | horizontalLayout->addWidget(widget);
83 |
84 | MainWindow->setCentralWidget(centralwidget);
85 | menubar = new QMenuBar(MainWindow);
86 | menubar->setObjectName(QString::fromUtf8("menubar"));
87 | menubar->setGeometry(QRect(0, 0, 520, 23));
88 | MainWindow->setMenuBar(menubar);
89 | statusbar = new QStatusBar(MainWindow);
90 | statusbar->setObjectName(QString::fromUtf8("statusbar"));
91 | MainWindow->setStatusBar(statusbar);
92 |
93 | retranslateUi(MainWindow);
94 |
95 | QMetaObject::connectSlotsByName(MainWindow);
96 | } // setupUi
97 |
98 | void retranslateUi(QMainWindow *MainWindow)
99 | {
100 | MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", nullptr));
101 | checkBox_1->setText(QApplication::translate("MainWindow", "\346\263\242\345\275\2421", nullptr));
102 | checkBox_2->setText(QApplication::translate("MainWindow", "\346\263\242\345\275\2422", nullptr));
103 | } // retranslateUi
104 |
105 | };
106 |
107 | namespace Ui {
108 | class MainWindow: public Ui_MainWindow {};
109 | } // namespace Ui
110 |
111 | QT_END_NAMESPACE
112 |
113 | #endif // UI_MAINWINDOW_H
114 |
--------------------------------------------------------------------------------