JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
|
Classes | |
struct | JKQTPGridPrintingItem |
used to represent the position of other graphs in Saving and Printing Graphs More... | |
class | JKQTPPaintDeviceAdapter |
Service from this class to implement a special QPaintDevice as a plugin, that can be registered to JKQTBasePlotter/JKQTPlotter and then be used to export graphics, use registerPaintDeviceAdapter() to register such a plass. More... | |
class | JKQTPSaveDataAdapter |
virtual base-class for exporter classes that can be used to save data inot a file More... | |
Macros | |
#define | JKQTPLOTTER_COMPILE_WITHOUT_PRINTSUPPORT |
This is defined if JKQtPlotter shall be compiled without print-support, or print-support is not available. | |
#define | JKQTPLOTTER_LIB_EXPORT Q_DECL_EXPORT |
#define | JKQTPLOTTER_LIB_EXPORT_LIBRARY |
is only defined while compiling JKQTPlotter into JKQTPlotterSharedLib_XYZ and ensures thet the symbols are exported. If it is not defined (e.g. while compiling an application), the symbols are imported | |
#define | JKQTPLOTTER_LIB_IN_DLL |
declares that the application should link against a shared version of JKQTPlotter, i.e. JKQTPlotterSharedLib_XYZ . This needs to be defined while compiling the library and while compiling any application linking against JKQTPlotterSharedLib_XYZ . | |
#define | JKQTPLOTTER_WORKAROUND_QGADGET_BUG |
This #define is used to work around a bug in Qt when compiled with CLANG (see https://bugreports.qt.io/browse/QTBUG-104874): Multiple inheritance does not work with Q_GADGET in this setup. | |
Typedefs | |
typedef JKQTPCoordinateAxes | JKQTPCoordinateAxisRef |
type for indexing coordinate axes in a plot | |
typedef QFlags< JKQTPKeyPositions > | JKQTPKeyPosition |
position of the key | |
typedef QHash< QPair< Qt::MouseButton, Qt::KeyboardModifiers >, JKQTPMouseDoubleClickActions > | JKQTPMouseDoubleClickActionsHashMap |
data structure for storage of assigned JKQTPMouseDoubleClickActions | |
typedef JKQTPMouseDoubleClickActionsHashMap::const_iterator | JKQTPMouseDoubleClickActionsHashMapIterator |
iterator for JKQTPMouseDoubleClickActionsHashMap | |
typedef QHash< QPair< Qt::MouseButton, Qt::KeyboardModifiers >, JKQTPMouseDragActions > | JKQTPMouseDragActionsHashMap |
data structure for storage of assigned JKQTPMouseDragActions | |
typedef JKQTPMouseDragActionsHashMap::const_iterator | JKQTPMouseDragActionsHashMapIterator |
iterator for JKQTPMouseDragActionsHashMap | |
typedef QHash< Qt::KeyboardModifiers, JKQTPMouseMoveActions > | JKQTPMouseMoveActionsHashMap |
data structure for storage of assigned JKQTPMouseMoveActions | |
typedef JKQTPMouseMoveActionsHashMap::const_iterator | JKQTPMouseMoveActionsHashMapIterator |
iterator for JKQTPMouseMoveActionsHashMap | |
typedef QHash< Qt::KeyboardModifiers, JKQTPMouseWheelActions > | JKQTPMouseWheelActionsHashMap |
data structure for storage of assigned JKQTPMouseWheelActions | |
typedef JKQTPMouseWheelActionsHashMap::const_iterator | JKQTPMouseWheelActionsHashMapIterator |
iterator for JKQTPMouseWheelActionsHashMap | |
Enumerations | |
enum | JKQTPCADrawModeElements { JKQTPCADMLine =0x01 , JKQTPCADMTicks =0x02 , JKQTPCADMTickLabels =0x04 , JKQTPCADMAxisLabel =0x08 , JKQTPCADMMaxArrow =0x0100 , JKQTPCADMMaxFilledArrow =0x0200 , JKQTPCADMMinArrow =0x1000 , JKQTPCADMMinFilledArrow =0x2000 , JKQTPCADMLineTicksTickLabels =JKQTPCADMLine|JKQTPCADMTicks|JKQTPCADMTickLabels , JKQTPCADMLineTicks =JKQTPCADMLine|JKQTPCADMTicks , JKQTPCADMTicksTickLabelsAxisLabel =JKQTPCADMTicks|JKQTPCADMTickLabels|JKQTPCADMAxisLabel , JKQTPCADMTicksTickLabels =JKQTPCADMTicks|JKQTPCADMTickLabels , JKQTPCADMTickLabelsAxisLabel =JKQTPCADMTickLabels|JKQTPCADMAxisLabel , JKQTPCADMnone =0x0000 , JKQTPCADMcomplete =JKQTPCADMLine|JKQTPCADMTicks|JKQTPCADMTickLabels|JKQTPCADMAxisLabel , JKQTPCADMcompleteMaxArrow =JKQTPCADMcomplete|JKQTPCADMMaxFilledArrow , JKQTPCADMcompleteMinMaxArrow =JKQTPCADMcomplete|JKQTPCADMMaxFilledArrow|JKQTPCADMMinFilledArrow } |
drawing flags for a coordinate axis More... | |
enum | JKQTPCALabelType { JKQTPCALTdefault =0 , JKQTPCALTscientific , JKQTPCALTexponentCharacter , JKQTPCALTexponent , JKQTPCALTprintf , JKQTPCALTdate , JKQTPCALTtime , JKQTPCALTdatetime , JKQTPCALTfrac , JKQTPCALTslashfrac , JKQTPCALTsfrac , JKQTPCALTintfrac , JKQTPCALTintslashfrac , JKQTPCALTintsfrac , JKQTPCALTformat , JKQTPCALTcount , JKQTPCALTmax =JKQTPCALTcount-1 } |
display mode for the (axis) labels More... | |
enum | JKQTPContextMenuModes { jkqtpcmmStandardContextMenu =0 , jkqtpcmmSpecialContextMenu , jkqtpcmmStandardAndSpecialContextMenu , jkqtpcmmNoContextMenu } |
modes for the context menu More... | |
enum | JKQTPCoordinateAxes : uint8_t { JKQTPPrimaryAxis =0 , JKQTPSecondaryAxis =1 } |
named references for different oordinate axes in the plot More... | |
enum | JKQTPKeyLayout { JKQTPKeyLayoutOneColumn =0 , JKQTPKeyLayoutOneRow , JKQTPKeyLayoutMultiColumn , JKQTPKeyLayoutMultiRow , JKQTPKeyLayoutMax =JKQTPKeyLayoutMultiRow } |
layout of the key More... | |
enum | JKQTPKeyPositions { JKQTPKeyInside =0x0001 , JKQTPKeyOutsideTop =0x0010 , JKQTPKeyOutsideBottom =0x0020 , JKQTPKeyOutsideLeft =0x0040 , JKQTPKeyOutsideRight =0x0080 , JKQTPKeyLeft =0x0100 , JKQTPKeyHCenter =0x0200 , JKQTPKeyRight =0x0400 , JKQTPKeyTop =0x1000 , JKQTPKeyVCenter =0x2000 , JKQTPKeyBottom =0x4000 , JKQTPKeyOutsideTopRight =JKQTPKeyOutsideTop|JKQTPKeyBottom|JKQTPKeyRight , JKQTPKeyOutsideTopLeft =JKQTPKeyOutsideTop|JKQTPKeyBottom|JKQTPKeyLeft , JKQTPKeyOutsideTopCenter =JKQTPKeyOutsideTop|JKQTPKeyBottom|JKQTPKeyHCenter , JKQTPKeyOutsideBottomLeft =JKQTPKeyOutsideBottom|JKQTPKeyTop|JKQTPKeyLeft , JKQTPKeyOutsideBottomRight =JKQTPKeyOutsideBottom|JKQTPKeyTop|JKQTPKeyRight , JKQTPKeyOutsideBottomCenter =JKQTPKeyOutsideBottom|JKQTPKeyTop|JKQTPKeyHCenter , JKQTPKeyOutsideLeftTop =JKQTPKeyOutsideLeft|JKQTPKeyTop|JKQTPKeyRight , JKQTPKeyOutsideLeftCenter =JKQTPKeyOutsideLeft|JKQTPKeyVCenter|JKQTPKeyRight , JKQTPKeyOutsideLeftBottom =JKQTPKeyOutsideLeft|JKQTPKeyBottom|JKQTPKeyRight , JKQTPKeyOutsideRightBottom =JKQTPKeyOutsideRight|JKQTPKeyBottom|JKQTPKeyLeft , JKQTPKeyOutsideRightCenter =JKQTPKeyOutsideRight|JKQTPKeyVCenter|JKQTPKeyLeft , JKQTPKeyOutsideRightTop =JKQTPKeyOutsideRight|JKQTPKeyTop|JKQTPKeyLeft , JKQTPKeyInsideTopRight =JKQTPKeyInside|JKQTPKeyTop|JKQTPKeyRight , JKQTPKeyInsideTopLeft =JKQTPKeyInside|JKQTPKeyTop|JKQTPKeyLeft , JKQTPKeyInsideBottomLeft =JKQTPKeyInside|JKQTPKeyBottom|JKQTPKeyLeft , JKQTPKeyInsideBottomRight =JKQTPKeyInside|JKQTPKeyBottom|JKQTPKeyRight , JKQTPKeyInsideTop =JKQTPKeyInside|JKQTPKeyTop|JKQTPKeyHCenter , JKQTPKeyInsideBottom =JKQTPKeyInside|JKQTPKeyBottom|JKQTPKeyHCenter , JKQTPKeyInsideLeft =JKQTPKeyInside|JKQTPKeyVCenter|JKQTPKeyLeft , JKQTPKeyInsideRight =JKQTPKeyInside|JKQTPKeyVCenter|JKQTPKeyRight , JKQTPKeyDefaultPosition =JKQTPKeyInsideTopRight } |
position of the key More... | |
enum | JKQTPLabelPosition { JKQTPLabelMin =0 , JKQTPLabelMax , JKQTPLabelCenter , JKQTPLabelMinBesides , JKQTPLabelMaxBesides , JKQTPLabelPositionMax =JKQTPLabelMaxBesides } |
position of the axis labels More... | |
enum | JKQTPLabelTickMode { JKQTPLTMLinOrPower =0 , JKQTPLTMLin , JKQTPLTMPower , JKQTPLTMmax =JKQTPLTMPower } |
mode of the axis ticks More... | |
enum | JKQTPMouseDoubleClickActions { jkqtpdcaClickZoomsIn =0 , jkqtpdcaClickZoomsOut , jkqtpdcaClickOpensContextMenu , jkqtpdcaClickOpensSpecialContextMenu , jkqtpdcaClickMovesViewport } |
actions that can be bound to a double-click of the mouse More... | |
enum | JKQTPMouseDragActions { jkqtpmdaPanPlotOnMove =0 , jkqtpmdaPanPlotOnRelease , jkqtpmdaZoomByRectangle , jkqtpmdaDrawRectangleForEvent , jkqtpmdaDrawCircleForEvent , jkqtpmdaDrawEllipseForEvent , jkqtpmdaDrawLineForEvent , jkqtpmdaScribbleForEvents , jkqtpmdaToolTipForClosestDataPoint , jkqtpmdaRuler } |
Availble action this JKQtPlotter can perform when mouse events occur. This allows you to e.g. draw rectangles or lines over the plot and receive a signal, when the drawing finishes. More... | |
enum | JKQTPMouseMoveActions { jkqtpmmaToolTipForClosestDataPoint } |
Availble action this JKQtPlotter can perform when mouse events occur. This allows you to e.g. draw rectangles or lines over the plot and receive a signal, when the drawing finishes. More... | |
enum | JKQTPMouseWheelActions { jkqtpmwaZoomByWheel =0 , jkqtpmwaPanByWheel , jkqtpmwaZoomByWheelAndTrackpadPan } |
actions that can be bound to a mouse wheel event More... | |
enum class | JKQTPPlotStyleType { JKQTPPlotStyleType::Default , JKQTPPlotStyleType::Barchart , JKQTPPlotStyleType::Boxplot , JKQTPPlotStyleType::Filled , JKQTPPlotStyleType::Impulses , JKQTPPlotStyleType::Geometric , JKQTPPlotStyleType::Annotation , JKQTPPlotStyleType::FinancialPositive , JKQTPPlotStyleType::FinancialNegative } |
used to specify teh type of graph when calling getPlotStyle() More... | |
enum | JKQTPUserActionMarkerType { jkqtpuamtCircle =0 , jkqtpuamtCrossHair =1 , jkqtpuamtCircleAndCrossHair =2 } |
Styles in which to mark single positions during user actions in JKQTPlotter. More... | |
Functions | |
JKQTPLOTTER_LIB_EXPORT void | initJKQTBasePlotterResources () |
initialized Qt-ressources necessary for JKQTBasePlotter | |
JKQTPLOTTER_LIB_EXPORT void | initJKQTPlotterResources () |
initialized Qt-ressources necessary for JKQTPlotter | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPCADrawMode2String (JKQTPCADrawMode pos) |
converts a JKQTPCADrawMode variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPCALabelType2String (JKQTPCALabelType pos) |
converts a JKQTPCALabelType variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPContextMenuModes2String (JKQTPContextMenuModes act) |
convert a JKQTPContextMenuModes to a QString | |
JKQTPLOTTER_LIB_EXPORT QList< JKQTPKeyPosition > | JKQTPGetTypicalKeyPositions () |
returns a list of typical positions of the main key | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPKeyLayout2String (JKQTPKeyLayout pos) |
converts a JKQTPKeyLayout variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPKeyPosition2String (JKQTPKeyPosition pos) |
converts a JKQTPLabelPosition variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPLabelPosition2String (JKQTPLabelPosition pos) |
converts a JKQTPLabelPosition variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPLabelTickMode2String (JKQTPLabelTickMode pos) |
converts a JKQTPLabelTickMode variable into a human-readable string | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPMouseDoubleClickActions2String (JKQTPMouseDoubleClickActions act) |
convert a JKQTPMouseDoubleClickActions to a QString | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPMouseDragActions2String (JKQTPMouseDragActions act) |
convert a JKQTPMouseDragActions to a QString | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPMouseMoveActions2String (JKQTPMouseMoveActions act) |
convert a JKQTPMouseDragActions to a QString | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPMouseWheelActions2String (JKQTPMouseWheelActions act) |
convert a JKQTPMouseWheelActions to a QString | |
JKQTPLOTTER_LIB_EXPORT QString | JKQTPUserActionMarkerType2String (JKQTPUserActionMarkerType act) |
convert a JKQTPUserActionMarkerType to a QString | |
size_t | qHash (const JKQTBasePlotter::textSizeKey &data, size_t) |
qHash()-specialization | |
QT_BEGIN_NAMESPACE size_t | qHash (const QPair< Qt::MouseButton, Qt::KeyboardModifiers > &key, size_t) |
qHash-variant used by JKQTPlotter | |
size_t | qHash (const Qt::KeyboardModifiers &key, size_t) |
qHash-variant used by JKQTPlotter | |
size_t | qHash (const Qt::MouseButton &key, size_t) |
qHash-variant used by JKQTPlotter | |
JKQTPLOTTER_LIB_EXPORT JKQTPCADrawMode | String2JKQTPCADrawMode (const QString &pos) |
converts a string into a JKQTPCADrawMode | |
JKQTPLOTTER_LIB_EXPORT JKQTPCALabelType | String2JKQTPCALabelType (const QString &pos) |
converts a string into a JKQTPCALabelType | |
JKQTPLOTTER_LIB_EXPORT JKQTPContextMenuModes | String2JKQTPContextMenuModes (const QString &act) |
convert a QString (created by JKQTPContextMenuModes2String() ) to JKQTPContextMenuModes | |
JKQTPLOTTER_LIB_EXPORT JKQTPKeyLayout | String2JKQTPKeyLayout (const QString &pos) |
converts a String into a JKQTPKeyLayout | |
JKQTPLOTTER_LIB_EXPORT JKQTPKeyPosition | String2JKQTPKeyPosition (const QString &pos) |
converts a string into a JKQTPLabelPosition | |
JKQTPLOTTER_LIB_EXPORT JKQTPLabelPosition | String2JKQTPLabelPosition (const QString &pos) |
converts a string into a JKQTPLabelPosition | |
JKQTPLOTTER_LIB_EXPORT JKQTPLabelTickMode | String2JKQTPLabelTickMode (const QString &pos) |
converts a string into a JKQTPLabelTickMode | |
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDoubleClickActions | String2JKQTPMouseDoubleClickActions (const QString &act) |
convert a QString (created by JKQTPMouseDoubleClickActions2String() ) to JKQTPMouseDoubleClickActions | |
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDragActions | String2JKQTPMouseDragActions (const QString &button) |
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions | |
JKQTPLOTTER_LIB_EXPORT JKQTPMouseMoveActions | String2JKQTPMouseMoveActions (const QString &button) |
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions | |
JKQTPLOTTER_LIB_EXPORT JKQTPMouseWheelActions | String2JKQTPMouseWheelActions (const QString &act) |
convert a QString (created by JKQTPMouseWheelActions2String() ) to JKQTPMouseWheelActions | |
JKQTPLOTTER_LIB_EXPORT JKQTPUserActionMarkerType | String2JKQTPUserActionMarkerType (const QString &act) |
convert a QString (created by JKQTPUserActionMarkerType2String() ) to JKQTPUserActionMarkerType | |
struct JKQTPGridPrintingItem |
used to represent the position of other graphs in Saving and Printing Graphs
Class Members | ||
---|---|---|
JKQTBasePlotter * | plotter | JKQTBasePlotter. |
size_t | x | logic x-position of a graph, relative to the current JKQtPlotter |
size_t | y | logic y-position of a graph, relative to the current JKQtPlotter |
#define JKQTPLOTTER_COMPILE_WITHOUT_PRINTSUPPORT |
This is defined if JKQtPlotter shall be compiled without print-support, or print-support is not available.
This can be used by surrounding code that requires print-support with
#define JKQTPLOTTER_LIB_EXPORT Q_DECL_EXPORT |
This define allows to export functions and classes from the jkqtcommon-library when building a dynamic/shared library. Usage is as follows:
These macros append the appropriate Q_DECL_EXPORT
and Q_DECL_IMPORT
to the function/class body and thus tell windows compilers to export these sysmbols from the shared library, or import them from a shared library.
Note that these attributes are only necessary on windows systems!
These macros are controlled by two other macros:
JKQTPLOTTER_LIB_IN_DLL
declares that the application should link against a shared version of JKQTPlotter, i.e. JKQTPlotterSharedLib_XYZ
. This needs to be defined while compiling the library and while compiling any application linking against JKQTPlotterSharedLib_XYZ
.JKQTPLOTTER_LIB_EXPORT_LIBRARY
is only defined while compiling JKQTPlotter into JKQTPlotterSharedLib_XYZ
and ensures thet the symbols are exported. If it is not defined (e.g. while compiling an application), the symbols are imported . #define JKQTPLOTTER_LIB_EXPORT_LIBRARY |
is only defined while compiling JKQTPlotter into JKQTPlotterSharedLib_XYZ
and ensures thet the symbols are exported. If it is not defined (e.g. while compiling an application), the symbols are imported
#define JKQTPLOTTER_LIB_IN_DLL |
declares that the application should link against a shared version of JKQTPlotter, i.e. JKQTPlotterSharedLib_XYZ
. This needs to be defined while compiling the library and while compiling any application linking against JKQTPlotterSharedLib_XYZ
.
#define JKQTPLOTTER_WORKAROUND_QGADGET_BUG |
This #define
is used to work around a bug in Qt when compiled with CLANG (see https://bugreports.qt.io/browse/QTBUG-104874): Multiple inheritance does not work with Q_GADGET in this setup.
This can be used by surrounding code that causes compile-errors due to this bug with
type for indexing coordinate axes in a plot
typedef QFlags< JKQTPKeyPositions > JKQTPKeyPosition |
position of the key
QFlags< JKQTPKeyPositions >
. It stores an OR (||
) combination of JKQTPKeyPositions values.typedef QHash<QPair<Qt::MouseButton,Qt::KeyboardModifiers>, JKQTPMouseDoubleClickActions> JKQTPMouseDoubleClickActionsHashMap |
data structure for storage of assigned JKQTPMouseDoubleClickActions
typedef JKQTPMouseDoubleClickActionsHashMap::const_iterator JKQTPMouseDoubleClickActionsHashMapIterator |
iterator for JKQTPMouseDoubleClickActionsHashMap
typedef QHash<QPair<Qt::MouseButton,Qt::KeyboardModifiers>, JKQTPMouseDragActions> JKQTPMouseDragActionsHashMap |
data structure for storage of assigned JKQTPMouseDragActions
typedef JKQTPMouseDragActionsHashMap::const_iterator JKQTPMouseDragActionsHashMapIterator |
iterator for JKQTPMouseDragActionsHashMap
typedef QHash<Qt::KeyboardModifiers, JKQTPMouseMoveActions> JKQTPMouseMoveActionsHashMap |
data structure for storage of assigned JKQTPMouseMoveActions
typedef JKQTPMouseMoveActionsHashMap::const_iterator JKQTPMouseMoveActionsHashMapIterator |
iterator for JKQTPMouseMoveActionsHashMap
typedef QHash<Qt::KeyboardModifiers, JKQTPMouseWheelActions> JKQTPMouseWheelActionsHashMap |
data structure for storage of assigned JKQTPMouseWheelActions
typedef JKQTPMouseWheelActionsHashMap::const_iterator JKQTPMouseWheelActionsHashMapIterator |
iterator for JKQTPMouseWheelActionsHashMap
drawing flags for a coordinate axis
enum JKQTPCALabelType |
display mode for the (axis) labels
Enumerator | |
---|---|
JKQTPCALTdefault | simply print the numbers |
JKQTPCALTscientific | print the numbers in scientific notation, e.g. |
JKQTPCALTexponentCharacter | print the numbers and show a unit character, i.e. 5μ for , |
JKQTPCALTexponent | show numbers in exponential for, e.g. ... |
JKQTPCALTprintf | generate axis label from an arbitrary "printf" formatting string (see e.g. https://en.wikipedia.org/wiki/Printf_format_string ). The first data parameter is the tick value as |
JKQTPCALTdate | show numbers as dates |
JKQTPCALTtime | show numbers as times |
JKQTPCALTdatetime | show numbers as times |
JKQTPCALTfrac | show numbers as fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed like |
JKQTPCALTslashfrac | show numbers as fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed like |
JKQTPCALTsfrac | show numbers as fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed using |
JKQTPCALTintfrac | show numbers as integral+fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed like |
JKQTPCALTintslashfrac | show numbers as integral+fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed like |
JKQTPCALTintsfrac | show numbers as integral+fraction, the number is first rounded to the given precision and then a fraction is calculated and displayed using |
JKQTPCALTformat | generate axis label from an arbitrary "std::format" formatting string (see e.g. https://en.cppreference.com/w/cpp/utility/format/formatter#Standard_format_specification ). The first data parameter is the tick value as NOte: This option is only available for C++20 and above, use the CMake option |
JKQTPCALTcount | |
JKQTPCALTmax |
modes for the context menu
enum JKQTPCoordinateAxes : uint8_t |
enum JKQTPKeyLayout |
layout of the key
enum JKQTPKeyPositions |
position of the key
enum JKQTPLabelPosition |
position of the axis labels
enum JKQTPLabelTickMode |
actions that can be bound to a double-click of the mouse
Availble action this JKQtPlotter can perform when mouse events occur. This allows you to e.g. draw rectangles or lines over the plot and receive a signal, when the drawing finishes.
Enumerator | |
---|---|
jkqtpmdaPanPlotOnMove | the user can drag the current plot window while keeping the left mouse-button pushed down (=panning), the new widow is applied/displayed whenever the mouse moves |
jkqtpmdaPanPlotOnRelease | the user can drag the current plot window while keeping the left mouse-button pushed down (=panning), the new widow is applied/displayed when the left mouse button is released |
jkqtpmdaZoomByRectangle | draw a rectangle and when finish zoom to that rectangle |
jkqtpmdaDrawRectangleForEvent | draw a rectangle and when finished execute the signal JKQTPlotter::userRectangleFinished() |
jkqtpmdaDrawCircleForEvent | draw a circle and when finished execute the signal JKQTPlotter::userCircleFinished() |
jkqtpmdaDrawEllipseForEvent | draw an ellipse and when finished execute the signal JKQTPlotter::userEllipseFinished() |
jkqtpmdaDrawLineForEvent | draw a line and when finished execute the signal JKQTPlotter::userLineFinished() |
jkqtpmdaScribbleForEvents | let the user scribble on the plot (left mouse button is kept pressed) and call JKQTPlotter::userScribbleClick() for each new position |
jkqtpmdaToolTipForClosestDataPoint | shows a tooltip with data of the closest data-point in the plot |
jkqtpmdaRuler | shows a ruler over the plot, which measures delta X, delta Y and sqrt(dx^2+dy^2) |
actions that can be bound to a mouse wheel event
|
strong |
used to specify teh type of graph when calling getPlotStyle()
Styles in which to mark single positions during user actions in JKQTPlotter.
JKQTPLOTTER_LIB_EXPORT void initJKQTBasePlotterResources | ( | ) |
initialized Qt-ressources necessary for JKQTBasePlotter
JKQTPLOTTER_LIB_EXPORT void initJKQTPlotterResources | ( | ) |
initialized Qt-ressources necessary for JKQTPlotter
JKQTPLOTTER_LIB_EXPORT QString JKQTPCADrawMode2String | ( | JKQTPCADrawMode | pos | ) |
converts a JKQTPCADrawMode variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPCALabelType2String | ( | JKQTPCALabelType | pos | ) |
converts a JKQTPCALabelType variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPContextMenuModes2String | ( | JKQTPContextMenuModes | act | ) |
convert a JKQTPContextMenuModes to a QString
JKQTPLOTTER_LIB_EXPORT QList< JKQTPKeyPosition > JKQTPGetTypicalKeyPositions | ( | ) |
returns a list of typical positions of the main key
QFlags< JKQTPKeyPositions >
. It stores an OR (||
) combination of JKQTPKeyPositions values.JKQTPLOTTER_LIB_EXPORT QString JKQTPKeyLayout2String | ( | JKQTPKeyLayout | pos | ) |
converts a JKQTPKeyLayout variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPKeyPosition2String | ( | JKQTPKeyPosition | pos | ) |
converts a JKQTPLabelPosition variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPLabelPosition2String | ( | JKQTPLabelPosition | pos | ) |
converts a JKQTPLabelPosition variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPLabelTickMode2String | ( | JKQTPLabelTickMode | pos | ) |
converts a JKQTPLabelTickMode variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseDoubleClickActions2String | ( | JKQTPMouseDoubleClickActions | act | ) |
convert a JKQTPMouseDoubleClickActions to a QString
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseDragActions2String | ( | JKQTPMouseDragActions | act | ) |
convert a JKQTPMouseDragActions to a QString
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseMoveActions2String | ( | JKQTPMouseMoveActions | act | ) |
convert a JKQTPMouseDragActions to a QString
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseWheelActions2String | ( | JKQTPMouseWheelActions | act | ) |
convert a JKQTPMouseWheelActions to a QString
JKQTPLOTTER_LIB_EXPORT QString JKQTPUserActionMarkerType2String | ( | JKQTPUserActionMarkerType | act | ) |
convert a JKQTPUserActionMarkerType to a QString
|
inline |
qHash()-specialization
|
inline |
qHash-variant used by JKQTPlotter
|
inline |
qHash-variant used by JKQTPlotter
|
inline |
qHash-variant used by JKQTPlotter
JKQTPLOTTER_LIB_EXPORT JKQTPCADrawMode String2JKQTPCADrawMode | ( | const QString & | pos | ) |
converts a string into a JKQTPCADrawMode
JKQTPLOTTER_LIB_EXPORT JKQTPCALabelType String2JKQTPCALabelType | ( | const QString & | pos | ) |
converts a string into a JKQTPCALabelType
JKQTPLOTTER_LIB_EXPORT JKQTPContextMenuModes String2JKQTPContextMenuModes | ( | const QString & | act | ) |
convert a QString (created by JKQTPContextMenuModes2String() ) to JKQTPContextMenuModes
JKQTPLOTTER_LIB_EXPORT JKQTPKeyLayout String2JKQTPKeyLayout | ( | const QString & | pos | ) |
converts a String into a JKQTPKeyLayout
JKQTPLOTTER_LIB_EXPORT JKQTPKeyPosition String2JKQTPKeyPosition | ( | const QString & | pos | ) |
converts a string into a JKQTPLabelPosition
JKQTPLOTTER_LIB_EXPORT JKQTPLabelPosition String2JKQTPLabelPosition | ( | const QString & | pos | ) |
converts a string into a JKQTPLabelPosition
JKQTPLOTTER_LIB_EXPORT JKQTPLabelTickMode String2JKQTPLabelTickMode | ( | const QString & | pos | ) |
converts a string into a JKQTPLabelTickMode
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDoubleClickActions String2JKQTPMouseDoubleClickActions | ( | const QString & | act | ) |
convert a QString (created by JKQTPMouseDoubleClickActions2String() ) to JKQTPMouseDoubleClickActions
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDragActions String2JKQTPMouseDragActions | ( | const QString & | button | ) |
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions
JKQTPLOTTER_LIB_EXPORT JKQTPMouseMoveActions String2JKQTPMouseMoveActions | ( | const QString & | button | ) |
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions
JKQTPLOTTER_LIB_EXPORT JKQTPMouseWheelActions String2JKQTPMouseWheelActions | ( | const QString & | act | ) |
convert a QString (created by JKQTPMouseWheelActions2String() ) to JKQTPMouseWheelActions
JKQTPLOTTER_LIB_EXPORT JKQTPUserActionMarkerType String2JKQTPUserActionMarkerType | ( | const QString & | act | ) |
convert a QString (created by JKQTPUserActionMarkerType2String() ) to JKQTPUserActionMarkerType