Stellarium 0.15.2
|
Public Types | |
enum | TracerStyle { tsNone, tsPlus, tsCrosshair, tsCircle, tsSquare } |
Public Member Functions | |
QCPItemTracer (QCustomPlot *parentPlot) | |
QPen | pen () const |
QPen | selectedPen () const |
QBrush | brush () const |
QBrush | selectedBrush () const |
double | size () const |
TracerStyle | style () const |
QCPGraph * | graph () const |
double | graphKey () const |
bool | interpolating () const |
void | setPen (const QPen &pen) |
void | setSelectedPen (const QPen &pen) |
void | setBrush (const QBrush &brush) |
void | setSelectedBrush (const QBrush &brush) |
void | setSize (double size) |
void | setStyle (TracerStyle style) |
void | setGraph (QCPGraph *graph) |
void | setGraphKey (double key) |
void | setInterpolating (bool enabled) |
virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const |
void | updatePosition () |
Public Member Functions inherited from QCPAbstractItem | |
QCPAbstractItem (QCustomPlot *parentPlot) | |
bool | clipToAxisRect () const |
QCPAxisRect * | clipAxisRect () const |
bool | selectable () const |
bool | selected () const |
void | setClipToAxisRect (bool clip) |
void | setClipAxisRect (QCPAxisRect *rect) |
Q_SLOT void | setSelectable (bool selectable) |
Q_SLOT void | setSelected (bool selected) |
QList< QCPItemPosition * > | positions () const |
QList< QCPItemAnchor * > | anchors () const |
QCPItemPosition * | position (const QString &name) const |
QCPItemAnchor * | anchor (const QString &name) const |
bool | hasAnchor (const QString &name) const |
Public Member Functions inherited from QCPLayerable | |
QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0) | |
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 |
Public Attributes | |
QCPItemPosition *const | position |
Protected Member Functions | |
virtual void | draw (QCPPainter *painter) |
QPen | mainPen () const |
QBrush | mainBrush () const |
Protected Member Functions inherited from QCPAbstractItem | |
virtual QCP::Interaction | selectionCategory () const |
virtual QRect | clipRect () const |
virtual void | applyDefaultAntialiasingHint (QCPPainter *painter) const |
virtual void | selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged) |
virtual void | deselectEvent (bool *selectionStateChanged) |
virtual QPointF | anchorPixelPoint (int anchorId) const |
double | distSqrToLine (const QPointF &start, const QPointF &end, const QPointF &point) const |
double | rectSelectTest (const QRectF &rect, const QPointF &pos, bool filledRect) const |
QCPItemPosition * | createPosition (const QString &name) |
QCPItemAnchor * | createAnchor (const QString &name, int anchorId) |
Protected Member Functions inherited from QCPLayerable | |
virtual void | parentPlotInitialized (QCustomPlot *parentPlot) |
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 | |
QPen | mPen |
QPen | mSelectedPen |
QBrush | mBrush |
QBrush | mSelectedBrush |
double | mSize |
TracerStyle | mStyle |
QCPGraph * | mGraph |
double | mGraphKey |
bool | mInterpolating |
Protected Attributes inherited from QCPAbstractItem | |
bool | mClipToAxisRect |
QPointer< QCPAxisRect > | mClipAxisRect |
QList< QCPItemPosition * > | mPositions |
QList< QCPItemAnchor * > | mAnchors |
bool | mSelectable |
bool | mSelected |
Protected Attributes inherited from QCPLayerable | |
bool | mVisible |
QCustomPlot * | mParentPlot |
QPointer< QCPLayerable > | mParentLayerable |
QCPLayer * | mLayer |
bool | mAntialiased |
Additional Inherited Members | |
Signals inherited from QCPAbstractItem | |
void | selectionChanged (bool selected) |
void | selectableChanged (bool selectable) |
Signals inherited from QCPLayerable | |
void | layerChanged (QCPLayer *newLayer) |
Definition at line 3634 of file qcustomplot.h.
The different visual appearances a tracer item can have. Some styles size may be controlled with setSize.
Definition at line 3654 of file qcustomplot.h.