QCPLayout Class Referenceabstract

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

Inheritance diagram for QCPLayout:
Collaboration diagram for QCPLayout:

Public Member Functions

 QCPLayout ()
 
virtual void update (UpdatePhase phase)
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const
 
virtual int elementCount () const =0
 
virtual QCPLayoutElementelementAt (int index) const =0
 
virtual QCPLayoutElementtakeAt (int index)=0
 
virtual bool take (QCPLayoutElement *element)=0
 
virtual void simplify ()
 
bool removeAt (int index)
 
bool remove (QCPLayoutElement *element)
 
void clear ()
 
 QCPLayout ()
 
virtual void update (UpdatePhase phase) Q_DECL_OVERRIDE
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const Q_DECL_OVERRIDE
 
virtual int elementCount () const =0
 
virtual QCPLayoutElementelementAt (int index) const =0
 
virtual QCPLayoutElementtakeAt (int index)=0
 
virtual bool take (QCPLayoutElement *element)=0
 
virtual void simplify ()
 
bool removeAt (int index)
 
bool remove (QCPLayoutElement *element)
 
void clear ()
 
 QCPLayout ()
 
virtual void update (UpdatePhase phase)
 
virtual QList< QCPLayoutElement * > elements (bool recursive) const
 
virtual int elementCount () const =0
 
virtual QCPLayoutElementelementAt (int index) const =0
 
virtual QCPLayoutElementtakeAt (int index)=0
 
virtual bool take (QCPLayoutElement *element)=0
 
virtual void simplify ()
 
bool removeAt (int index)
 
bool remove (QCPLayoutElement *element)
 
void clear ()
 
- 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 QSize minimumSizeHint () const
 
virtual QSize maximumSizeHint () const
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) 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 QSize minimumOuterSizeHint () const
 
virtual QSize maximumOuterSizeHint () const
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE
 
 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 QSize minimumSizeHint () const
 
virtual QSize maximumSizeHint () const
 
virtual double selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) 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 updateLayout ()
 
void sizeConstraintsChanged () const
 
void adoptElement (QCPLayoutElement *el)
 
void releaseElement (QCPLayoutElement *el)
 
QVector< int > getSectionSizes (QVector< int > maxSizes, QVector< int > minSizes, QVector< double > stretchFactors, int totalSize) const
 
virtual void updateLayout ()
 
void sizeConstraintsChanged () const
 
void adoptElement (QCPLayoutElement *el)
 
void releaseElement (QCPLayoutElement *el)
 
QVector< int > getSectionSizes (QVector< int > maxSizes, QVector< int > minSizes, QVector< double > stretchFactors, int totalSize) const
 
virtual void updateLayout ()
 
void sizeConstraintsChanged () const
 
void adoptElement (QCPLayoutElement *el)
 
void releaseElement (QCPLayoutElement *el)
 
QVector< int > getSectionSizes (QVector< int > maxSizes, QVector< int > minSizes, QVector< double > stretchFactors, int totalSize) 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 applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void draw (QCPPainter *painter)
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
virtual int calculateAutoMargin (QCP::MarginSide side)
 
virtual void layoutChanged ()
 
virtual void applyDefaultAntialiasingHint (QCPPainter *painter) const Q_DECL_OVERRIDE
 
virtual void draw (QCPPainter *painter) Q_DECL_OVERRIDE
 
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 applyDefaultAntialiasingHint (QCPPainter *painter) const
 
virtual void draw (QCPPainter *painter)
 
virtual void parentPlotInitialized (QCustomPlot *parentPlot)
 
- Protected Member Functions inherited from QCPLayerable
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
 
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)
 
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
 
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
 

Static Protected Member Functions

static QSize getFinalMinimumOuterSize (const QCPLayoutElement *el)
 
static QSize getFinalMaximumOuterSize (const QCPLayoutElement *el)
 

Friends

class QCPLayoutElement
 

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
}
 
- Signals inherited from QCPLayerable
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
void layerChanged (QCPLayer *newLayer)
 
- 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
 

Constructor & Destructor Documentation

◆ QCPLayout() [1/3]

QCPLayout::QCPLayout ( )
explicit

◆ QCPLayout() [2/3]

QCPLayout::QCPLayout ( )
explicit

◆ QCPLayout() [3/3]

QCPLayout::QCPLayout ( )
explicit

Member Function Documentation

◆ adoptElement() [1/3]

void QCPLayout::adoptElement ( QCPLayoutElement el)
protected

◆ adoptElement() [2/3]

void QCPLayout::adoptElement ( QCPLayoutElement el)
protected

◆ adoptElement() [3/3]

void QCPLayout::adoptElement ( QCPLayoutElement el)
protected

◆ clear() [1/3]

void QCPLayout::clear ( )

◆ clear() [2/3]

void QCPLayout::clear ( )

◆ clear() [3/3]

void QCPLayout::clear ( )

◆ elementAt() [1/3]

virtual QCPLayoutElement* QCPLayout::elementAt ( int  index) const
pure virtual

◆ elementAt() [2/3]

virtual QCPLayoutElement* QCPLayout::elementAt ( int  index) const
pure virtual

◆ elementAt() [3/3]

virtual QCPLayoutElement* QCPLayout::elementAt ( int  index) const
pure virtual

◆ elementCount() [1/3]

virtual int QCPLayout::elementCount ( ) const
pure virtual

◆ elementCount() [2/3]

virtual int QCPLayout::elementCount ( ) const
pure virtual

◆ elementCount() [3/3]

virtual int QCPLayout::elementCount ( ) const
pure virtual

◆ elements() [1/3]

virtual QList<QCPLayoutElement*> QCPLayout::elements ( bool  recursive) const
virtual

Reimplemented from QCPLayoutElement.

Reimplemented in QCPLayoutGrid, QCPLayoutGrid, and QCPLayoutGrid.

◆ elements() [2/3]

virtual QList<QCPLayoutElement*> QCPLayout::elements ( bool  recursive) const
virtual

Reimplemented from QCPLayoutElement.

Reimplemented in QCPLayoutGrid, QCPLayoutGrid, and QCPLayoutGrid.

◆ elements() [3/3]

virtual QList<QCPLayoutElement*> QCPLayout::elements ( bool  recursive) const
virtual

Reimplemented from QCPLayoutElement.

Reimplemented in QCPLayoutGrid, QCPLayoutGrid, and QCPLayoutGrid.

◆ getFinalMaximumOuterSize()

static QSize QCPLayout::getFinalMaximumOuterSize ( const QCPLayoutElement el)
staticprotected

◆ getFinalMinimumOuterSize()

static QSize QCPLayout::getFinalMinimumOuterSize ( const QCPLayoutElement el)
staticprotected

◆ getSectionSizes() [1/3]

QVector<int> QCPLayout::getSectionSizes ( QVector< int >  maxSizes,
QVector< int >  minSizes,
QVector< double >  stretchFactors,
int  totalSize 
) const
protected

◆ getSectionSizes() [2/3]

QVector<int> QCPLayout::getSectionSizes ( QVector< int >  maxSizes,
QVector< int >  minSizes,
QVector< double >  stretchFactors,
int  totalSize 
) const
protected

◆ getSectionSizes() [3/3]

QVector<int> QCPLayout::getSectionSizes ( QVector< int >  maxSizes,
QVector< int >  minSizes,
QVector< double >  stretchFactors,
int  totalSize 
) const
protected

◆ releaseElement() [1/3]

void QCPLayout::releaseElement ( QCPLayoutElement el)
protected

◆ releaseElement() [2/3]

void QCPLayout::releaseElement ( QCPLayoutElement el)
protected

◆ releaseElement() [3/3]

void QCPLayout::releaseElement ( QCPLayoutElement el)
protected

◆ remove() [1/3]

bool QCPLayout::remove ( QCPLayoutElement element)

◆ remove() [2/3]

bool QCPLayout::remove ( QCPLayoutElement element)

◆ remove() [3/3]

bool QCPLayout::remove ( QCPLayoutElement element)

◆ removeAt() [1/3]

bool QCPLayout::removeAt ( int  index)

◆ removeAt() [2/3]

bool QCPLayout::removeAt ( int  index)

◆ removeAt() [3/3]

bool QCPLayout::removeAt ( int  index)

◆ simplify() [1/3]

virtual void QCPLayout::simplify ( )
virtual

◆ simplify() [2/3]

virtual void QCPLayout::simplify ( )
virtual

◆ simplify() [3/3]

virtual void QCPLayout::simplify ( )
virtual

◆ sizeConstraintsChanged() [1/3]

void QCPLayout::sizeConstraintsChanged ( ) const
protected

◆ sizeConstraintsChanged() [2/3]

void QCPLayout::sizeConstraintsChanged ( ) const
protected

◆ sizeConstraintsChanged() [3/3]

void QCPLayout::sizeConstraintsChanged ( ) const
protected

◆ take() [1/3]

virtual bool QCPLayout::take ( QCPLayoutElement element)
pure virtual

◆ take() [2/3]

virtual bool QCPLayout::take ( QCPLayoutElement element)
pure virtual

◆ take() [3/3]

virtual bool QCPLayout::take ( QCPLayoutElement element)
pure virtual

◆ takeAt() [1/3]

virtual QCPLayoutElement* QCPLayout::takeAt ( int  index)
pure virtual

◆ takeAt() [2/3]

virtual QCPLayoutElement* QCPLayout::takeAt ( int  index)
pure virtual

◆ takeAt() [3/3]

virtual QCPLayoutElement* QCPLayout::takeAt ( int  index)
pure virtual

◆ update() [1/3]

virtual void QCPLayout::update ( UpdatePhase  phase)
virtual

Reimplemented from QCPLayoutElement.

◆ update() [2/3]

virtual void QCPLayout::update ( UpdatePhase  phase)
virtual

Reimplemented from QCPLayoutElement.

◆ update() [3/3]

virtual void QCPLayout::update ( UpdatePhase  phase)
virtual

Reimplemented from QCPLayoutElement.

◆ updateLayout() [1/3]

virtual void QCPLayout::updateLayout ( )
protectedvirtual

◆ updateLayout() [2/3]

virtual void QCPLayout::updateLayout ( )
protectedvirtual

◆ updateLayout() [3/3]

virtual void QCPLayout::updateLayout ( )
protectedvirtual

Friends And Related Function Documentation

◆ QCPLayoutElement


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