QCPPlotTitle Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Inheritance diagram for QCPPlotTitle:
Collaboration diagram for QCPPlotTitle:

Signals

void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
void selectionChanged (bool selected)
 
void selectableChanged (bool selectable)
 
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 

Public Member Functions

 QCPPlotTitle (QCustomPlot *parentPlot)
 
 QCPPlotTitle (QCustomPlot *parentPlot, const QString &text)
 
QString text () const
 
QFont font () const
 
QColor textColor () const
 
QFont selectedFont () const
 
QColor selectedTextColor () const
 
bool selectable () const
 
bool selected () const
 
void setText (const QString &text)
 
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=0) const
 
 QCPPlotTitle (QCustomPlot *parentPlot)
 
 QCPPlotTitle (QCustomPlot *parentPlot, const QString &text)
 
QString text () const
 
QFont font () const
 
QColor textColor () const
 
QFont selectedFont () const
 
QColor selectedTextColor () const
 
bool selectable () const
 
bool selected () const
 
void setText (const QString &text)
 
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=0) const
 
- Public Member Functions inherited from QCPLayoutElement
 QCPLayoutElement (QCustomPlot *parentPlot=0)
 
virtual ~QCPLayoutElement ()
 
QCPLayoutlayout () const
 
QRect rect () const
 
QRect outerRect () const
 
QMargins margins () const
 
QMargins minimumMargins () const
 
QCP::MarginSides autoMargins () const
 
QSize minimumSize () const
 
QSize maximumSize () const
 
QCPMarginGroupmarginGroup (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 setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group)
 
virtual void update (UpdatePhase phase)
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const
 
 QCPLayoutElement (QCustomPlot *parentPlot=0)
 
virtual ~QCPLayoutElement ()
 
QCPLayoutlayout () 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
 
QCPMarginGroupmarginGroup (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 minimumOuterSizeHint () const
 
virtual QSize maximumOuterSizeHint () const
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const
 
 QCPLayoutElement (QCustomPlot *parentPlot=0)
 
virtual ~QCPLayoutElement ()
 
QCPLayoutlayout () const
 
QRect rect () const
 
QRect outerRect () const
 
QMargins margins () const
 
QMargins minimumMargins () const
 
QCP::MarginSides autoMargins () const
 
QSize minimumSize () const
 
QSize maximumSize () const
 
QCPMarginGroupmarginGroup (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 setMarginGroup (QCP::MarginSides sides, QCPMarginGroup *group)
 
virtual void update (UpdatePhase phase)
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const
 
- Public Member Functions inherited from QCPLayerable
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
virtual ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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
 
 QCPLayerable (QCustomPlot *plot, QString targetLayer=QString(), QCPLayerable *parentLayerable=0)
 
 ~QCPLayerable ()
 
bool visible () const
 
QCustomPlotparentPlot () const
 
QCPLayerableparentLayerable () const
 
QCPLayerlayer () 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 applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void draw (QCPPainter *painter)
 
virtual QSize minimumSizeHint () const
 
virtual QSize maximumSizeHint () const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
QFont mainFont () const
 
QColor mainTextColor () const
 
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void draw (QCPPainter *painter)
 
virtual QSize minimumSizeHint () const
 
virtual QSize maximumSizeHint () const
 
virtual void selectEvent (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)
 
virtual void deselectEvent (bool *selectionStateChanged)
 
QFont mainFont () const
 
QColor mainTextColor () const
 
- Protected Member Functions inherited from QCPLayoutElement
virtual int calculateAutoMargin (QCP::MarginSide side)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
virtual int calculateAutoMargin (QCP::MarginSide side)
 
virtual void layoutChanged ()
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot) Q_DECL_OVERRIDE
 
virtual int calculateAutoMargin (QCP::MarginSide side)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
- Protected Member Functions inherited from QCPLayerable
virtual QCP::Interaction selectionCategory () const
 
virtual QRect clipRect () const
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual QCP::Interaction selectionCategory () const
 
virtual QRect clipRect () const
 
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)
 
void initializeParentPlot (QCustomPlot *parentPlot)
 
void setParentLayerable (QCPLayerable *parentLayerable)
 
bool moveToLayer (QCPLayer *layer, bool prepend)
 
void applyAntialiasingHint (QCPPainter *painter, bool localAntialiased, QCP::AntialiasedElement overrideElement) const
 
virtual QCP::Interaction selectionCategory () const
 
virtual QRect clipRect () const
 
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

QString mText
 
QFont mFont
 
QColor mTextColor
 
QFont mSelectedFont
 
QColor mSelectedTextColor
 
QRect mTextBoundingRect
 
bool mSelectable
 
bool mSelected
 
- Protected Attributes inherited from QCPLayoutElement
QCPLayoutmParentLayout
 
QSize mMinimumSize
 
QSize mMaximumSize
 
QRect mRect
 
QRect mOuterRect
 
QMargins mMargins
 
QMargins mMinimumMargins
 
QCP::MarginSides mAutoMargins
 
QHash< QCP::MarginSide, QCPMarginGroup * > mMarginGroups
 
SizeConstraintRect mSizeConstraintRect
 
- Protected Attributes inherited from QCPLayerable
bool mVisible
 
QCustomPlotmParentPlot
 
QPointer< QCPLayerablemParentLayerable
 
QCPLayermLayer
 
bool mAntialiased
 

Additional Inherited Members

- Public Types inherited from QCPLayoutElement
enum  UpdatePhase {
  upPreparation, upMargins, upLayout, upPreparation,
  upMargins, upLayout, upPreparation, upMargins,
  upLayout
}
 
enum  UpdatePhase {
  upPreparation, upMargins, upLayout, upPreparation,
  upMargins, upLayout, upPreparation, upMargins,
  upLayout
}
 
enum  SizeConstraintRect { scrInnerRect, scrOuterRect }
 
enum  UpdatePhase {
  upPreparation, upMargins, upLayout, upPreparation,
  upMargins, upLayout, upPreparation, upMargins,
  upLayout
}
 

Constructor & Destructor Documentation

◆ QCPPlotTitle() [1/4]

QCPPlotTitle::QCPPlotTitle ( QCustomPlot parentPlot)
explicit

◆ QCPPlotTitle() [2/4]

QCPPlotTitle::QCPPlotTitle ( QCustomPlot parentPlot,
const QString &  text 
)
explicit

◆ QCPPlotTitle() [3/4]

QCPPlotTitle::QCPPlotTitle ( QCustomPlot parentPlot)
explicit

◆ QCPPlotTitle() [4/4]

QCPPlotTitle::QCPPlotTitle ( QCustomPlot parentPlot,
const QString &  text 
)
explicit

Member Function Documentation

◆ applyDefaultAntialiasingHint() [1/2]

virtual void QCPPlotTitle::applyDefaultAntialiasingHint ( QCPPainter painter) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ applyDefaultAntialiasingHint() [2/2]

virtual void QCPPlotTitle::applyDefaultAntialiasingHint ( QCPPainter painter) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ deselectEvent() [1/2]

virtual void QCPPlotTitle::deselectEvent ( bool *  selectionStateChanged)
protectedvirtual

Reimplemented from QCPLayerable.

◆ deselectEvent() [2/2]

virtual void QCPPlotTitle::deselectEvent ( bool *  selectionStateChanged)
protectedvirtual

Reimplemented from QCPLayerable.

◆ draw() [1/2]

virtual void QCPPlotTitle::draw ( QCPPainter painter)
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ draw() [2/2]

virtual void QCPPlotTitle::draw ( QCPPainter painter)
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ font() [1/2]

QFont QCPPlotTitle::font ( ) const
inline

◆ font() [2/2]

QFont QCPPlotTitle::font ( ) const
inline

◆ mainFont() [1/2]

QFont QCPPlotTitle::mainFont ( ) const
protected

◆ mainFont() [2/2]

QFont QCPPlotTitle::mainFont ( ) const
protected

◆ mainTextColor() [1/2]

QColor QCPPlotTitle::mainTextColor ( ) const
protected

◆ mainTextColor() [2/2]

QColor QCPPlotTitle::mainTextColor ( ) const
protected

◆ maximumSizeHint() [1/2]

virtual QSize QCPPlotTitle::maximumSizeHint ( ) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ maximumSizeHint() [2/2]

virtual QSize QCPPlotTitle::maximumSizeHint ( ) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ minimumSizeHint() [1/2]

virtual QSize QCPPlotTitle::minimumSizeHint ( ) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ minimumSizeHint() [2/2]

virtual QSize QCPPlotTitle::minimumSizeHint ( ) const
protectedvirtual

Reimplemented from QCPLayoutElement.

◆ selectable() [1/2]

bool QCPPlotTitle::selectable ( ) const
inline

◆ selectable() [2/2]

bool QCPPlotTitle::selectable ( ) const
inline

◆ selectableChanged [1/2]

void QCPPlotTitle::selectableChanged ( bool  selectable)
signal

◆ selectableChanged [2/2]

void QCPPlotTitle::selectableChanged ( bool  selectable)
signal

◆ selected() [1/2]

bool QCPPlotTitle::selected ( ) const
inline

◆ selected() [2/2]

bool QCPPlotTitle::selected ( ) const
inline

◆ selectedFont() [1/2]

QFont QCPPlotTitle::selectedFont ( ) const
inline

◆ selectedFont() [2/2]

QFont QCPPlotTitle::selectedFont ( ) const
inline

◆ selectedTextColor() [1/2]

QColor QCPPlotTitle::selectedTextColor ( ) const
inline

◆ selectedTextColor() [2/2]

QColor QCPPlotTitle::selectedTextColor ( ) const
inline

◆ selectEvent() [1/2]

virtual void QCPPlotTitle::selectEvent ( QMouseEvent *  event,
bool  additive,
const QVariant &  details,
bool *  selectionStateChanged 
)
protectedvirtual

Reimplemented from QCPLayerable.

◆ selectEvent() [2/2]

virtual void QCPPlotTitle::selectEvent ( QMouseEvent *  event,
bool  additive,
const QVariant &  details,
bool *  selectionStateChanged 
)
protectedvirtual

Reimplemented from QCPLayerable.

◆ selectionChanged [1/2]

void QCPPlotTitle::selectionChanged ( bool  selected)
signal

◆ selectionChanged [2/2]

void QCPPlotTitle::selectionChanged ( bool  selected)
signal

◆ selectTest() [1/2]

virtual double QCPPlotTitle::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Reimplemented from QCPLayoutElement.

◆ selectTest() [2/2]

virtual double QCPPlotTitle::selectTest ( const QPointF &  pos,
bool  onlySelectable,
QVariant *  details = 0 
) const
virtual

Reimplemented from QCPLayoutElement.

◆ setFont() [1/2]

void QCPPlotTitle::setFont ( const QFont &  font)

◆ setFont() [2/2]

void QCPPlotTitle::setFont ( const QFont &  font)

◆ setSelectable() [1/2]

Q_SLOT void QCPPlotTitle::setSelectable ( bool  selectable)

◆ setSelectable() [2/2]

Q_SLOT void QCPPlotTitle::setSelectable ( bool  selectable)

◆ setSelected() [1/2]

Q_SLOT void QCPPlotTitle::setSelected ( bool  selected)

◆ setSelected() [2/2]

Q_SLOT void QCPPlotTitle::setSelected ( bool  selected)

◆ setSelectedFont() [1/2]

void QCPPlotTitle::setSelectedFont ( const QFont &  font)

◆ setSelectedFont() [2/2]

void QCPPlotTitle::setSelectedFont ( const QFont &  font)

◆ setSelectedTextColor() [1/2]

void QCPPlotTitle::setSelectedTextColor ( const QColor &  color)

◆ setSelectedTextColor() [2/2]

void QCPPlotTitle::setSelectedTextColor ( const QColor &  color)

◆ setText() [1/2]

void QCPPlotTitle::setText ( const QString &  text)

◆ setText() [2/2]

void QCPPlotTitle::setText ( const QString &  text)

◆ setTextColor() [1/2]

void QCPPlotTitle::setTextColor ( const QColor &  color)

◆ setTextColor() [2/2]

void QCPPlotTitle::setTextColor ( const QColor &  color)

◆ text() [1/2]

QString QCPPlotTitle::text ( ) const
inline

◆ text() [2/2]

QString QCPPlotTitle::text ( ) const
inline

◆ textColor() [1/2]

QColor QCPPlotTitle::textColor ( ) const
inline

◆ textColor() [2/2]

QColor QCPPlotTitle::textColor ( ) const
inline

Member Data Documentation

◆ mFont

QFont QCPPlotTitle::mFont
protected

◆ mSelectable

bool QCPPlotTitle::mSelectable
protected

◆ mSelected

bool QCPPlotTitle::mSelected
protected

◆ mSelectedFont

QFont QCPPlotTitle::mSelectedFont
protected

◆ mSelectedTextColor

QColor QCPPlotTitle::mSelectedTextColor
protected

◆ mText

QString QCPPlotTitle::mText
protected

◆ mTextBoundingRect

QRect QCPPlotTitle::mTextBoundingRect
protected

◆ mTextColor

QColor QCPPlotTitle::mTextColor
protected

The documentation for this class was generated from the following file: