修复qwt示例

This commit is contained in:
feiyangqingyun
2023-09-18 08:37:20 +08:00
parent 59e4c39f91
commit f21dfb4776
25 changed files with 102 additions and 122 deletions

View File

@@ -10,6 +10,6 @@ SOURCES += main.cpp
SOURCES += plot.cpp SOURCES += plot.cpp
HEADERS += plot.h HEADERS += plot.h
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -10,6 +10,6 @@ SOURCES += main.cpp
SOURCES += barchart.cpp SOURCES += barchart.cpp
HEADERS += barchart.h HEADERS += barchart.h
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,14 +6,15 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
SOURCES += main.cpp
SOURCES += plot.cpp
SOURCES += mainwindow.cpp
HEADERS += plot.h
HEADERS += mainwindow.h HEADERS += mainwindow.h
HEADERS += complexnumber.h HEADERS += complexnumber.h
HEADERS += pixmaps.h HEADERS += pixmaps.h
include ($$PWD/../../qwt/qwt.pri) SOURCES += main.cpp
SOURCES += plot.cpp
SOURCES += mainwindow.cpp
HEADERS += plot.h
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -27,6 +27,6 @@ SOURCES = \
dialtab.cpp \ dialtab.cpp \
main.cpp main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,16 +6,14 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += cpuplot.h
cpuplot.h \ HEADERS += cpustat.h
cpustat.h \ HEADERS += cpupiemarker.h
cpupiemarker.h
SOURCES = \ SOURCES += cpuplot.cpp
cpuplot.cpp \ SOURCES += cpustat.cpp
cpustat.cpp \ SOURCES += cpupiemarker.cpp
cpupiemarker.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -9,6 +9,6 @@ DESTDIR = $$PWD/../bin
SOURCES = \ SOURCES = \
curvdemo1.cpp curvdemo1.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -1,9 +1,10 @@
#include "attitude_indicator.h" #include "attitude_indicator.h"
#include <qwt_point_polar.h> #include <qwt_point_polar.h>
#include <qwt_round_scale_draw.h> #include <qwt_round_scale_draw.h>
#include <qevent.h> #include <qevent.h>
#include <qpainter.h> #include <qpainter.h>
#include <qpolygon.h> #include <qpolygon.h>
#include <qpainterpath.h>
AttitudeIndicatorNeedle::AttitudeIndicatorNeedle( const QColor &color ) AttitudeIndicatorNeedle::AttitudeIndicatorNeedle( const QColor &color )
{ {

View File

@@ -19,6 +19,6 @@ SOURCES = \
compass_grid.cpp \ compass_grid.cpp \
dials.cpp dials.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -13,6 +13,6 @@ SOURCES = \
barchart.cpp \ barchart.cpp \
main.cpp main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -19,6 +19,6 @@ SOURCES = \
plot.cpp \ plot.cpp \
event_filter.cpp event_filter.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,15 +6,13 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += plot.h
plot.h \ HEADERS += friedberg2007.h
friedberg2007.h
SOURCES = \ SOURCES += friedberg2007.cpp
friedberg2007.cpp \ SOURCES += plot.cpp
plot.cpp \ SOURCES += main.cpp
main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -17,6 +17,6 @@ SOURCES = \
plot.cpp \ plot.cpp \
main.cpp main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -18,6 +18,6 @@ SOURCES = \
plot.cpp \ plot.cpp \
main.cpp main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -25,6 +25,6 @@ SOURCES = \
mainwindow.cpp \ mainwindow.cpp \
main.cpp main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -17,6 +17,6 @@ SOURCES = \
tunerfrm.cpp \ tunerfrm.cpp \
radio.cpp radio.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,13 +6,10 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += plot.h
plot.h SOURCES += plot.cpp
SOURCES += main.cpp
SOURCES = \
plot.cpp \
main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -21,6 +21,6 @@ SOURCES = \
incrementalplot.cpp \ incrementalplot.cpp \
randomplot.cpp randomplot.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,20 +6,18 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += settings.h
settings.h \ HEADERS += circularbuffer.h
circularbuffer.h \ HEADERS += panel.h
panel.h \ HEADERS += plot.h
plot.h \ HEADERS += mainwindow.h
mainwindow.h
SOURCES = \ SOURCES += circularbuffer.cpp
circularbuffer.cpp \ SOURCES += panel.cpp
panel.cpp \ SOURCES += plot.cpp
plot.cpp \ SOURCES += mainwindow.cpp
mainwindow.cpp \ SOURCES += main.cpp
main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,15 +6,13 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += mainwindow.h
mainwindow.h \ HEADERS += plot.h
plot.h
SOURCES = \ SOURCES += main.cpp
main.cpp \ SOURCES += mainwindow.cpp
mainwindow.cpp \ SOURCES += plot.cpp
plot.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,9 +6,8 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
SOURCES = \ SOURCES += simpleplot.cpp
simpleplot.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,9 +6,8 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
SOURCES = \ SOURCES += sinusplot.cpp
sinusplot.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,13 +6,10 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += plot.h
plot.h SOURCES += plot.cpp
SOURCES += main.cpp
SOURCES = \
plot.cpp \
main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,19 +6,17 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
HEADERS = \ HEADERS += legend.h
legend.h \ HEADERS += griditem.h
griditem.h \ HEADERS += plot.h
plot.h \ HEADERS += quotefactory.h
quotefactory.h
SOURCES = \ SOURCES += legend.cpp
legend.cpp \ SOURCES += griditem.cpp
griditem.cpp \ SOURCES += quotefactory.cpp
quotefactory.cpp \ SOURCES += plot.cpp
plot.cpp \ SOURCES += main.cpp
main.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,9 +6,8 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
SOURCES = \ SOURCES += sysinfo.cpp
sysinfo.cpp
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)

View File

@@ -6,13 +6,10 @@ UI_DIR = temp/ui
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
DESTDIR = $$PWD/../bin DESTDIR = $$PWD/../bin
SOURCES = \ HEADERS += tvplot.h
tvplot.cpp \ SOURCES += tvplot.cpp
main.cpp SOURCES += main.cpp
HEADERS = \
tvplot.h
include ($$PWD/../../qwt/qwt.pri)
INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD
INCLUDEPATH += $$PWD/../../qwt INCLUDEPATH += $$PWD/../../../3rd_qwt
include ($$PWD/../../../3rd_qwt/3rd_qwt.pri)