mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-24 17:41:39 +08:00
further reorganizations of code
This commit is contained in:
parent
60999478f8
commit
fae6b28a58
@ -23,7 +23,7 @@ if(NOT DEFINED LIB_INSTALL)
|
||||
option(LIB_INSTALL "Install library" ON)
|
||||
endif()
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
option(CMAKE_INSTALL_PREFIX "Install directory" .)
|
||||
option(CMAKE_INSTALL_PREFIX "Install directory" ${CMAKE_CURRENT_SOURCE_DIR}/instal)
|
||||
endif()
|
||||
|
||||
|
||||
@ -74,10 +74,17 @@ if(MSVC)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
|
||||
add_compile_options(/EHsc)
|
||||
add_definitions(/D_USE_MATH_DEFINES /D_CRT_NO_VA_START_VALIDATION /DNOMINMAX)
|
||||
# To enable M_PI, M_E,...
|
||||
add_definitions(/D_USE_MATH_DEFINES)
|
||||
# To Prevent Errors with min() and max()
|
||||
add_definitions(/DNOMINMAX)
|
||||
# To fix error: C2338: va_start argument must not
|
||||
# have reference type and must not be parenthesized
|
||||
add_definitions(/D_CRT_NO_VA_START_VALIDATION)
|
||||
else()
|
||||
add_compile_options(-fexceptions)
|
||||
endif()
|
||||
|
||||
if(BUILD_INCLUDE_XITS_FONTS)
|
||||
add_definitions(-DAUTOLOAD_XITS_FONTS -DUSE_XITS_FONTS )
|
||||
else()
|
||||
|
@ -885,7 +885,7 @@ RECURSIVE = YES
|
||||
EXCLUDE = moc_*.* \
|
||||
qrc_*.* \
|
||||
build-* \
|
||||
../lib/jkqtplotterressources/math_fonts/xits \
|
||||
../lib/jkqtplotter/resources/math_fonts/xits \
|
||||
Makefile \
|
||||
Makefile*.* \
|
||||
../examples/jkqtmathtext_test/asana \
|
||||
|
@ -570,7 +570,7 @@ You can e.g. use these general methods to alter the styles for all JKQTPlotter i
|
||||
JKQTPGetSystemDefaultStyle().userActionColor=QColor("red");
|
||||
\endcode
|
||||
|
||||
Several pre-made styles are available in the JKQTPlotter repository (<a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/">https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/</a>).
|
||||
Several pre-made styles are available in the JKQTPlotter repository (<a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/">https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/</a>).
|
||||
These are also linked into the JKQTPlotter library as Qt ressource into the subdirectory \c :/JKQTPlotter/styles/ . You can use them as follows:
|
||||
|
||||
\code{.cpp}
|
||||
@ -588,22 +588,22 @@ Here is a table with all available ready-made styles:
|
||||
<td> <b> The Default Style </b>
|
||||
<td> \image html style_default.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_gridandticks.ini"> \c :/JKQTPlotter/styles/simple_gridandticks.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_gridandticks.ini"> \c :/JKQTPlotter/styles/simple_gridandticks.ini</a>
|
||||
<td> \image html style_simple_axesoffset_plotbox.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_axesoffset.ini"> \c :/JKQTPlotter/styles/simple_axesoffset.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_axesoffset.ini"> \c :/JKQTPlotter/styles/simple_axesoffset.ini</a>
|
||||
<td> \image html style_simple_axesoffset.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_axesoffset_plotbox.ini"> \c :/JKQTPlotter/styles/simple_axesoffset_plotbox.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_axesoffset_plotbox.ini"> \c :/JKQTPlotter/styles/simple_axesoffset_plotbox.ini</a>
|
||||
<td> \image html style_simple_axesoffset_plotbox.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/dark.ini"> \c :/JKQTPlotter/styles/dark.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/dark.ini"> \c :/JKQTPlotter/styles/dark.ini</a>
|
||||
<td> \image html style_dark.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/blueprint.ini"> \c :/JKQTPlotter/styles/blueprint.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/blueprint.ini"> \c :/JKQTPlotter/styles/blueprint.ini</a>
|
||||
<td> \image html style_blueprint.png
|
||||
<tr>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/blackandwhite.ini"> \c :/JKQTPlotter/styles/blackandwhite.ini</a>
|
||||
<td> <a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/blackandwhite.ini"> \c :/JKQTPlotter/styles/blackandwhite.ini</a>
|
||||
<td> \image html style_blackandwhite.png
|
||||
</table>
|
||||
|
||||
|
@ -547,7 +547,7 @@ high-quality math rendering. It is possible to use the class with other fonts, b
|
||||
The source for this library can be found here: https://github.com/alif-type/xits
|
||||
|
||||
\note The XITS fonts are distributed in
|
||||
<a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/math_fonts/xits">lib/jkqtplotterressources/math_fonts/xits</a>
|
||||
<a href="https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/math_fonts/xits">lib/jkqtplotter/resources/math_fonts/xits</a>
|
||||
and are automatically added to the binary libraries as Qt Resources. You can prevent this by adding the line
|
||||
\code
|
||||
DEFINES += NO_XITS_FONTS
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <QDate>
|
||||
#include <QDateTime>
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
|
||||
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpgraphscontour.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpcontour.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/gui/jkqtpcomboboxes.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -3,9 +3,9 @@
|
||||
#include <QDate>
|
||||
#include <QDateTime>
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsfilledcurve.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpfilledcurve.h"
|
||||
#include "jkqtplotter/gui/jkqtpcomboboxes.h"
|
||||
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include <QDateTime>
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/gui/jkqtpcomboboxes.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimageoverlays.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimageoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
|
||||
|
||||
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,10 +11,10 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphspeakstream.h"
|
||||
#include "jkqtplotter/graphs/jkqtppeakstream.h"
|
||||
|
||||
#define N1 200
|
||||
#define N2 50
|
||||
|
@ -11,11 +11,11 @@
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/jkqtpelementsoverlay.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
#include "jkqtplotter/overlays/jkqtpbasicoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/gui/jkqtpgraphsmodel.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsspecialline.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpspecialline.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -5,7 +5,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_barchar
|
||||
```.cpp
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
|
||||
#define Ndata 5
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
|
||||
#define Ndata 5
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphscontour.h"
|
||||
#include "jkqtplotter/graphs/jkqtpcontour.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include <algorithm>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/jkqtpgraphsstatisticsadaptors.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpstatisticsadaptors.h"
|
||||
#include "jkqtcommon/jkqtpstatisticstools.h"
|
||||
#include "jkqtcommon/jkqtpstringtools.h"
|
||||
#include <random>
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include <algorithm>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphspeakstream.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsstatisticsadaptors.h"
|
||||
#include "jkqtplotter/jkqtpgraphsevaluatedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtppeakstream.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpstatisticsadaptors.h"
|
||||
#include "jkqtplotter/graphs/jkqtpevaluatedfunction.h"
|
||||
#include "jkqtcommon/jkqtpstatisticstools.h"
|
||||
#include "jkqtcommon/jkqtpstringtools.h"
|
||||
#include <random>
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphspeakstream.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsstatisticsadaptors.h"
|
||||
#include "jkqtplotter/jkqtpgraphsevaluatedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtppeakstream.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpstatisticsadaptors.h"
|
||||
#include "jkqtplotter/graphs/jkqtpevaluatedfunction.h"
|
||||
#include "jkqtcommon/jkqtpstatisticstools.h"
|
||||
#include "jkqtcommon/jkqtpstringtools.h"
|
||||
#include <random>
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpgraphsstatisticsadaptors.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpstatisticsadaptors.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtcommon/jkqtpstatisticstools.h"
|
||||
#include "jkqtcommon/jkqtpstringtools.h"
|
||||
#include <random>
|
||||
|
@ -10,10 +10,10 @@
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsfilledcurve.h"
|
||||
#include "jkqtplotter/graphs/jkqtpfilledcurve.h"
|
||||
|
||||
void drawWithDateAxis(JKQTPlotter& plot) {
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsfilledcurve.h"
|
||||
#include "jkqtplotter/graphs/jkqtpfilledcurve.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <QVector>
|
||||
#include <QMap>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsevaluatedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpevaluatedfunction.h"
|
||||
|
||||
double sinc(double x) {
|
||||
return 10.0*sin(x)/x;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,7 +6,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_imagepl
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -6,7 +6,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_imagepl
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -6,7 +6,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_imagepl
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -9,7 +9,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_imagepl
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpopencvinterface.h"
|
||||
#include <opencv/cv.h>
|
||||
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpopencvinterface.h"
|
||||
#include <opencv2/opencv.hpp>
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimpulses.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimpulses.h"
|
||||
|
||||
// number of datapoints:
|
||||
#define Ndata 40
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
||||
#define sqr(x) ((x)*(x))
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <QFormLayout>
|
||||
#include <QDoubleSpinBox>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_rgbimag
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
|
@ -9,7 +9,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_imagepl
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpopencvinterface.h"
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/imgcodecs.hpp>
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
#include "jkqtplotter/jkqtpopencvinterface.h"
|
||||
#include <opencv2/opencv.hpp>
|
||||
#include <opencv2/imgcodecs.hpp>
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include <QApplication>
|
||||
#include <cmath>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <array>
|
||||
#include <random>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "speedtestplot.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "speedtestplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
|
||||
|
||||
SpeedTestPlot::SpeedTestPlot():
|
||||
|
@ -5,7 +5,7 @@ The source code of the main application is (see [`jkqtplotter_simpletest_stacked
|
||||
```.cpp
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
|
||||
#define Ndata 5
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
|
||||
|
||||
template<class TGRAPH>
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsspecialline.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpspecialline.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsspecialline.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpspecialline.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
|
||||
// number of datapoints:
|
||||
#define Ndata 10
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define FORMWITHJKQTPLOTTER_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
|
||||
namespace Ui {
|
||||
class FormWithJKQTPlotter;
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsviolinplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphssinglecolumnsymbols.h"
|
||||
#include "jkqtplotter/jkqtpgraphsstatisticsadaptors.h"
|
||||
#include "jkqtplotter/graphs/jkqtpviolinplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpsinglecolumnsymbols.h"
|
||||
#include "jkqtplotter/graphs/jkqtpstatisticsadaptors.h"
|
||||
#include "jkqtcommon/jkqtpstatisticstools.h"
|
||||
#include <random>
|
||||
#include <cmath>
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/jkqtpgraphssinglecolumnsymbols.h"
|
||||
#include "jkqtplotter/jkqtpgraphsevaluatedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpsinglecolumnsymbols.h"
|
||||
#include "jkqtplotter/graphs/jkqtpevaluatedfunction.h"
|
||||
#include <map>
|
||||
#include <random>
|
||||
#include <cmath>
|
||||
|
@ -94,7 +94,7 @@ The result looks like this:
|
||||
|
||||
![test_multiplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/test_multiplot.png)
|
||||
|
||||
You push the print button (![test_multiplot](https://raw.githubusercontent.com/jkriege2/JKQTPlotter/master/lib/jkqtplotterressources/images/jkqtp_24_print.png)) to open a print preview dialog, which will give an impression of how the three plots will be arranged in a printout:
|
||||
You push the print button (![test_multiplot](https://raw.githubusercontent.com/jkriege2/JKQTPlotter/master/lib/jkqtplotter/resources/images/jkqtp_24_print.png)) to open a print preview dialog, which will give an impression of how the three plots will be arranged in a printout:
|
||||
|
||||
![test_multiplot](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/test_multiplot_printpreview.png)
|
||||
|
||||
|
@ -6,9 +6,9 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include <random>
|
||||
#include <cmath>
|
||||
#include "test_multiplot_ui.h"
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -81,12 +81,12 @@ The following gallery shows a set of example styles:
|
||||
| Style-file | Screenshot |
|
||||
|:-------------:| ------------- |
|
||||
| <b> The Default Style </b> | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_default.png) |
|
||||
| [`lib/jkqtplotterressources/style/simple_gridandticks.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_gridandticks.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset_plotbox.png) |
|
||||
| [`lib/jkqtplotterressources/style/simple_axesoffset.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_axesoffset.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset.png) |
|
||||
| [`lib/jkqtplotterressources/style/simple_axesoffset_plotbox.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/simple_axesoffset_plotbox.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset_plotbox.png) |
|
||||
| [`lib/jkqtplotterressources/style/dark.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/dark.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_dark.png) |
|
||||
| [`lib/jkqtplotterressources/style/blueprint.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/blueprint.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_blueprint.png) |
|
||||
| [`lib/jkqtplotterressources/style/blackandwhite.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotterressources/styles/blackandwhite.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_blackandwhite.png) |
|
||||
| [`lib/jkqtplotter/resources/style/simple_gridandticks.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_gridandticks.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset_plotbox.png) |
|
||||
| [`lib/jkqtplotter/resources/style/simple_axesoffset.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_axesoffset.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset.png) |
|
||||
| [`lib/jkqtplotter/resources/style/simple_axesoffset_plotbox.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/simple_axesoffset_plotbox.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_simple_axesoffset_plotbox.png) |
|
||||
| [`lib/jkqtplotter/resources/style/dark.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/dark.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_dark.png) |
|
||||
| [`lib/jkqtplotter/resources/style/blueprint.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/blueprint.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_blueprint.png) |
|
||||
| [`lib/jkqtplotter/resources/style/blackandwhite.ini`](https://github.com/jkriege2/JKQtPlotter/tree/master/lib/jkqtplotter/resources/styles/blackandwhite.ini) | ![](https://raw.githubusercontent.com/jkriege2/JKQtPlotter/master/screenshots/style_blackandwhite.png) |
|
||||
|
||||
|
||||
<b>Note:</b> The styles listed above are also linked into the executable as Qt ressource ... you can use them e.g. as follows:
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "test_styling.h"
|
||||
#include "ui_test_styling.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include <QDir>
|
||||
#include <QTextStream>
|
||||
#include <QFileDialog>
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <QWidget>
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include <QFormLayout>
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
|
@ -90,7 +90,7 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtcommon
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtcommon
|
||||
)
|
||||
endif(BUILD_SHARED_LIBS)
|
||||
|
||||
@ -99,12 +99,12 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtcommon
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtcommon
|
||||
)
|
||||
endif(BUILD_STATIC_LIBS)
|
||||
|
||||
install(FILES ${HEADERS}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtcommon
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtcommon
|
||||
COMPONENT Headers)
|
||||
|
||||
endif(LIB_INSTALL)
|
||||
|
@ -11,7 +11,7 @@ isEmpty(JKQTP_FASTPLOTTER_PRI_INCLUDED) {
|
||||
SOURCES += $$PWD/jkqtfastplotter/jkqtfastplotter.cpp
|
||||
|
||||
|
||||
RESOURCES += $$PWD/jkqtplotterressources/jkqtpbaseplotter.qrc
|
||||
RESOURCES += $$PWD/jkqtplotter/resources/jkqtpbaseplotter.qrc
|
||||
|
||||
QT += opengl
|
||||
|
||||
|
@ -54,7 +54,7 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtfastplotter
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtfastplotter
|
||||
)
|
||||
endif(BUILD_SHARED_LIBS)
|
||||
|
||||
@ -63,12 +63,12 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtfastplotter
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtfastplotter
|
||||
)
|
||||
endif(BUILD_STATIC_LIBS)
|
||||
|
||||
install(FILES ${HEADERS}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtfastplotter
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtfastplotter
|
||||
COMPONENT Headers)
|
||||
|
||||
endif(LIB_INSTALL)
|
||||
|
@ -58,7 +58,7 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtmathtext
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtmathtext
|
||||
)
|
||||
endif(BUILD_SHARED_LIBS)
|
||||
|
||||
@ -67,12 +67,12 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtmathtext
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtmathtext
|
||||
)
|
||||
endif(BUILD_STATIC_LIBS)
|
||||
|
||||
install(FILES ${HEADERS}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}jkqtmathtext
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtmathtext
|
||||
COMPONENT Headers)
|
||||
|
||||
endif(LIB_INSTALL)
|
||||
|
@ -14,42 +14,43 @@ isEmpty(JKQTP_PLOTTER_PRI_INCLUDED) {
|
||||
$$PWD/jkqtplotter/jkqtpbaseelements.h \
|
||||
$$PWD/jkqtplotter/jkqtpbaseplotter.h \
|
||||
$$PWD/jkqtplotter/jkqtpdatastorage.h \
|
||||
$$PWD/jkqtplotter/jkqtpelementsoverlay.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsscatter.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsrange.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsspecialline.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbarchart.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbase.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbaseerrors.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbasestylingmixins.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsboxplot.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsboxplotstylingmixins.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsevaluatedfunction.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsfilledcurve.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsgeometric.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimage.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimpulses.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsparsedfunction.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphspeakstream.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphssinglecolumnsymbols.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimageoverlays.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphscontour.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimagergb.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsviolinplot.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsviolinplotstylingmixins.h \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsstatisticsadaptors.h \
|
||||
$$PWD/jkqtplotter/jkqtplotter.h \
|
||||
$$PWD/jkqtplotter/jkqtplotterstyle.h \
|
||||
$$PWD/jkqtplotter/jkqtpkeystyle.h \
|
||||
$$PWD/jkqtplotter/jkqtpbaseplotterstyle.h \
|
||||
$$PWD/jkqtplotter/jkqtpcoordinateaxes.h \
|
||||
$$PWD/jkqtplotter/jkqtpcoordinateaxesstyle.h \
|
||||
$$PWD/jkqtplotter/jkqtpimagetools.h \
|
||||
$$PWD/jkqtplotter/jkqtpoverlaysbase.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpboxplot.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpboxplotstylingmixins.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpevaluatedfunction.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpfilledcurve.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpgeometric.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimage.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimpulses.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpparsedfunction.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtppeakstream.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpsinglecolumnsymbols.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimageoverlays.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpcontour.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimagergb.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpviolinplot.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpviolinplotstylingmixins.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpstatisticsadaptors.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpscatter.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtprange.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpspecialline.h \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpbarchart.h \
|
||||
$$PWD/jkqtplotter/overlays/jkqtpbasicoverlays.h \
|
||||
$$PWD/jkqtplotter/gui/jkqtpcomboboxes.h \
|
||||
$$PWD/jkqtplotter/gui/jkqtpenhancedspinboxes.h \
|
||||
$$PWD/jkqtplotter/gui/jkqtpenhancedtableview.h \
|
||||
$$PWD/jkqtplotter/gui/jkqtpgraphsmodel.h \
|
||||
$$PWD/jkqtplotter/gui/jkvanishqtoolbar.h \
|
||||
$$PWD/jkqtplotter/jkqtpimagetools.h
|
||||
$$PWD/jkqtplotter/gui/jkvanishqtoolbar.h
|
||||
|
||||
|
||||
|
||||
@ -58,42 +59,43 @@ isEmpty(JKQTP_PLOTTER_PRI_INCLUDED) {
|
||||
$$PWD/jkqtplotter/jkqtpbaseelements.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpbaseplotter.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpdatastorage.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpelementsoverlay.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsscatter.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsrange.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsspecialline.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbarchart.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbase.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbaseerrors.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsbasestylingmixins.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsboxplot.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsboxplotstylingmixins.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsevaluatedfunction.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsfilledcurve.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsgeometric.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimage.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimpulses.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsparsedfunction.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphspeakstream.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphssinglecolumnsymbols.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimageoverlays.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphscontour.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsimagergb.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsviolinplot.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsviolinplotstylingmixins.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpgraphsstatisticsadaptors.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpimagetools.cpp \
|
||||
$$PWD/jkqtplotter/jkqtplotter.cpp \
|
||||
$$PWD/jkqtplotter/jkqtplotterstyle.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpkeystyle.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpbaseplotterstyle.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpcoordinateaxes.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpcoordinateaxesstyle.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpoverlaysbase.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpboxplot.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpboxplotstylingmixins.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpevaluatedfunction.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpfilledcurve.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpgeometric.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimage.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimpulses.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpparsedfunction.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtppeakstream.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpsinglecolumnsymbols.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimageoverlays.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpcontour.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpimagergb.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpviolinplot.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpviolinplotstylingmixins.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpstatisticsadaptors.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpscatter.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtprange.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpspecialline.cpp \
|
||||
$$PWD/jkqtplotter/graphs/jkqtpbarchart.cpp \
|
||||
$$PWD/jkqtplotter/overlays/jkqtpbasicoverlays.cpp \
|
||||
$$PWD/jkqtplotter/gui/jkqtpcomboboxes.cpp \
|
||||
$$PWD/jkqtplotter/gui/jkqtpenhancedspinboxes.cpp \
|
||||
$$PWD/jkqtplotter/gui/jkqtpenhancedtableview.cpp \
|
||||
$$PWD/jkqtplotter/gui/jkqtpgraphsmodel.cpp \
|
||||
$$PWD/jkqtplotter/gui/jkvanishqtoolbar.cpp \
|
||||
$$PWD/jkqtplotter/jkqtpimagetools.cpp
|
||||
$$PWD/jkqtplotter/gui/jkvanishqtoolbar.cpp
|
||||
|
||||
|
||||
RESOURCES += $$PWD/jkqtplotter/resources/jkqtpbaseplotter.qrc \
|
||||
|
@ -24,85 +24,100 @@ set(SRCS
|
||||
jkqtpbaseelements.cpp
|
||||
jkqtpbaseplotter.cpp
|
||||
jkqtpdatastorage.cpp
|
||||
jkqtpelementsoverlay.cpp
|
||||
jkqtpgraphsscatter.cpp
|
||||
jkqtpgraphsrange.cpp
|
||||
jkqtpgraphsspecialline.cpp
|
||||
jkqtpgraphsbarchart.cpp
|
||||
jkqtpoverlaysbase.cpp
|
||||
jkqtpgraphsbase.cpp
|
||||
jkqtpgraphsbaseerrors.cpp
|
||||
jkqtpgraphsbasestylingmixins.cpp
|
||||
jkqtpgraphsboxplot.cpp
|
||||
jkqtpgraphsboxplotstylingmixins.cpp
|
||||
jkqtpgraphsevaluatedfunction.cpp
|
||||
jkqtpgraphsfilledcurve.cpp
|
||||
jkqtpgraphsgeometric.cpp
|
||||
jkqtpgraphsimage.cpp
|
||||
jkqtpgraphsimpulses.cpp
|
||||
jkqtpgraphsparsedfunction.cpp
|
||||
jkqtpgraphspeakstream.cpp
|
||||
jkqtpgraphssinglecolumnsymbols.cpp
|
||||
jkqtpgraphsimageoverlays.cpp
|
||||
jkqtpgraphscontour.cpp
|
||||
jkqtpgraphsimagergb.cpp
|
||||
jkqtpgraphsviolinplot.cpp
|
||||
jkqtpgraphsviolinplotstylingmixins.cpp
|
||||
jkqtpgraphsstatisticsadaptors.cpp
|
||||
jkqtplotter.cpp
|
||||
jkqtplotterstyle.cpp
|
||||
jkqtpkeystyle.cpp
|
||||
jkqtpbaseplotterstyle.cpp
|
||||
jkqtpcoordinateaxes.cpp
|
||||
jkqtpcoordinateaxesstyle.cpp
|
||||
jkqtpimagetools.cpp
|
||||
)
|
||||
set(SRCS_GRAPHS
|
||||
graphs/jkqtpscatter.cpp
|
||||
graphs/jkqtprange.cpp
|
||||
graphs/jkqtpspecialline.cpp
|
||||
graphs/jkqtpbarchart.cpp
|
||||
graphs/jkqtpboxplot.cpp
|
||||
graphs/jkqtpboxplotstylingmixins.cpp
|
||||
graphs/jkqtpevaluatedfunction.cpp
|
||||
graphs/jkqtpfilledcurve.cpp
|
||||
graphs/jkqtpgeometric.cpp
|
||||
graphs/jkqtpimage.cpp
|
||||
graphs/jkqtpimpulses.cpp
|
||||
graphs/jkqtpparsedfunction.cpp
|
||||
graphs/jkqtppeakstream.cpp
|
||||
graphs/jkqtpsinglecolumnsymbols.cpp
|
||||
graphs/jkqtpimageoverlays.cpp
|
||||
graphs/jkqtpcontour.cpp
|
||||
graphs/jkqtpimagergb.cpp
|
||||
graphs/jkqtpviolinplot.cpp
|
||||
graphs/jkqtpviolinplotstylingmixins.cpp
|
||||
graphs/jkqtpstatisticsadaptors.cpp
|
||||
)
|
||||
set(SRCS_OVERLAYS
|
||||
overlays/jkqtpbasicoverlays.cpp
|
||||
)
|
||||
set(SRCS_GUI
|
||||
gui/jkqtpcomboboxes.cpp
|
||||
gui/jkqtpenhancedspinboxes.cpp
|
||||
gui/jkqtpenhancedtableview.cpp
|
||||
gui/jkqtpgraphsmodel.cpp
|
||||
gui/jkvanishqtoolbar.cpp
|
||||
jkqtpimagetools.cpp
|
||||
)
|
||||
|
||||
|
||||
set(HEADERS
|
||||
jkqtptools.h
|
||||
jkqtpbaseelements.h
|
||||
jkqtpbaseplotter.h
|
||||
jkqtpdatastorage.h
|
||||
jkqtpelementsoverlay.h
|
||||
jkqtpgraphsscatter.h
|
||||
jkqtpgraphsrange.h
|
||||
jkqtpgraphsspecialline.h
|
||||
jkqtpgraphsbarchart.h
|
||||
jkqtpoverlaysbase.h
|
||||
jkqtpgraphsbase.h
|
||||
jkqtpgraphsbaseerrors.h
|
||||
jkqtpgraphsbasestylingmixins.h
|
||||
jkqtpgraphsboxplot.h
|
||||
jkqtpgraphsboxplotstylingmixins.h
|
||||
jkqtpgraphsevaluatedfunction.h
|
||||
jkqtpgraphsfilledcurve.h
|
||||
jkqtpgraphsgeometric.h
|
||||
jkqtpgraphsimage.h
|
||||
jkqtpgraphsimpulses.h
|
||||
jkqtpgraphsparsedfunction.h
|
||||
jkqtpgraphspeakstream.h
|
||||
jkqtpgraphssinglecolumnsymbols.h
|
||||
jkqtpgraphsimageoverlays.h
|
||||
jkqtpgraphscontour.h
|
||||
jkqtpgraphsimagergb.h
|
||||
jkqtpgraphsviolinplot.h
|
||||
jkqtpgraphsviolinplotstylingmixins.h
|
||||
jkqtpgraphsstatisticsadaptors.h
|
||||
jkqtplotter.h
|
||||
jkqtplotterstyle.h
|
||||
jkqtpkeystyle.h
|
||||
jkqtpbaseplotterstyle.h
|
||||
jkqtpcoordinateaxes.h
|
||||
jkqtpcoordinateaxesstyle.h
|
||||
jkqtpimagetools.h
|
||||
)
|
||||
set(HEADERS_GRAPHS
|
||||
graphs/jkqtpboxplot.h
|
||||
graphs/jkqtpboxplotstylingmixins.h
|
||||
graphs/jkqtpevaluatedfunction.h
|
||||
graphs/jkqtpfilledcurve.h
|
||||
graphs/jkqtpgeometric.h
|
||||
graphs/jkqtpimage.h
|
||||
graphs/jkqtpimpulses.h
|
||||
graphs/jkqtpparsedfunction.h
|
||||
graphs/jkqtppeakstream.h
|
||||
graphs/jkqtpsinglecolumnsymbols.h
|
||||
graphs/jkqtpimageoverlays.h
|
||||
graphs/jkqtpcontour.h
|
||||
graphs/jkqtpimagergb.h
|
||||
graphs/jkqtpviolinplot.h
|
||||
graphs/jkqtpviolinplotstylingmixins.h
|
||||
graphs/jkqtpstatisticsadaptors.h
|
||||
graphs/jkqtpscatter.h
|
||||
graphs/jkqtprange.h
|
||||
graphs/jkqtpspecialline.h
|
||||
graphs/jkqtpbarchart.h
|
||||
)
|
||||
set(HEADERS_OVERLAY
|
||||
overlays/jkqtpbasicoverlays.h
|
||||
)
|
||||
set(HEADERS_GUI
|
||||
gui/jkqtpcomboboxes.h
|
||||
gui/jkqtpenhancedspinboxes.h
|
||||
gui/jkqtpenhancedtableview.h
|
||||
gui/jkqtpgraphsmodel.h
|
||||
gui/jkvanishqtoolbar.h
|
||||
jkqtpimagetools.h
|
||||
)
|
||||
|
||||
set(RESOURCES
|
||||
@ -112,7 +127,7 @@ set(RESOURCES
|
||||
|
||||
|
||||
if(BUILD_SHARED_LIBS)
|
||||
add_library(${libsh_name} SHARED ${SRCS} ${HEADERS} ${RESOURCES})
|
||||
add_library(${libsh_name} SHARED ${SRCS} ${SRCS_GRAPHS} ${SRCS_GUI} ${SRCS_OVERLAYS} ${HEADERS} ${HEADERS_GRAPHS} ${HEADERS_GUI} ${HEADERS_OVERLAYS} ${RESOURCES})
|
||||
set_property(TARGET ${libsh_name} PROPERTY VERSION "${PROJECT_VERSION}")
|
||||
target_link_libraries(${libsh_name} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport Qt5::Svg Qt5::Xml JKQTCommonSharedLib JKQTMathTextSharedLib)
|
||||
target_compile_definitions(${libsh_name} PRIVATE JKQTP_LIB_IN_DLL)
|
||||
@ -120,7 +135,7 @@ if(BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
|
||||
if(BUILD_STATIC_LIBS)
|
||||
add_library(${lib_name} STATIC ${SRCS} ${HEADERS} ${RESOURCES})
|
||||
add_library(${lib_name} STATIC ${SRCS} ${SRCS_GRAPHS} ${SRCS_GUI} ${SRCS_OVERLAYS} ${HEADERS} ${HEADERS_GRAPHS} ${HEADERS_GUI} ${HEADERS_OVERLAYS} ${RESOURCES})
|
||||
set_property(TARGET ${lib_name} PROPERTY VERSION "${PROJECT_VERSION}")
|
||||
target_link_libraries(${lib_name} Qt5::Core Qt5::Gui Qt5::Widgets Qt5::PrintSupport Qt5::Svg Qt5::Xml JKQTCommonLib JKQTMathTextLib)
|
||||
endif()
|
||||
@ -135,7 +150,7 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
)
|
||||
endif(BUILD_SHARED_LIBS)
|
||||
|
||||
@ -144,7 +159,7 @@ if(LIB_INSTALL)
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
)
|
||||
endif(BUILD_STATIC_LIBS)
|
||||
|
||||
@ -152,4 +167,16 @@ if(LIB_INSTALL)
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter
|
||||
COMPONENT Headers)
|
||||
|
||||
install(FILES ${HEADERS_GRAPHS}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter/graphs
|
||||
COMPONENT Headers)
|
||||
|
||||
install(FILES ${HEADERS_GUI}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter/gui
|
||||
COMPONENT Headers)
|
||||
|
||||
install(FILES ${SRCS_OVERLAYS}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/jkqtplotter/overlays
|
||||
COMPONENT Headers)
|
||||
|
||||
endif(LIB_INSTALL)
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsbarchart.h"
|
||||
#include "jkqtplotter/graphs/jkqtpbarchart.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsboxplot.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplot.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#define SmallestGreaterZeroCompare_xvsgz() if ((xvsgz>10.0*DBL_MIN)&&((smallestGreaterZero<10.0*DBL_MIN) || (xvsgz<smallestGreaterZero))) smallestGreaterZero=xvsgz;
|
@ -25,7 +25,7 @@
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbase.h"
|
||||
#include "jkqtplotter/jkqtpgraphsboxplotstylingmixins.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplotstylingmixins.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
|
||||
|
||||
#ifndef jkqtpgraphsboxplot_H
|
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsboxplotstylingmixins.h"
|
||||
#include "jkqtplotter/graphs/jkqtpboxplotstylingmixins.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
|
@ -18,13 +18,12 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphscontour.h"
|
||||
#include "jkqtplotter/graphs/jkqtpcontour.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtcommon/jkqtpenhancedpainter.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtpgraphscontour.h"
|
||||
#include <QDebug>
|
||||
#include <QImageWriter>
|
||||
#include <QFileDialog>
|
@ -27,10 +27,10 @@
|
||||
#include <QImage>
|
||||
#include <QVector3D>
|
||||
#include <QIcon>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
@ -19,16 +19,15 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsevaluatedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpevaluatedfunction.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtpgraphsevaluatedfunction.h"
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <QString>
|
||||
#include <QPainter>
|
||||
#include <QPair>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
||||
#include <functional>
|
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsfilledcurve.h"
|
||||
#include "jkqtplotter/graphs/jkqtpfilledcurve.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#define SmallestGreaterZeroCompare_xvsgz() if ((xvsgz>10.0*DBL_MIN)&&((smallestGreaterZero<10.0*DBL_MIN) || (xvsgz<smallestGreaterZero))) smallestGreaterZero=xvsgz;
|
@ -21,7 +21,7 @@
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbase.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbaseerrors.h"
|
||||
#include "jkqtplotter/jkqtpgraphsspecialline.h"
|
||||
#include "jkqtplotter/graphs/jkqtpspecialline.h"
|
||||
|
||||
#ifndef jkqtpgraphsfilledcurve_H
|
||||
#define jkqtpgraphsfilledcurve_H
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsgeometric.h"
|
||||
#include "jkqtplotter/graphs/jkqtpgeometric.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include <stdlib.h>
|
@ -21,7 +21,7 @@
|
||||
#include <QString>
|
||||
#include <QPainter>
|
||||
#include <QPair>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtpgraphsbasestylingmixins.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
@ -26,7 +26,7 @@
|
||||
#include <QPainter>
|
||||
#include <QImage>
|
||||
#include <QIcon>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsimageoverlays.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimageoverlays.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
@ -26,10 +26,10 @@
|
||||
#include <QPainter>
|
||||
#include <QImage>
|
||||
#include <QIcon>
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsimagergb.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimagergb.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtpimagetools.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
@ -26,7 +26,7 @@
|
||||
#include <QPainter>
|
||||
#include <QImage>
|
||||
#include <QIcon>
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtcommon/jkqtp_imexport.h"
|
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsimpulses.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimpulses.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include <stdlib.h>
|
||||
#include <QDebug>
|
||||
#include <iostream>
|
||||
#include "jkqtplotter/jkqtptools.h"
|
||||
#include "jkqtplotter/jkqtpgraphsimage.h"
|
||||
#include "jkqtplotter/graphs/jkqtpimage.h"
|
||||
#include "jkqtplotter/jkqtpbaseelements.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#define SmallestGreaterZeroCompare_xvsgz() if ((xvsgz>10.0*DBL_MIN)&&((smallestGreaterZero<10.0*DBL_MIN) || (xvsgz<smallestGreaterZero))) smallestGreaterZero=xvsgz;
|
@ -17,8 +17,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "jkqtplotter/jkqtpgraphsparsedfunction.h"
|
||||
#include "jkqtplotter/jkqtpgraphsscatter.h"
|
||||
#include "jkqtplotter/graphs/jkqtpparsedfunction.h"
|
||||
#include "jkqtplotter/graphs/jkqtpscatter.h"
|
||||
#include "jkqtplotter/jkqtpbaseplotter.h"
|
||||
#include "jkqtplotter/jkqtplotter.h"
|
||||
#include "jkqtplotter/jkqtptools.h"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user