diff --git a/serialplot.pro b/serialplot.pro --- a/serialplot.pro +++ b/serialplot.pro @@ -1,5 +1,5 @@ # -# Copyright © 2015 Hasan Yavuz Özderya +# Copyright © 2019 Hasan Yavuz Özderya # # This file is part of serialplot. # @@ -23,7 +23,7 @@ # #------------------------------------------------- -QT += core gui serialport +QT += core gui serialport network svg greaterThan(QT_MAJOR_VERSION, 4): QT += widgets @@ -31,47 +31,72 @@ TARGET = serialplot TEMPLATE = app CONFIG += qwt +# LIBS += -lqwt # enable this line if qwt pri files aren't installed + +DEFINES += PROGRAM_NAME="\\\"serialplot\\\"" + +DEFINES += VERSION_MAJOR=10 VERSION_MINOR=0 VERSION_PATCH=0 VERSION_STRING=\\\"10.0.0\\\" SOURCES += \ - src/main.cpp\ + src/main.cpp \ src/mainwindow.cpp \ src/portcontrol.cpp \ src/plot.cpp \ src/zoomer.cpp \ + src/scrollzoomer.cpp \ + src/scrollbar.cpp \ src/hidabletabwidget.cpp \ - src/framebuffer.cpp \ src/scalepicker.cpp \ src/scalezoomer.cpp \ src/portlist.cpp \ + src/snapshot.cpp \ src/snapshotview.cpp \ src/snapshotmanager.cpp \ - src/snapshot.cpp \ src/plotsnapshotoverlay.cpp \ src/commandpanel.cpp \ src/commandwidget.cpp \ src/commandedit.cpp \ src/dataformatpanel.cpp \ + src/plotcontrolpanel.cpp \ + src/recordpanel.cpp \ + src/datarecorder.cpp \ src/tooltipfilter.cpp \ src/sneakylineedit.cpp \ - src/channelmanager.cpp \ + src/stream.cpp \ + src/streamchannel.cpp \ + src/channelinfomodel.cpp \ + src/ringbuffer.cpp \ + src/indexbuffer.cpp \ + src/linindexbuffer.cpp \ + src/readonlybuffer.cpp \ src/framebufferseries.cpp \ - src/plotcontrolpanel.cpp \ src/numberformatbox.cpp \ src/endiannessbox.cpp \ - src/framedreadersettings.cpp \ src/abstractreader.cpp \ src/binarystreamreader.cpp \ src/binarystreamreadersettings.cpp \ + src/asciireader.cpp \ src/asciireadersettings.cpp \ - src/asciireader.cpp \ src/demoreader.cpp \ + src/demoreadersettings.cpp \ src/framedreader.cpp \ + src/framedreadersettings.cpp \ src/plotmanager.cpp \ + src/plotmenu.cpp \ + src/barplot.cpp \ + src/barchart.cpp \ + src/barscaledraw.cpp \ src/numberformat.cpp \ - src/recordpanel.cpp \ src/updatechecker.cpp \ + src/versionnumber.cpp \ src/updatecheckdialog.cpp \ - src/demoreadersettings.cpp + src/samplepack.cpp \ + src/source.cpp \ + src/sink.cpp \ + src/samplecounter.cpp \ + src/ledwidget.cpp \ + src/datatextview.cpp \ + src/bpslabel.cpp HEADERS += \ src/mainwindow.h \ @@ -79,7 +104,6 @@ HEADERS += \ src/portcontrol.h \ src/floatswap.h \ src/plot.h \ - src/zoomer.h \ src/hidabletabwidget.h \ src/framebuffer.h \ src/scalepicker.h \ @@ -95,7 +119,6 @@ HEADERS += \ src/dataformatpanel.h \ src/tooltipfilter.h \ src/sneakylineedit.h \ - src/channelmanager.h \ src/framebufferseries.h \ src/plotcontrolpanel.h \ src/numberformatbox.h \ @@ -114,7 +137,32 @@ HEADERS += \ src/recordpanel.h \ src/updatechecker.h \ src/updatecheckdialog.h \ - src/demoreadersettings.h + src/demoreadersettings.h \ + src/datatextview.h \ + src/bpslabel.h \ + src/barchart.h \ + src/barplot.h \ + src/barscaledraw.h \ + src/channelinfomodel.h \ + src/datarecorder.h \ + src/defines.h \ + src/indexbuffer.h \ + src/ledwidget.h \ + src/linindexbuffer.h \ + src/plotmenu.h \ + src/readonlybuffer.h \ + src/ringbuffer.h \ + src/samplecounter.h \ + src/samplepack.h \ + src/scrollbar.h \ + src/scrollzoomer.h \ + src/sink.h \ + src/source.h \ + src/streamchannel.h \ + src/stream.h \ + src/version.h \ + src/versionnumber.h \ + src/zoomer.h FORMS += \ src/mainwindow.ui \ @@ -132,7 +180,8 @@ FORMS += \ src/asciireadersettings.ui \ src/recordpanel.ui \ src/updatecheckdialog.ui \ - src/demoreadersettings.ui + src/demoreadersettings.ui \ + src/datatextview.ui INCLUDEPATH += qmake/ src/