22#ifndef JKQTPTOOLS_H_INCLUDED
23#define JKQTPTOOLS_H_INCLUDED
24#include "jkqtplotter/jkqtplotter_imexport.h"
26#include <QElapsedTimer>
48#include "jkqtcommon/jkqtpstringtools.h"
49#include "jkqtcommon/jkqtpdebuggingtools.h"
50#include "jkqtcommon/jkqtpmathtools.h"
51#include "jkqtmath/jkqtpalgorithms.h"
52#include "jkqtcommon/jkqtpcodestructuring.h"
53#if __cplusplus >= 202002L
266 JKQTPFFCMNoColor=JKQTPFFCMFullyTransparentColor,
299 JKQTPFFCMmax=JKQTPFFCMEvenDarkerAndNonTransparentColor
340 QColor
apply(
const QColor& basecolor)
const;
464#if defined(__cpp_lib_format) || DOXYGEN
base class for 2D plotter classes (used by the plotter widget JKQTPlotter)
Definition jkqtpbaseplotter.h:394
this class extends the QPainter
Definition jkqtpenhancedpainter.h:33
QFlags< JKQTPErrorPlotstyleElements > JKQTPErrorPlotstyle
specifies the plot styles for the error information, e.g. error bars, boxes, lines ....
Definition jkqtptools.h:728
JKQTPErrorPlotstyleElements
specifies the plot styles for the error information, e.g. error bars, boxes, lines ....
Definition jkqtptools.h:691
JKQTPLOTTER_LIB_EXPORT QString JKQTPErrorPlotstyle2String(JKQTPErrorPlotstyle pos)
converts a JKQTPErrorPlotstyle variable into a human-readable string
QFlags< JKQTPCADrawModeElements > JKQTPCADrawMode
drawing mode for a coordinate axis
Definition jkqtptools.h:430
JKQTPLOTTER_LIB_EXPORT JKQTPErrorPlotstyle String2JKQTPErrorPlotstyle(const QString &pos)
converts a String into a JKQTPErrorPlotstyle
@ JKQTPErrorDirectionAbove
used to specify the directon of half error bars: above pointing
Definition jkqtptools.h:702
@ JKQTPErrorHalfBarsOutwards
half error bars for each data point, pointing outwards
Definition jkqtptools.h:714
@ JKQTPErrorSimpleBars
simplified error bars for each data point
Definition jkqtptools.h:693
@ JKQTPErrorDirectionOutwards
used to specify the directon of half error bars: outwards pointing
Definition jkqtptools.h:700
@ JKQTPErrorBarsPolygons
error bars and polygons for each data point
Definition jkqtptools.h:719
@ JKQTPErrorEllipses
an ellipse spanned by the errors
Definition jkqtptools.h:696
@ JKQTPErrorIndicatorArrows
used to specify that error bars shall be decorated by arrows
Definition jkqtptools.h:706
@ JKQTPErrorLines
a second and third graph line above and below the actual data which indicates the error value
Definition jkqtptools.h:694
@ JKQTPErrorPolygons
line error lines, but with filled range in between
Definition jkqtptools.h:695
@ JKQTPErrorHalfBarsBelow
half error bars for each data point, pointing down
Definition jkqtptools.h:717
@ JKQTPErrorArrows
error bars decorated with arrows for each data point
Definition jkqtptools.h:709
@ JKQTPNoError
don't show error information
Definition jkqtptools.h:692
@ JKQTPErrorDirectionBelow
used to specify the directon of half error bars: below pointing
Definition jkqtptools.h:703
@ JKQTPErrorBoxes
a box spanned by the errors
Definition jkqtptools.h:697
@ JKQTPErrorDirectionBoth
do not draw half error-bars, but in both directions (default)
Definition jkqtptools.h:699
@ JKQTPErrorSimpleBarsPolygons
simplified error barsand polygons for each data point
Definition jkqtptools.h:712
@ JKQTPErrorDirectionInwards
used to specify the directon of half error bars: inwards pointing
Definition jkqtptools.h:701
@ JKQTPErrorSimpleBarsLines
simplified error bars and line for each data point
Definition jkqtptools.h:713
@ JKQTPErrorBarsLines
error bars and lines for each data point
Definition jkqtptools.h:718
@ JKQTPErrorIndicatorNone
used to specify that error bars shall be un-decorated i.e. "simple error-bars"
Definition jkqtptools.h:704
@ JKQTPErrorHalfBarsAbove
half error bars for each data point, pointing up
Definition jkqtptools.h:716
@ JKQTPErrorHalfBarsInwards
half error bars for each data point, pointing inwards
Definition jkqtptools.h:715
@ JKQTPErrorBars
error bars for each data point
Definition jkqtptools.h:711
@ JKQTPErrorIndicatorBar
used to specify that error bars shall be decorated by bars
Definition jkqtptools.h:705
@ JKQTPErrorIndicatorInwardArrows
used to specify that error bars shall be decorated by arrows
Definition jkqtptools.h:707
@ JKQTPErrorInwardArrows
error bars decorated with inwards-pointing arrows for each data point
Definition jkqtptools.h:710
JKQTPLOTTER_LIB_EXPORT JKQTPSpecialLineType String2JKQTPSpecialLineType(const QString &pos)
converts a String into a JKQTPSpecialLineType
JKQTPSpecialLineType
plot styles for the error information
Definition jkqtptools.h:750
JKQTPLOTTER_LIB_EXPORT QString JKQTPSpecialLineType2String(JKQTPSpecialLineType pos)
converts a JKQTPSpecialLineType variable into a human-readable string
@ JKQTPDirectLine
no step, but connects the two datapoints with a straight line
Definition jkqtptools.h:755
@ JKQTPStepRight
datapoint is on the right edge of the hor. step line
Definition jkqtptools.h:753
@ JKQTPStepLeft
datapoint is on the left edge of the hor. step line
Definition jkqtptools.h:751
@ JKQTPStepAverage
horizontal line on the level of the average between two points + vertical lines to the points
Definition jkqtptools.h:754
@ JKQTPStepCenter
datapoint is centered on the hor. step line
Definition jkqtptools.h:752
JKQTPLOTTER_LIB_EXPORT QString JKQTPColorDerivationMode2String(JKQTPColorDerivationMode mode)
convert a JKQTPColorDerivationMode to a QString
QColor QColorWithAlpha(const QColor &color, int alpha)
construct a QColor, based on the given color, but with alpha set to the specified value alpha
Definition jkqtptools.h:374
QColor QColorWithAlphaF(const QColor &color, qreal alphaF)
construct a QColor, based on the given color, but with alpha set to the specified value alphaF
Definition jkqtptools.h:364
JKQTPLOTTER_LIB_EXPORT QColor JKQTPGetDerivedColor(JKQTPColorDerivationMode mode, const QColor &basecolor)
use a JKQTPColorDerivationMode to derive a color from col as specified
JKQTPLOTTER_LIB_EXPORT JKQTPColorDerivationMode String2JKQTPColorDerivationMode(const QString &mode)
convert a QString (created by JKQTPColorDerivationMode2String() ) to JKQTPColorDerivationMode
size_t y
logic y-position of a graph, relative to the current JKQtPlotter
Definition jkqtptools.h:675
size_t x
logic x-position of a graph, relative to the current JKQtPlotter
Definition jkqtptools.h:673
JKQTBasePlotter * plotter
JKQTBasePlotter.
Definition jkqtptools.h:677
JKQTPMouseMoveActionsHashMap::const_iterator JKQTPMouseMoveActionsHashMapIterator
iterator for JKQTPMouseMoveActionsHashMap
Definition jkqtptools.h:256
JKQTPLOTTER_LIB_EXPORT QString JKQTPLabelTickMode2String(JKQTPLabelTickMode pos)
converts a JKQTPLabelTickMode variable into a human-readable string
JKQTPKeyLayout
layout of the key
Definition jkqtptools.h:632
QHash< QPair< Qt::MouseButton, Qt::KeyboardModifiers >, JKQTPMouseDoubleClickActions > JKQTPMouseDoubleClickActionsHashMap
data structure for storage of assigned JKQTPMouseDoubleClickActions
Definition jkqtptools.h:245
JKQTPLOTTER_LIB_EXPORT JKQTPKeyLayout String2JKQTPKeyLayout(const QString &pos)
converts a String into a JKQTPKeyLayout
JKQTPMouseDoubleClickActionsHashMap::const_iterator JKQTPMouseDoubleClickActionsHashMapIterator
iterator for JKQTPMouseDoubleClickActionsHashMap
Definition jkqtptools.h:248
JKQTPLOTTER_LIB_EXPORT QString JKQTPContextMenuModes2String(JKQTPContextMenuModes act)
convert a JKQTPContextMenuModes to a QString
JKQTPLOTTER_LIB_EXPORT QString JKQTPUserActionMarkerType2String(JKQTPUserActionMarkerType act)
convert a JKQTPUserActionMarkerType to a QString
JKQTPLOTTER_LIB_EXPORT JKQTPKeyPosition String2JKQTPKeyPosition(const QString &pos)
converts a string into a JKQTPLabelPosition
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDoubleClickActions String2JKQTPMouseDoubleClickActions(const QString &act)
convert a QString (created by JKQTPMouseDoubleClickActions2String() ) to JKQTPMouseDoubleClickActions
JKQTPCADrawModeElements
drawing flags for a coordinate axis
Definition jkqtptools.h:402
JKQTPLOTTER_LIB_EXPORT JKQTPContextMenuModes String2JKQTPContextMenuModes(const QString &act)
convert a QString (created by JKQTPContextMenuModes2String() ) to JKQTPContextMenuModes
JKQTPLOTTER_LIB_EXPORT JKQTPUserActionMarkerType String2JKQTPUserActionMarkerType(const QString &act)
convert a QString (created by JKQTPUserActionMarkerType2String() ) to JKQTPUserActionMarkerType
JKQTPLOTTER_LIB_EXPORT QString JKQTPLabelPosition2String(JKQTPLabelPosition pos)
converts a JKQTPLabelPosition variable into a human-readable string
JKQTPLOTTER_LIB_EXPORT QList< JKQTPKeyPosition > JKQTPGetTypicalKeyPositions()
returns a list of typical positions of the main key
JKQTPLOTTER_LIB_EXPORT JKQTPMouseWheelActions String2JKQTPMouseWheelActions(const QString &act)
convert a QString (created by JKQTPMouseWheelActions2String() ) to JKQTPMouseWheelActions
JKQTPLOTTER_LIB_EXPORT QString JKQTPKeyPosition2String(JKQTPKeyPosition pos)
converts a JKQTPLabelPosition variable into a human-readable string
QFlags< JKQTPKeyPositions > JKQTPKeyPosition
position of the key
Definition jkqtptools.h:607
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseWheelActions2String(JKQTPMouseWheelActions act)
convert a JKQTPMouseWheelActions to a QString
JKQTPMouseMoveActions
Availble action this JKQtPlotter can perform when mouse events occur. This allows you to e....
Definition jkqtptools.h:188
JKQTPLOTTER_LIB_EXPORT QString JKQTPCALabelType2String(JKQTPCALabelType pos)
converts a JKQTPCALabelType variable into a human-readable string
JKQTPMouseDragActionsHashMap::const_iterator JKQTPMouseDragActionsHashMapIterator
iterator for JKQTPMouseDragActionsHashMap
Definition jkqtptools.h:234
JKQTPLOTTER_LIB_EXPORT QString JKQTPKeyLayout2String(JKQTPKeyLayout pos)
converts a JKQTPKeyLayout variable into a human-readable string
JKQTPMouseDragActions
Availble action this JKQtPlotter can perform when mouse events occur. This allows you to e....
Definition jkqtptools.h:110
JKQTPLOTTER_LIB_EXPORT JKQTPCALabelType String2JKQTPCALabelType(const QString &pos)
converts a string into a JKQTPCALabelType
JKQTPKeyPositions
position of the key
Definition jkqtptools.h:543
JKQTPUserActionMarkerType
Styles in which to mark single positions during user actions in JKQTPlotter.
Definition jkqtptools.h:83
JKQTPMouseWheelActions
actions that can be bound to a mouse wheel event
Definition jkqtptools.h:164
JKQTPLabelPosition
position of the axis labels
Definition jkqtptools.h:508
JKQTPLOTTER_LIB_EXPORT JKQTPMouseMoveActions String2JKQTPMouseMoveActions(const QString &button)
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions
QHash< Qt::KeyboardModifiers, JKQTPMouseWheelActions > JKQTPMouseWheelActionsHashMap
data structure for storage of assigned JKQTPMouseWheelActions
Definition jkqtptools.h:238
#define JKQTPLOTTER_LIB_EXPORT
Definition jkqtplotter_imexport.h:89
JKQTPContextMenuModes
modes for the context menu
Definition jkqtptools.h:209
JKQTPLOTTER_LIB_EXPORT JKQTPLabelPosition String2JKQTPLabelPosition(const QString &pos)
converts a string into a JKQTPLabelPosition
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseMoveActions2String(JKQTPMouseMoveActions act)
convert a JKQTPMouseDragActions to a QString
QHash< Qt::KeyboardModifiers, JKQTPMouseMoveActions > JKQTPMouseMoveActionsHashMap
data structure for storage of assigned JKQTPMouseMoveActions
Definition jkqtptools.h:253
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseDragActions2String(JKQTPMouseDragActions act)
convert a JKQTPMouseDragActions to a QString
JKQTPLOTTER_LIB_EXPORT JKQTPCADrawMode String2JKQTPCADrawMode(const QString &pos)
converts a string into a JKQTPCADrawMode
JKQTPLOTTER_LIB_EXPORT QString JKQTPMouseDoubleClickActions2String(JKQTPMouseDoubleClickActions act)
convert a JKQTPMouseDoubleClickActions to a QString
JKQTPMouseDoubleClickActions
actions that can be bound to a double-click of the mouse
Definition jkqtptools.h:140
JKQTPLOTTER_LIB_EXPORT JKQTPMouseDragActions String2JKQTPMouseDragActions(const QString &button)
convert a QString (created by JKQTPMouseDragActions2String() ) to JKQTPMouseDragActions
JKQTPLOTTER_LIB_EXPORT JKQTPLabelTickMode String2JKQTPLabelTickMode(const QString &pos)
converts a string into a JKQTPLabelTickMode
JKQTPCALabelType
display mode for the (axis) labels
Definition jkqtptools.h:449
QHash< QPair< Qt::MouseButton, Qt::KeyboardModifiers >, JKQTPMouseDragActions > JKQTPMouseDragActionsHashMap
data structure for storage of assigned JKQTPMouseDragActions
Definition jkqtptools.h:231
JKQTPLOTTER_LIB_EXPORT QString JKQTPCADrawMode2String(JKQTPCADrawMode pos)
converts a JKQTPCADrawMode variable into a human-readable string
JKQTPMouseWheelActionsHashMap::const_iterator JKQTPMouseWheelActionsHashMapIterator
iterator for JKQTPMouseWheelActionsHashMap
Definition jkqtptools.h:241
JKQTPPlotStyleType
used to specify teh type of graph when calling getPlotStyle()
Definition jkqtptools.h:68
JKQTPLabelTickMode
mode of the axis ticks
Definition jkqtptools.h:476
@ JKQTPKeyLayoutOneRow
the key consists of one row. This may overflow the available space, use JKQTPKeyLayoutMultiColumn or ...
Definition jkqtptools.h:637
@ JKQTPKeyLayoutMultiColumn
the key items are distributed over multiple columns that fill the available space,...
Definition jkqtptools.h:641
@ JKQTPKeyLayoutOneColumn
the key consists of one column. This may overflow the available space, use JKQTPKeyLayoutMultiColumn ...
Definition jkqtptools.h:633
@ JKQTPKeyLayoutMax
Definition jkqtptools.h:650
@ JKQTPKeyLayoutMultiRow
the key items are distributed over multiple rows that fill the available space (left->right,...
Definition jkqtptools.h:645
@ JKQTPCADMTickLabelsAxisLabel
draw axis tick labels and axisLabel
Definition jkqtptools.h:417
@ JKQTPCADMMaxFilledArrow
draw a filled arrow at the max-end of the axis
Definition jkqtptools.h:409
@ JKQTPCADMcompleteMinMaxArrow
draw axis withline, ticks, ticklabels and axis label and arrows pointing to the min and max side of t...
Definition jkqtptools.h:421
@ JKQTPCADMTicks
draw axis ticks
Definition jkqtptools.h:404
@ JKQTPCADMcomplete
draw axis withline, ticks, ticklabels and axis label
Definition jkqtptools.h:419
@ JKQTPCADMLine
draw axis as thick line
Definition jkqtptools.h:403
@ JKQTPCADMAxisLabel
draw axis axis Label
Definition jkqtptools.h:406
@ JKQTPCADMTickLabels
draw axis tick labels
Definition jkqtptools.h:405
@ JKQTPCADMMinFilledArrow
draw a filled arrow at the min-end of the axis
Definition jkqtptools.h:411
@ JKQTPCADMnone
draw no axis
Definition jkqtptools.h:418
@ JKQTPCADMMaxArrow
an open arrow at the max-end of the axis
Definition jkqtptools.h:408
@ JKQTPCADMMinArrow
an open arrow at the end of the axis at the min-end of the axis
Definition jkqtptools.h:410
@ JKQTPCADMcompleteMaxArrow
draw axis withline, ticks, ticklabels and axis label and an arrow pointing to the max-side of the axi...
Definition jkqtptools.h:420
@ JKQTPCADMTicksTickLabelsAxisLabel
draw axis with ticks, tick labels and axisLabel
Definition jkqtptools.h:415
@ JKQTPCADMLineTicksTickLabels
draw axis with ticks, line and tick labels
Definition jkqtptools.h:413
@ JKQTPCADMLineTicks
draw axis with ticks and line
Definition jkqtptools.h:414
@ JKQTPCADMTicksTickLabels
draw axis with ticks and tick labels
Definition jkqtptools.h:416
@ jkqtpmmaToolTipForClosestDataPoint
shows a tooltip with data of the closest data-point in the plot
Definition jkqtptools.h:189
@ jkqtpmdaScribbleForEvents
let the user scribble on the plot (left mouse button is kept pressed) and call JKQTPlotter::userScrib...
Definition jkqtptools.h:118
@ jkqtpmdaToolTipForClosestDataPoint
shows a tooltip with data of the closest data-point in the plot
Definition jkqtptools.h:119
@ jkqtpmdaZoomByRectangle
draw a rectangle and when finish zoom to that rectangle
Definition jkqtptools.h:113
@ jkqtpmdaPanPlotOnRelease
the user can drag the current plot window while keeping the left mouse-button pushed down (=panning),...
Definition jkqtptools.h:112
@ jkqtpmdaDrawLineForEvent
draw a line and when finished execute the signal JKQTPlotter::userLineFinished()
Definition jkqtptools.h:117
@ jkqtpmdaPanPlotOnMove
the user can drag the current plot window while keeping the left mouse-button pushed down (=panning),...
Definition jkqtptools.h:111
@ jkqtpmdaDrawEllipseForEvent
draw an ellipse and when finished execute the signal JKQTPlotter::userEllipseFinished()
Definition jkqtptools.h:116
@ jkqtpmdaDrawRectangleForEvent
draw a rectangle and when finished execute the signal JKQTPlotter::userRectangleFinished()
Definition jkqtptools.h:114
@ jkqtpmdaRuler
shows a ruler over the plot, which measures delta X, delta Y and sqrt(dx^2+dy^2)
Definition jkqtptools.h:120
@ jkqtpmdaDrawCircleForEvent
draw a circle and when finished execute the signal JKQTPlotter::userCircleFinished()
Definition jkqtptools.h:115
@ JKQTPKeyInsideLeft
the key is positioned inside on the center-left
Definition jkqtptools.h:593
@ JKQTPKeyLeft
key is drawn to the left
Definition jkqtptools.h:549
@ JKQTPKeyOutsideBottomCenter
the key is positioned below the graph, in the center
Definition jkqtptools.h:567
@ JKQTPKeyBottom
key is drawn to the bottom
Definition jkqtptools.h:554
@ JKQTPKeyInsideBottomLeft
the key is positioned inside on the bottom-left
Definition jkqtptools.h:585
@ JKQTPKeyOutsideBottom
key is drawn outside and below of the plot rectangle
Definition jkqtptools.h:546
@ JKQTPKeyOutsideLeftTop
the key is positioned on the left side of the graph, towards the top
Definition jkqtptools.h:569
@ JKQTPKeyHCenter
key is drawn to the horizontal center
Definition jkqtptools.h:550
@ JKQTPKeyInsideTop
the key is positioned inside on the top-center
Definition jkqtptools.h:589
@ JKQTPKeyOutsideLeft
key is drawn outside and on the left of the plot rectangle
Definition jkqtptools.h:547
@ JKQTPKeyOutsideBottomRight
the key is positioned below the graph, on the right
Definition jkqtptools.h:565
@ JKQTPKeyTop
key is drawn to the top
Definition jkqtptools.h:552
@ JKQTPKeyOutsideTopCenter
the key is positioned above the graph, in the center
Definition jkqtptools.h:561
@ JKQTPKeyInsideBottomRight
the key is positioned inside on the bottom-right
Definition jkqtptools.h:587
@ JKQTPKeyOutsideTopLeft
the key is positioned above the graph, on the left
Definition jkqtptools.h:559
@ JKQTPKeyOutsideTopRight
the key is positioned above the graph, on the right
Definition jkqtptools.h:557
@ JKQTPKeyInside
key is drawn inside the plot rectangle
Definition jkqtptools.h:544
@ JKQTPKeyInsideRight
the key is positioned inside on the center-right
Definition jkqtptools.h:595
@ JKQTPKeyInsideTopLeft
the key is positioned inside on the top-left
Definition jkqtptools.h:583
@ JKQTPKeyOutsideLeftCenter
the key is positioned on the left side of the graph, in the center
Definition jkqtptools.h:571
@ JKQTPKeyOutsideTop
key is drawn outside and above of the plot rectangle
Definition jkqtptools.h:545
@ JKQTPKeyOutsideRightCenter
the key is positioned on the right side of the graph, in the center
Definition jkqtptools.h:577
@ JKQTPKeyInsideBottom
the key is positioned inside on the bottom-center
Definition jkqtptools.h:591
@ JKQTPKeyRight
key is drawn to the right
Definition jkqtptools.h:551
@ JKQTPKeyVCenter
key is drawn to the vertical center
Definition jkqtptools.h:553
@ JKQTPKeyInsideTopRight
the key is positioned inside on the top-right
Definition jkqtptools.h:581
@ JKQTPKeyOutsideRightTop
the key is positioned on the left side of the graph, towards the top
Definition jkqtptools.h:579
@ JKQTPKeyOutsideRight
key is drawn outside and on the rightof the plot rectangle
Definition jkqtptools.h:548
@ JKQTPKeyDefaultPosition
Definition jkqtptools.h:597
@ JKQTPKeyOutsideLeftBottom
the key is positioned on the left side of the graph, towards the Bottom
Definition jkqtptools.h:573
@ JKQTPKeyOutsideRightBottom
the key is positioned on the right side of the graph, towards the bottom
Definition jkqtptools.h:575
@ JKQTPKeyOutsideBottomLeft
the key is positioned below the graph, on the left
Definition jkqtptools.h:563
@ jkqtpuamtCircleAndCrossHair
a cross-hair to the position to mark, with a circle-marker around the actual target (i....
Definition jkqtptools.h:86
@ jkqtpuamtCrossHair
a cross-hair to the position to mark
Definition jkqtptools.h:85
@ jkqtpuamtCircle
a small circle around the position to mark
Definition jkqtptools.h:84
@ jkqtpmwaZoomByWheel
use the mouse-wheel for zooming
Definition jkqtptools.h:165
@ jkqtpmwaPanByWheel
use the mouse-wheel for panning the plot
Definition jkqtptools.h:166
@ jkqtpmwaZoomByWheelAndTrackpadPan
use the mouse-wheel for zooming. In addition, this tries to recognize track-pad pan gestures and appl...
Definition jkqtptools.h:167
@ JKQTPLabelMaxBesides
the axis label is near the max value of the axis (right/top), but besides the axis tip
Definition jkqtptools.h:521
@ JKQTPLabelMin
the axis label is near the min value of the axis (left/bottom)
Definition jkqtptools.h:509
@ JKQTPLabelMax
the axis label is near the max value of the axis (right/top)
Definition jkqtptools.h:512
@ JKQTPLabelPositionMax
Definition jkqtptools.h:524
@ JKQTPLabelCenter
the label is at the center of the axis
Definition jkqtptools.h:515
@ JKQTPLabelMinBesides
the axis label is near the min value of the axis (left/bottom), but besides the axis tip
Definition jkqtptools.h:518
@ jkqtpcmmStandardContextMenu
only show the standard context menu
Definition jkqtptools.h:210
@ jkqtpcmmNoContextMenu
don't show a context menu at all
Definition jkqtptools.h:213
@ jkqtpcmmSpecialContextMenu
only show the special context menu
Definition jkqtptools.h:211
@ jkqtpcmmStandardAndSpecialContextMenu
show the standard context menu, with the special context menu incorporated
Definition jkqtptools.h:212
@ jkqtpdcaClickOpensContextMenu
a double-click opens the context menu
Definition jkqtptools.h:143
@ jkqtpdcaClickMovesViewport
a double-click centers the x/y-range around the clicked position
Definition jkqtptools.h:145
@ jkqtpdcaClickOpensSpecialContextMenu
a double-click opens the special context menu
Definition jkqtptools.h:144
@ jkqtpdcaClickZoomsIn
a double-click zooms into the plot at the current mouse location
Definition jkqtptools.h:141
@ jkqtpdcaClickZoomsOut
a double-click zooms out of the plot at the current mouse location
Definition jkqtptools.h:142
@ JKQTPCALTexponent
show numbers in exponential for, e.g. ...
Definition jkqtptools.h:453
@ JKQTPCALTcount
Definition jkqtptools.h:468
@ JKQTPCALTslashfrac
show numbers as fraction, the number is first rounded to the given precision and then a fraction is c...
Definition jkqtptools.h:459
@ JKQTPCALTformat
generate axis label from an arbitrary "std::format" formatting string (see e.g. https://en....
Definition jkqtptools.h:465
@ JKQTPCALTdefault
simply print the numbers
Definition jkqtptools.h:450
@ JKQTPCALTscientific
print the numbers in scientific notation, e.g. "1.23e-4"
Definition jkqtptools.h:451
@ JKQTPCALTintslashfrac
show numbers as integral+fraction, the number is first rounded to the given precision and then a frac...
Definition jkqtptools.h:462
@ JKQTPCALTsfrac
show numbers as fraction, the number is first rounded to the given precision and then a fraction is c...
Definition jkqtptools.h:460
@ JKQTPCALTdate
show numbers as dates
Definition jkqtptools.h:455
@ JKQTPCALTprintf
generate axis label from an arbitrary "printf" formatting string (see e.g. https://en....
Definition jkqtptools.h:454
@ JKQTPCALTtime
show numbers as times
Definition jkqtptools.h:456
@ JKQTPCALTexponentCharacter
print the numbers and show a unit character, i.e. 5μ for , 3k for ...
Definition jkqtptools.h:452
@ JKQTPCALTintsfrac
show numbers as integral+fraction, the number is first rounded to the given precision and then a frac...
Definition jkqtptools.h:463
@ JKQTPCALTmax
Definition jkqtptools.h:469
@ JKQTPCALTfrac
show numbers as fraction, the number is first rounded to the given precision and then a fraction is c...
Definition jkqtptools.h:458
@ JKQTPCALTdatetime
show numbers as times
Definition jkqtptools.h:457
@ JKQTPCALTintfrac
show numbers as integral+fraction, the number is first rounded to the given precision and then a frac...
Definition jkqtptools.h:461
@ JKQTPLTMLinOrPower
linear, or log, depending on whether the axis is log
Definition jkqtptools.h:477
@ JKQTPLTMPower
powers (of the log-base)
Definition jkqtptools.h:479
@ JKQTPLTMmax
Definition jkqtptools.h:481
@ JKQTPLTMLin
always linear (even for log-axes)
Definition jkqtptools.h:478
used to represent the position of other graphs in Saving and Printing Graphs
Definition jkqtptools.h:671
Specifies how a fill-color is derived from a given color.
Definition jkqtptools.h:262
float transparencyModficationStrength
strength of transparencyModification-settings, such as TransparencyChangeMode::MoreTransparent or Tra...
Definition jkqtptools.h:333
JKQTPColorDerivationMode(const QString &mode)
initialize object from a string (calls fromString() )
QColor apply(const QColor &basecolor) const
apply the modifications encoded in this object to a given color
QColor targetColor
replacement color when colorModification==ColorChangeMode::ReplaceColor
Definition jkqtptools.h:317
ColorChangeMode
Definition jkqtptools.h:306
@ LighterColor
Definition jkqtptools.h:311
@ DarkerColor
Definition jkqtptools.h:310
@ ReplaceColorNotTransparency
Definition jkqtptools.h:309
@ ReplaceColorAndTransparency
Definition jkqtptools.h:308
@ SameColor
Definition jkqtptools.h:307
float colorModificationStrength
strength of colorModification-settings, such as ColorChangeMode::DarkerColor or ColorChangeMode::Ligh...
Definition jkqtptools.h:319
bool operator==(const JKQTPColorDerivationMode &other) const
compares two objects for equality
static JKQTPColorDerivationMode fromString(const QString &mode)
read values from a string
QString toString() const
convert object contents into a string
ColorChangeMode colorModification
specifies how the color should change
Definition jkqtptools.h:315
TransparencyChangeMode transparencyModification
specifies how the transparency of the color chould change
Definition jkqtptools.h:329
float targetTransparency
target transparency (0:non-transparennt .. 1:fully-transparent, i.e. 1-alphaF!!!) for TransparencyCha...
Definition jkqtptools.h:331
bool operator==(const PredefinedModes &other) const
determines whether the current object equals a default-initialized object with the given parameter,...
JKQTPColorDerivationMode(PredefinedModes mode=JKQTPFFCMSameColor)
for compatibility: use one of several predefined settings to iitialize object
PredefinedModes
Definition jkqtptools.h:264
@ JKQTPFFCMDarkerColor
fill with the a darker color
Definition jkqtptools.h:288
@ JKQTPFFCMSameEvenMoreTransparentColor
fill with the a more transparent color than JKQTPFFCMMoreTransparentColor
Definition jkqtptools.h:280
@ JKQTPFFCMSameEvenLessTransparentColor
fill with the a more transparent color than JKQTPFFCMLessTransparentColor
Definition jkqtptools.h:282
@ JKQTPFFCMDarkerAndNonTransparentColor
fill with the a darker color, that is non-transparent (even if the basecolor had some transparency)
Definition jkqtptools.h:296
@ JKQTPFFCMGrey75Transparent
fill with 75% grey, slightly transparent
Definition jkqtptools.h:273
@ JKQTPFFCMSameLessTransparentColor
fill with the a partly transparent color
Definition jkqtptools.h:281
@ JKQTPFFCMLighterAndNonTransparentColor
fill with the a lighter color, that is non-transparent (even if the basecolor had some transparency)
Definition jkqtptools.h:294
@ JKQTPFFCMGrey50Transparent
fill with 50% grey, slightly transparent
Definition jkqtptools.h:274
@ JKQTPFFCMSameMoreTransparentColor
fill with the a partly transparent color
Definition jkqtptools.h:279
@ JKQTPFFCMEvenDarkerAndTransparentColor
fill with the an even darker color than JKQTPFFCMDarkerColor, that is in addition a bit transparent
Definition jkqtptools.h:293
@ JKQTPFFCMBlackTransparent
fill with black, slightly transparent
Definition jkqtptools.h:272
@ JKQTPFFCMWhiteTransparent
fill with white, slightly transparent
Definition jkqtptools.h:276
@ JKQTPFFCMDarkerAndTransparentColor
fill with the a darker color, that is in addition a bit transparent
Definition jkqtptools.h:292
@ JKQTPFFCMWhite
fill with white
Definition jkqtptools.h:271
@ JKQTPFFCMSameColor
fill with the same color
Definition jkqtptools.h:277
@ JKQTPFFCMInvertedColor
fill with the inverted color
Definition jkqtptools.h:283
@ JKQTPFFCMGrey75
fill with 75% grey
Definition jkqtptools.h:268
@ JKQTPFFCMGrey25
fill with 25% grey
Definition jkqtptools.h:270
@ JKQTPFFCMSameNonTransparentColor
fill with the same color, but remove any transparency (if any)
Definition jkqtptools.h:278
@ JKQTPFFCMInvertedNonTransparentColor
fill with the inverted color, non-transparent (even if the basecolor had some transparency)
Definition jkqtptools.h:285
@ JKQTPFFCMInvertedTransparentColor
fill with the inverted color, slightly transparent
Definition jkqtptools.h:284
@ JKQTPFFCMEvenDarkerColor
fill with the an even darker color than JKQTPFFCMDarkerColor
Definition jkqtptools.h:289
@ JKQTPFFCMFullyTransparentColor
fully transparent color
Definition jkqtptools.h:265
@ JKQTPFFCMLighterAndTransparentColor
fill with the a lighter color, that is in addition a bit transparent
Definition jkqtptools.h:290
@ JKQTPFFCMGrey25Transparent
fill with 25% grey, slightly transparent
Definition jkqtptools.h:275
@ JKQTPFFCMLighterColor
fill with the a lighter color
Definition jkqtptools.h:286
@ JKQTPFFCMBlack
fill with black
Definition jkqtptools.h:267
@ JKQTPFFCMEvenDarkerAndNonTransparentColor
fill with the an even darker color than JKQTPFFCMDarkerColor, that is non-transparent (even if the ba...
Definition jkqtptools.h:297
@ JKQTPFFCMEvenLighterAndTransparentColor
fill with the an even lighter color than JKQTPFFCMLighterColor, that is in addition a bit transparent
Definition jkqtptools.h:291
@ JKQTPFFCMEvenLighterAndNonTransparentColor
fill with the an even lighter color than JKQTPFFCMLighterColor, that is non-transparent (even if the ...
Definition jkqtptools.h:295
@ JKQTPFFCMGrey50
fill with 50% grey
Definition jkqtptools.h:269
@ JKQTPFFCMEvenLighterColor
fill with the an even lighter color than JKQTPFFCMLighterColor
Definition jkqtptools.h:287
TransparencyChangeMode
Definition jkqtptools.h:321
@ ReplaceTransparency
Definition jkqtptools.h:323
@ SameTransparency
Definition jkqtptools.h:322
@ MoreTransparent
Definition jkqtptools.h:324