Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGraphicsLinearLayoutPrivate Class Reference
+ Inheritance diagram for QGraphicsLinearLayoutPrivate:
+ Collaboration diagram for QGraphicsLinearLayoutPrivate:

Public Member Functions

 QGraphicsLinearLayoutPrivate (Qt::Orientation orientation)
 
void removeGridItem (QGridLayoutItem *gridItem)
 
QGraphicsLayoutStyleInfostyleInfo () const
 
void fixIndex (int *index) const
 
int gridRow (int index) const
 
int gridColumn (int index) const
 
- Public Member Functions inherited from QGraphicsLayoutPrivate
 QGraphicsLayoutPrivate ()
 
void reparentChildItems (QGraphicsItem *newParent)
 
void getMargin (qreal *result, qreal userMargin, QStyle::PixelMetric pm) const
 
Qt::LayoutDirection visualDirection () const
 
void addChildLayoutItem (QGraphicsLayoutItem *item)
 
void activateRecursive (QGraphicsLayoutItem *item)
 
- Public Member Functions inherited from QGraphicsLayoutItemPrivate
virtual ~QGraphicsLayoutItemPrivate ()
 
 QGraphicsLayoutItemPrivate (QGraphicsLayoutItem *parent, bool isLayout)
 
void init ()
 
QSizeFeffectiveSizeHints (const QSizeF &constraint) const
 
QGraphicsItemparentItem () const
 
void ensureUserSizeHints ()
 
void setSize (Qt::SizeHint which, const QSizeF &size)
 
void setSizeComponent (Qt::SizeHint which, SizeComponent component, qreal value)
 
bool hasHeightForWidth () const
 
bool hasWidthForHeight () const
 

Public Attributes

Qt::Orientation orientation
 
QScopedPointer< QGraphicsLayoutStyleInfom_styleInfo
 
QGraphicsGridLayoutEngine engine
 
- Public Attributes inherited from QGraphicsLayoutPrivate
qreal left
 
qreal top
 
qreal right
 
qreal bottom
 
bool activated
 
- Public Attributes inherited from QGraphicsLayoutItemPrivate
QSizePolicy sizePolicy
 
QGraphicsLayoutItemparent
 
QSizeFuserSizeHints
 
QSizeF cachedSizeHints [Qt::NSizeHints]
 
QSizeF cachedConstraint
 
QSizeF cachedSizeHintsWithConstraints [Qt::NSizeHints]
 
quint32 sizeHintCacheDirty: 1
 
quint32 sizeHintWithConstraintCacheDirty: 1
 
quint32 isLayout: 1
 
quint32 ownedByLayout: 1
 
QGraphicsLayoutItemq_ptr
 
QRectF geom
 
QGraphicsItemgraphicsItem
 

Additional Inherited Members

- Public Types inherited from QGraphicsLayoutItemPrivate
enum  SizeComponent { Width , Height }
 
- Static Public Member Functions inherited from QGraphicsLayoutItemPrivate
static QGraphicsLayoutItemPrivateget (QGraphicsLayoutItem *q)
 
static const QGraphicsLayoutItemPrivateget (const QGraphicsLayoutItem *q)
 

Detailed Description

Definition at line 98 of file qgraphicslinearlayout.cpp.

Constructor & Destructor Documentation

◆ QGraphicsLinearLayoutPrivate()

QGraphicsLinearLayoutPrivate::QGraphicsLinearLayoutPrivate ( Qt::Orientation orientation)
inline

Definition at line 101 of file qgraphicslinearlayout.cpp.

Member Function Documentation

◆ fixIndex()

void QGraphicsLinearLayoutPrivate::fixIndex ( int * index) const

Definition at line 123 of file qgraphicslinearlayout.cpp.

References engine, orientation, and QGridLayoutEngine::rowCount().

+ Here is the call graph for this function:

◆ gridColumn()

int QGraphicsLinearLayoutPrivate::gridColumn ( int index) const

Definition at line 137 of file qgraphicslinearlayout.cpp.

References QGridLayoutEngine::columnCount(), engine, orientation, qMin(), and Qt::Vertical.

+ Here is the call graph for this function:

◆ gridRow()

int QGraphicsLinearLayoutPrivate::gridRow ( int index) const

Definition at line 130 of file qgraphicslinearlayout.cpp.

References engine, Qt::Horizontal, orientation, qMin(), and QGridLayoutEngine::rowCount().

+ Here is the call graph for this function:

◆ removeGridItem()

void QGraphicsLinearLayoutPrivate::removeGridItem ( QGridLayoutItem * gridItem)

Definition at line 116 of file qgraphicslinearlayout.cpp.

References engine, orientation, QGridLayoutEngine::removeItem(), and QGridLayoutEngine::removeRows().

+ Here is the call graph for this function:

◆ styleInfo()

QGraphicsLayoutStyleInfo * QGraphicsLinearLayoutPrivate::styleInfo ( ) const

Definition at line 144 of file qgraphicslinearlayout.cpp.

References QScopedPointer< T, Cleanup >::data(), m_styleInfo, and QScopedPointer< T, Cleanup >::reset().

+ Here is the call graph for this function:

Member Data Documentation

◆ engine

QGraphicsGridLayoutEngine QGraphicsLinearLayoutPrivate::engine

Definition at line 113 of file qgraphicslinearlayout.cpp.

Referenced by fixIndex(), gridColumn(), gridRow(), and removeGridItem().

◆ m_styleInfo

QScopedPointer<QGraphicsLayoutStyleInfo> QGraphicsLinearLayoutPrivate::m_styleInfo
mutable

Definition at line 112 of file qgraphicslinearlayout.cpp.

Referenced by styleInfo().

◆ orientation

Qt::Orientation QGraphicsLinearLayoutPrivate::orientation

Definition at line 111 of file qgraphicslinearlayout.cpp.

Referenced by fixIndex(), gridColumn(), gridRow(), and removeGridItem().


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