|
Cute Chess
0.1
|
A legend item for polar plots. More...
Public Member Functions | |
| QCPPolarGraph * | polarGraph () |
| QCPPolarLegendItem (QCPLegend *parent, QCPPolarGraph *graph) | |
Public Member Functions inherited from QCPAbstractLegendItem | |
| QFont | font () const |
| QCPLegend * | parentLegend () const |
| QCPAbstractLegendItem (QCPLegend *parent) | |
| bool | selectable () const |
| bool | selected () const |
| QFont | selectedFont () const |
| QColor | selectedTextColor () const |
| virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=nullptr) const Q_DECL_OVERRIDE |
| void | setFont (const QFont &font) |
| Q_SLOT void | setSelectable (bool selectable) |
| Q_SLOT void | setSelected (bool selected) |
| void | setSelectedFont (const QFont &font) |
| void | setSelectedTextColor (const QColor &color) |
| void | setTextColor (const QColor &color) |
| QColor | textColor () const |
Public Member Functions inherited from QCPLayoutElement | |
| QCP::MarginSides | autoMargins () const |
| virtual QList< QCPLayoutElement * > | elements (bool recursive) 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 |
| QSize | minimumSize () const |
| QRect | outerRect () const |
| QCPLayoutElement (QCustomPlot *parentPlot=nullptr) | |
| QRect | rect () const |
| 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 |
| virtual void | update (UpdatePhase phase) |
Public Member Functions inherited from QCPLayerable | |
| bool | antialiased () const |
| QCPLayer * | layer () const |
| QCPLayerable * | parentLayerable () const |
| QCustomPlot * | parentPlot () const |
| QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=nullptr) | |
| bool | realVisibility () const |
| void | setAntialiased (bool enabled) |
| Q_SLOT bool | setLayer (QCPLayer *layer) |
| bool | setLayer (const QString &layerName) |
| void | setVisible (bool on) |
| bool | visible () const |
Protected Member Functions | |
| virtual void | draw (QCPPainter *painter) Q_DECL_OVERRIDE |
| QFont | getFont () const |
| QPen | getIconBorderPen () const |
| QColor | getTextColor () const |
| virtual QSize | minimumOuterSizeHint () const Q_DECL_OVERRIDE |
Protected Member Functions inherited from QCPAbstractLegendItem | |
| virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE |
| virtual QRect | clipRect () const Q_DECL_OVERRIDE |
| virtual void | deselectEvent (bool *selectionStateChanged) Q_DECL_OVERRIDE |
| virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) Q_DECL_OVERRIDE |
| virtual QCP::Interaction | selectionCategory () const Q_DECL_OVERRIDE |
Protected Member Functions inherited from QCPLayoutElement | |
| virtual int | calculateAutoMargin (QCP::MarginSide side) |
| virtual void | layoutChanged () |
| virtual void | parentPlotInitialized (QCustomPlot *parentPlot) Q_DECL_OVERRIDE |
Protected Member Functions inherited from QCPLayerable | |
| void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
| void | initializeParentPlot (QCustomPlot *parentPlot) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
| virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) |
| virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) |
| virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) |
| bool | moveToLayer (QCPLayer *layer, bool prepend) |
| void | setParentLayerable (QCPLayerable *parentLayerable) |
| virtual void | wheelEvent (QWheelEvent *event) |
Protected Attributes | |
| QCPPolarGraph * | mPolarGraph |
Protected Attributes inherited from QCPAbstractLegendItem | |
| QFont | mFont |
| QCPLegend * | mParentLegend |
| bool | mSelectable |
| bool | mSelected |
| QFont | mSelectedFont |
| QColor | mSelectedTextColor |
| QColor | mTextColor |
Protected Attributes inherited from QCPLayoutElement | |
| QCP::MarginSides | mAutoMargins |
| QHash< QCP::MarginSide, QCPMarginGroup * > | mMarginGroups |
| QMargins | mMargins |
| QSize | mMaximumSize |
| QMargins | mMinimumMargins |
| QSize | mMinimumSize |
| QRect | mOuterRect |
| QCPLayout * | mParentLayout |
| QRect | mRect |
| SizeConstraintRect | mSizeConstraintRect |
Protected Attributes inherited from QCPLayerable | |
| bool | mAntialiased |
| QCPLayer * | mLayer |
| QPointer< QCPLayerable > | mParentLayerable |
| QCustomPlot * | mParentPlot |
| bool | mVisible |
Additional Inherited Members | |
Public Types inherited from QCPLayoutElement | |
| enum | SizeConstraintRect { scrInnerRect, scrOuterRect } |
| enum | UpdatePhase { upPreparation, upMargins, upLayout } |
Signals inherited from QCPAbstractLegendItem | |
| void | selectableChanged (bool selectable) |
| void | selectionChanged (bool selected) |
Signals inherited from QCPLayerable | |
| void | layerChanged (QCPLayer *newLayer) |
A legend item for polar plots.
|
protectedvirtual |
Returns the suggested minimum size this layout element (the outerRect) may be compressed to, if no manual minimum size is set.
if a minimum size (setMinimumSize) was not set manually, parent layouts use the returned size (usually indirectly through QCPLayout::getFinalMinimumOuterSize) to determine the minimum allowed size of this layout element.
A manual minimum size is considered set if it is non-zero.
The default implementation simply returns the sum of the horizontal margins for the width and the sum of the vertical margins for the height. Reimplementations may use their detailed knowledge about the layout element's content to provide size hints.
Reimplemented from QCPLayoutElement.
1.8.14