|
| QCPColorScaleAxisRectPrivate (QCPColorScale *parentColorScale) |
| Creates a new instance, as a child of parentColorScale. More...
|
|
| QCPAxisRect (QCustomPlot *parentPlot, bool setupDefaultAxes=true) |
| Creates a QCPAxisRect instance and sets default values. More...
|
|
virtual | ~QCPAxisRect () |
|
QPixmap | background () const |
|
bool | backgroundScaled () const |
|
Qt::AspectRatioMode | backgroundScaledMode () const |
|
Qt::Orientations | rangeDrag () const |
|
Qt::Orientations | rangeZoom () const |
|
QCPAxis * | rangeDragAxis (Qt::Orientation orientation) |
| Returns the range drag axis of the orientation provided. More...
|
|
QCPAxis * | rangeZoomAxis (Qt::Orientation orientation) |
| Returns the range zoom axis of the orientation provided. More...
|
|
double | rangeZoomFactor (Qt::Orientation orientation) |
| Returns the range zoom factor of the orientation provided. More...
|
|
void | setBackground (const QPixmap &pm) |
| Sets pm as the axis background pixmap. More...
|
|
void | setBackground (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Allows setting the background pixmap of the axis rect, whether it shall be scaled and how it shall be scaled in one call. More...
|
|
void | setBackground (const QBrush &brush) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets brush as the background brush. More...
|
|
void | setBackgroundScaled (bool scaled) |
| Sets whether the axis background pixmap shall be scaled to fit the axis rect or not. More...
|
|
void | setBackgroundScaledMode (Qt::AspectRatioMode mode) |
| If scaling of the axis background pixmap is enabled (setBackgroundScaled), use this function to define whether and how the aspect ratio of the original pixmap passed to setBackground is preserved. More...
|
|
void | setRangeDrag (Qt::Orientations orientations) |
| Sets which axis orientation may be range dragged by the user with mouse interaction. More...
|
|
void | setRangeZoom (Qt::Orientations orientations) |
| Sets which axis orientation may be zoomed by the user with the mouse wheel. More...
|
|
void | setRangeDragAxes (QCPAxis *horizontal, QCPAxis *vertical) |
| Sets the axes whose range will be dragged when setRangeDrag enables mouse range dragging on the QCustomPlot widget. More...
|
|
void | setRangeZoomAxes (QCPAxis *horizontal, QCPAxis *vertical) |
| Sets the axes whose range will be zoomed when setRangeZoom enables mouse wheel zooming on the QCustomPlot widget. More...
|
|
void | setRangeZoomFactor (double horizontalFactor, double verticalFactor) |
| Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with setRangeZoom. More...
|
|
void | setRangeZoomFactor (double factor) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets both the horizontal and vertical zoom factor. More...
|
|
int | axisCount (QCPAxis::AxisType type) const |
| Returns the number of axes on the axis rect side specified with type. More...
|
|
QCPAxis * | axis (QCPAxis::AxisType type, int index=0) const |
| Returns the axis with the given index on the axis rect side specified with type. More...
|
|
QList< QCPAxis * > | axes (QCPAxis::AxisTypes types) const |
| Returns all axes on the axis rect sides specified with types. More...
|
|
QList< QCPAxis * > | axes () const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Returns all axes of this axis rect. More...
|
|
QCPAxis * | addAxis (QCPAxis::AxisType type) |
| Adds a new axis to the axis rect side specified with type, and returns it. More...
|
|
QList< QCPAxis * > | addAxes (QCPAxis::AxisTypes types) |
| Adds a new axis with addAxis to each axis rect side specified in types. More...
|
|
bool | removeAxis (QCPAxis *axis) |
| Removes the specified axis from the axis rect and deletes it. More...
|
|
QCPLayoutInset * | insetLayout () const |
| Returns the inset layout of this axis rect. More...
|
|
void | setupFullAxesBox (bool connectRanges=false) |
| Convenience function to create an axis on each side that doesn't have any axes yet and set their visibility to true. More...
|
|
QList< QCPAbstractPlottable * > | plottables () const |
| Returns a list of all the plottables that are associated with this axis rect. More...
|
|
QList< QCPGraph * > | graphs () const |
| Returns a list of all the graphs that are associated with this axis rect. More...
|
|
QList< QCPAbstractItem * > | items () const |
| Returns a list of all the items that are associated with this axis rect. More...
|
|
int | left () const |
| Returns the pixel position of the left border of this axis rect. More...
|
|
int | right () const |
| Returns the pixel position of the right border of this axis rect. More...
|
|
int | top () const |
| Returns the pixel position of the top border of this axis rect. More...
|
|
int | bottom () const |
| Returns the pixel position of the bottom border of this axis rect. More...
|
|
int | width () const |
| Returns the pixel width of this axis rect. More...
|
|
int | height () const |
| Returns the pixel height of this axis rect. More...
|
|
QSize | size () const |
| Returns the pixel size of this axis rect. More...
|
|
QPoint | topLeft () const |
| Returns the top left corner of this axis rect in pixels. More...
|
|
QPoint | topRight () const |
| Returns the top right corner of this axis rect in pixels. More...
|
|
QPoint | bottomLeft () const |
| Returns the bottom left corner of this axis rect in pixels. More...
|
|
QPoint | bottomRight () const |
| Returns the bottom right corner of this axis rect in pixels. More...
|
|
QPoint | center () const |
| Returns the center of this axis rect in pixels. More...
|
|
virtual void | update (UpdatePhase phase) |
| This method is called automatically upon replot and doesn't need to be called by users of QCPAxisRect. More...
|
|
virtual QList< QCPLayoutElement * > | elements (bool recursive) const |
| Returns a list of all child elements in this layout element. More...
|
|
| QCPLayoutElement (QCustomPlot *parentPlot=0) |
| Creates an instance of QCPLayoutElement and sets default values. More...
|
|
virtual | ~QCPLayoutElement () |
|
QCPLayout * | layout () const |
| Returns the parent layout of this layout element. More...
|
|
QRect | rect () const |
| Returns the inner rect of this layout element. More...
|
|
QRect | outerRect () const |
|
QMargins | margins () const |
|
QMargins | minimumMargins () const |
|
QCP::MarginSides | autoMargins () const |
|
QSize | minimumSize () const |
|
QSize | maximumSize () const |
|
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
|
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
|
void | setOuterRect (const QRect &rect) |
| Sets the outer rect of this layout element. More...
|
|
void | setMargins (const QMargins &margins) |
| Sets the margins of this layout element. More...
|
|
void | setMinimumMargins (const QMargins &margins) |
| If setAutoMargins is enabled on some or all margins, this function is used to provide minimum values for those margins. More...
|
|
void | setAutoMargins (QCP::MarginSides sides) |
| Sets on which sides the margin shall be calculated automatically. More...
|
|
void | setMinimumSize (const QSize &size) |
| Sets the minimum size for the inner rect of this layout element. More...
|
|
void | setMinimumSize (int width, int height) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets the minimum size for the inner rect of this layout element. More...
|
|
void | setMaximumSize (const QSize &size) |
| Sets the maximum size for the inner rect of this layout element. More...
|
|
void | setMaximumSize (int width, int height) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets the maximum size for the inner rect of this layout element. More...
|
|
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
| Sets the margin group of the specified margin sides. More...
|
|
virtual QSize | minimumSizeHint () const |
| Returns the minimum size this layout element (the inner rect) may be compressed to. More...
|
|
virtual QSize | maximumSizeHint () const |
| Returns the maximum size this layout element (the inner rect) may be expanded to. More...
|
|
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const |
| Layout elements are sensitive to events inside their outer rect. More...
|
|
| QCPLayerable (QCustomPlot *plot, QString targetLayer="", QCPLayerable *parentLayerable=0) |
| Creates a new QCPLayerable instance. More...
|
|
| ~QCPLayerable () |
|
bool | visible () const |
|
QCustomPlot * | parentPlot () const |
|
QCPLayerable * | parentLayerable () const |
| Returns the parent layerable of this layerable. More...
|
|
QCPLayer * | layer () const |
|
bool | antialiased () const |
|
void | setVisible (bool on) |
| Sets the visibility of this layerable object. More...
|
|
Q_SLOT bool | setLayer (QCPLayer *layer) |
| Sets the layer of this layerable object. More...
|
|
bool | setLayer (const QString &layerName) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Sets the layer of this layerable object by name. More...
|
|
void | setAntialiased (bool enabled) |
| Sets whether this object will be drawn antialiased or not. More...
|
|
bool | realVisibility () const |
| Returns whether this layerable is visible, taking the visibility of the layerable parent and the visibility of the layer this layerable is on into account. More...
|
|
|
virtual void | draw (QCPPainter *painter) |
|
void | updateGradientImage () |
|
Q_SLOT void | axisSelectionChanged (QCPAxis::SelectableParts selectedParts) |
|
Q_SLOT void | axisSelectableChanged (QCPAxis::SelectableParts selectableParts) |
|
virtual int | calculateAutoMargin (QCP::MarginSide side) |
|
virtual void | mousePressEvent (QMouseEvent *event) |
|
virtual void | mouseMoveEvent (QMouseEvent *event) |
|
virtual void | mouseReleaseEvent (QMouseEvent *event) |
|
virtual void | wheelEvent (QWheelEvent *event) |
|
virtual void | update (UpdatePhase phase) |
| This method is called automatically upon replot and doesn't need to be called by users of QCPAxisRect. More...
|
|
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
|
virtual int | calculateAutoMargin (QCP::MarginSide side) |
|
virtual void | mousePressEvent (QMouseEvent *event) |
| This event is called, if the mouse was pressed while being inside the outer rect of this layout element. More...
|
|
virtual void | mouseMoveEvent (QMouseEvent *event) |
| This event is called, if the mouse is moved inside the outer rect of this layout element. More...
|
|
virtual void | mouseReleaseEvent (QMouseEvent *event) |
| This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released. More...
|
|
virtual void | wheelEvent (QWheelEvent *event) |
| This event is called, if the mouse wheel is scrolled while the cursor is inside the rect of this layout element. More...
|
|
void | drawBackground (QCPPainter *painter) |
|
void | updateAxesOffset (QCPAxis::AxisType type) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
| This event is called, if the mouse is double-clicked inside the outer rect of this layout element. More...
|
|
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
|
virtual QCP::Interaction | selectionCategory () const |
|
virtual QRect | clipRect () const |
|
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
|
virtual void | deselectEvent (bool *selectionStateChanged) |
|
void | initializeParentPlot (QCustomPlot *parentPlot) |
|
void | setParentLayerable (QCPLayerable *parentLayerable) |
|
bool | moveToLayer (QCPLayer *layer, bool prepend) |
|
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
|