![]() |
Nakuja Flight Computer Testing and Simulation Engine (NaFCTSE) 1.0
A testing and verification tool for the Nakuja Rocket Project flight computers
|
A legend item for polar plots. More...
Public Member Functions | |
QCPPolarLegendItem (QCPLegend *parent, QCPPolarGraph *graph) | |
QCPPolarGraph * | polarGraph () |
![]() | |
QCPAbstractLegendItem (QCPLegend *parent) | |
QCPLegend * | parentLegend () const |
QFont | font () const |
QColor | textColor () const |
QFont | selectedFont () const |
QColor | selectedTextColor () const |
bool | selectable () const |
bool | selected () const |
void | setFont (const QFont &font) |
void | setTextColor (const QColor &color) |
void | setSelectedFont (const QFont &font) |
void | setSelectedTextColor (const QColor &color) |
Q_SLOT void | setSelectable (bool selectable) |
Q_SLOT void | setSelected (bool selected) |
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=nullptr) const Q_DECL_OVERRIDE |
![]() | |
QCPLayoutElement (QCustomPlot *parentPlot=nullptr) | |
QCPLayout * | layout () const |
QRect | rect () const |
QRect | outerRect () const |
QMargins | margins () const |
QMargins | minimumMargins () const |
QCP::MarginSides | autoMargins () const |
QSize | minimumSize () const |
QSize | maximumSize () const |
SizeConstraintRect | sizeConstraintRect () const |
QCPMarginGroup * | marginGroup (QCP::MarginSide side) const |
QHash< QCP::MarginSide, QCPMarginGroup * > | marginGroups () const |
void | setOuterRect (const QRect &rect) |
void | setMargins (const QMargins &margins) |
void | setMinimumMargins (const QMargins &margins) |
void | setAutoMargins (QCP::MarginSides sides) |
void | setMinimumSize (const QSize &size) |
void | setMinimumSize (int width, int height) |
void | setMaximumSize (const QSize &size) |
void | setMaximumSize (int width, int height) |
void | setSizeConstraintRect (SizeConstraintRect constraintRect) |
void | setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group) |
virtual void | update (UpdatePhase phase) |
virtual QSize | maximumOuterSizeHint () const |
virtual QList< QCPLayoutElement * > | elements (bool recursive) const |
![]() | |
QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=nullptr) | |
bool | visible () const |
QCustomPlot * | parentPlot () const |
QCPLayerable * | parentLayerable () const |
QCPLayer * | layer () const |
bool | antialiased () const |
void | setVisible (bool on) |
Q_SLOT bool | setLayer (QCPLayer *layer) |
bool | setLayer (const QString &layerName) |
void | setAntialiased (bool enabled) |
bool | realVisibility () const |
Protected Member Functions | |
virtual void | draw (QCPPainter *painter) Q_DECL_OVERRIDE |
virtual QSize | minimumOuterSizeHint () const Q_DECL_OVERRIDE |
QPen | getIconBorderPen () const |
QColor | getTextColor () const |
QFont | getFont () const |
![]() | |
virtual QCP::Interaction | selectionCategory () const Q_DECL_OVERRIDE |
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE |
virtual QRect | clipRect () const Q_DECL_OVERRIDE |
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) Q_DECL_OVERRIDE |
virtual void | deselectEvent (bool *selectionStateChanged) Q_DECL_OVERRIDE |
![]() | |
virtual int | calculateAutoMargin (QCP::MarginSide side) |
virtual void | layoutChanged () |
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) Q_DECL_OVERRIDE |
![]() | |
virtual void | mousePressEvent (QMouseEvent *event, const QVariant &details) |
virtual void | mouseMoveEvent (QMouseEvent *event, const QPointF &startPos) |
virtual void | mouseReleaseEvent (QMouseEvent *event, const QPointF &startPos) |
virtual void | mouseDoubleClickEvent (QMouseEvent *event, const QVariant &details) |
virtual void | wheelEvent (QWheelEvent *event) |
void | initializeParentPlot (QCustomPlot *parentPlot) |
void | setParentLayerable (QCPLayerable *parentLayerable) |
bool | moveToLayer (QCPLayer *layer, bool prepend) |
void | applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const |
Protected Attributes | |
QCPPolarGraph * | mPolarGraph |
![]() | |
QCPLegend * | mParentLegend |
QFont | mFont |
QColor | mTextColor |
QFont | mSelectedFont |
QColor | mSelectedTextColor |
bool | mSelectable |
bool | mSelected |
![]() | |
QCPLayout * | mParentLayout |
QSize | mMinimumSize |
QSize | mMaximumSize |
SizeConstraintRect | mSizeConstraintRect |
QRect | mRect |
QRect | mOuterRect |
QMargins | mMargins |
QMargins | mMinimumMargins |
QCP::MarginSides | mAutoMargins |
QHash< QCP::MarginSide, QCPMarginGroup * > | mMarginGroups |
![]() | |
bool | mVisible |
QCustomPlot * | mParentPlot |
QPointer< QCPLayerable > | mParentLayerable |
QCPLayer * | mLayer |
bool | mAntialiased |
Additional Inherited Members | |
![]() | |
enum | UpdatePhase { upPreparation , upMargins , upLayout } |
enum | SizeConstraintRect { scrInnerRect , scrOuterRect } |
![]() | |
void | selectionChanged (bool selected) |
void | selectableChanged (bool selectable) |
![]() | |
void | layerChanged (QCPLayer *newLayer) |
A legend item for polar plots.
|
protectedvirtual |
Implements QCPAbstractLegendItem.
|
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.