|
| QCPColorScaleAxisRectPrivate (QCPColorScale *parentColorScale) |
|
| QCPAxisRect (QCustomPlot *parentPlot, bool setupDefaultAxes=true) |
|
QList< QCPAxis * > | addAxes (QCPAxis::AxisTypes types) |
|
QCPAxis * | addAxis (QCPAxis::AxisType type, QCPAxis *axis=nullptr) |
|
QList< QCPAxis * > | axes () const |
|
QList< QCPAxis * > | axes (QCPAxis::AxisTypes types) const |
|
QCPAxis * | axis (QCPAxis::AxisType type, int index=0) const |
|
int | axisCount (QCPAxis::AxisType type) const |
|
QPixmap | background () const |
|
QBrush | backgroundBrush () const |
|
bool | backgroundScaled () const |
|
Qt::AspectRatioMode | backgroundScaledMode () const |
|
int | bottom () const |
|
QPoint | bottomLeft () const |
|
QPoint | bottomRight () const |
|
QPoint | center () const |
|
virtual QList< QCPLayoutElement * > | elements (bool recursive) const override |
|
QList< QCPGraph * > | graphs () const |
|
int | height () const |
|
QCPLayoutInset * | insetLayout () const |
|
QList< QCPAbstractItem * > | items () const |
|
int | left () const |
|
QList< QCPAbstractPlottable * > | plottables () const |
|
Qt::Orientations | rangeDrag () const |
|
QList< QCPAxis * > | rangeDragAxes (Qt::Orientation orientation) |
|
QCPAxis * | rangeDragAxis (Qt::Orientation orientation) |
|
Qt::Orientations | rangeZoom () const |
|
QList< QCPAxis * > | rangeZoomAxes (Qt::Orientation orientation) |
|
QCPAxis * | rangeZoomAxis (Qt::Orientation orientation) |
|
double | rangeZoomFactor (Qt::Orientation orientation) |
|
bool | removeAxis (QCPAxis *axis) |
|
int | right () const |
|
void | setBackground (const QBrush &brush) |
|
void | setBackground (const QPixmap &pm) |
|
void | setBackground (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding) |
|
void | setBackgroundScaled (bool scaled) |
|
void | setBackgroundScaledMode (Qt::AspectRatioMode mode) |
|
void | setRangeDrag (Qt::Orientations orientations) |
|
void | setRangeDragAxes (QCPAxis *horizontal, QCPAxis *vertical) |
|
void | setRangeDragAxes (QList< QCPAxis * > axes) |
|
void | setRangeDragAxes (QList< QCPAxis * > horizontal, QList< QCPAxis * > vertical) |
|
void | setRangeZoom (Qt::Orientations orientations) |
|
void | setRangeZoomAxes (QCPAxis *horizontal, QCPAxis *vertical) |
|
void | setRangeZoomAxes (QList< QCPAxis * > axes) |
|
void | setRangeZoomAxes (QList< QCPAxis * > horizontal, QList< QCPAxis * > vertical) |
|
void | setRangeZoomFactor (double factor) |
|
void | setRangeZoomFactor (double horizontalFactor, double verticalFactor) |
|
void | setupFullAxesBox (bool connectRanges=false) |
|
QSize | size () const |
|
int | top () const |
|
QPoint | topLeft () const |
|
QPoint | topRight () const |
|
int | width () const |
|
void | zoom (const QRectF &pixelRect) |
|
void | zoom (const QRectF &pixelRect, const QList< QCPAxis * > &affectedAxes) |
|
| QCPLayoutElement (QCustomPlot *parentPlot=nullptr) |
|
QCP::MarginSides | autoMargins () const |
|
QCPLayout * | layout () const |
|
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
|
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
|
QMargins | margins () const |
|
virtual QSize | maximumOuterSizeHint () const |
|
QSize | maximumSize () const |
|
QMargins | minimumMargins () const |
|
virtual QSize | minimumOuterSizeHint () const |
|
QSize | minimumSize () const |
|
QRect | outerRect () const |
|
QRect | rect () const |
|
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=nullptr) const override |
|
void | setAutoMargins (QCP::MarginSides sides) |
|
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
|
void | setMargins (const QMargins &margins) |
|
void | setMaximumSize (const QSize &size) |
|
void | setMaximumSize (int width, int height) |
|
void | setMinimumMargins (const QMargins &margins) |
|
void | setMinimumSize (const QSize &size) |
|
void | setMinimumSize (int width, int height) |
|
void | setOuterRect (const QRect &rect) |
|
void | setSizeConstraintRect (SizeConstraintRect constraintRect) |
|
SizeConstraintRect | sizeConstraintRect () const |
|
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=nullptr) |
|
bool | antialiased () const |
|
QCPLayer * | layer () const |
|
QCPLayerable * | parentLayerable () const |
|
QCustomPlot * | parentPlot () const |
|
bool | realVisibility () const |
|
void | setAntialiased (bool enabled) |
|
bool | setLayer (const QString &layerName) |
|
Q_SLOT bool | setLayer (QCPLayer *layer) |
|
void | setVisible (bool on) |
|
bool | visible () const |
|
| QObject (QObject *parent) |
|
QBindable< QString > | bindableObjectName () |
|
bool | blockSignals (bool block) |
|
const QObjectList & | children () const const |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectInfo () const const |
|
void | dumpObjectTree () const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (Qt::FindChildOptions options) const const |
|
bool | inherits (const char *className) const const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isQuickItemType () const const |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const const |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
QVariant | property (const char *name) const const |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_EMIT Q_EMIT |
|
| Q_ENUM (...) |
|
| Q_ENUM_NS (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAG (...) |
|
| Q_FLAG_NS (...) |
|
| Q_FLAGS (...) |
|
| Q_GADGET Q_GADGET |
|
| Q_GADGET_EXPORT (EXPORT_MACRO) |
|
| Q_INTERFACES (...) |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_MOC_INCLUDE Q_MOC_INCLUDE |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_PROPERTY (...) |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SLOT Q_SLOT |
|
| Q_SLOTS Q_SLOTS |
|
T | qobject_cast (const QObject *object) |
|
T | qobject_cast (QObject *object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setObjectName (QAnyStringView name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | setProperty (const char *name, QVariant &&value) |
|
bool | signalsBlocked () const const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
|
QThread * | thread () const const |
|
|
Q_SLOT void | axisSelectableChanged (QCPAxis::SelectableParts selectableParts) |
|
Q_SLOT void | axisSelectionChanged (QCPAxis::SelectableParts selectedParts) |
|
virtual int | calculateAutoMargin (QCP::MarginSide side) override |
|
virtual void | draw (QCPPainter *painter) override |
|
virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) override |
|
virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) override |
|
virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) override |
|
virtual void | update (UpdatePhase phase) override |
|
void | updateGradientImage () |
|
virtual void | wheelEvent (QWheelEvent *event) override |
|
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const override |
|
void | drawBackground (QCPPainter *painter) |
|
virtual void | layoutChanged () override |
|
void | updateAxesOffset (QCPAxis::AxisType type) |
|
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) override |
|
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
|
virtual QRect | clipRect () const |
|
virtual void | deselectEvent (bool *selectionStateChanged) |
|
void | initializeParentPlot (QCustomPlot *parentPlot) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
|
bool | moveToLayer (QCPLayer *layer, bool prepend) |
|
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
|
virtual QCP::Interaction | selectionCategory () const |
|
void | setParentLayerable (QCPLayerable *parentLayerable) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
bool | isSignalConnected (const QMetaMethod &signal) const const |
|
int | receivers (const char *signal) const const |
|
QObject * | sender () const const |
|
int | senderSignalIndex () const const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
|
enum | SizeConstraintRect { scrInnerRect
, scrOuterRect
} |
|
enum | UpdatePhase { upPreparation
, upMargins
, upLayout
} |
|
| objectName |
|
void | layerChanged (QCPLayer *newLayer) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
typedef | QObjectList |
|
An axis rect subclass for use in a QCPColorScale.
This is a private class and not part of the public QCustomPlot interface.
It provides the axis rect functionality for the QCPColorScale class.
Definition at line 5298 of file qcustomplot.h.
Returns the margin size for this side. It is used if automatic margins is enabled for this side (see setAutoMargins). If a minimum margin was set with setMinimumMargins, the returned value will not be smaller than the specified minimum margin.
The default implementation just returns the respective manual margin (setMargins) or the minimum margin, whichever is larger.
Reimplemented from QCPAxisRect.
Definition at line 4967 of file qcustomplot.cpp.
Event handler for mouse wheel events. If rangeZoom is Qt::Horizontal, Qt::Vertical or both, the ranges of the axes defined as rangeZoomHorzAxis and rangeZoomVertAxis are scaled. The center of the scaling operation is the current cursor position inside the axis rect. The scaling factor is dependent on the mouse wheel delta (which direction the wheel was rotated) to provide a natural zooming feel. The Strength of the zoom can be controlled via setRangeZoomFactor.
Note, that event->angleDelta() is usually +/-120 for single rotation steps. However, if the mouse wheel is turned rapidly, many steps may bunch up to one event, so the delta may then be multiples of 120. This is taken into account here, by calculating wheelSteps and using it as exponent of the range zoom factor. This takes care of the wheel direction automatically, by inverting the factor, when the wheel step is negative (f^-1 = 1/f).
Reimplemented from QCPAxisRect.
Definition at line 4973 of file qcustomplot.cpp.