![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgridlayoutengine_p.h>
Protected Attributes | |
QList< QGridLayoutItem * > | q_items |
Friends | |
class | QGridLayoutItem |
Definition at line 311 of file qgridlayoutengine_p.h.
QGridLayoutEngine::QGridLayoutEngine | ( | Qt::Alignment | defaultAlignment = { }, |
bool | snapToPixelGrid = false ) |
Definition at line 762 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 315 of file qgridlayoutengine_p.h.
void QGridLayoutEngine::addItem | ( | QGridLayoutItem * | item | ) |
Definition at line 979 of file qgridlayoutengine.cpp.
QRectF QGridLayoutEngine::cellRect | ( | const QRectF & | contentsGeometry, |
int | row, | ||
int | column, | ||
int | rowSpan, | ||
int | columnSpan, | ||
const QAbstractLayoutStyleInfo * | styleInfo ) const |
Definition at line 1066 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 320 of file qgridlayoutengine_p.h.
int QGridLayoutEngine::columnCount | ( | Qt::Orientation | orientation | ) | const |
Definition at line 777 of file qgridlayoutengine.cpp.
Qt::Orientation QGridLayoutEngine::constraintOrientation | ( | ) | const |
Definition at line 1649 of file qgridlayoutengine.cpp.
QLayoutPolicy::ControlTypes QGridLayoutEngine::controlTypes | ( | LayoutSide | side | ) | const |
Definition at line 1145 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 357 of file qgridlayoutengine_p.h.
QSizeF QGridLayoutEngine::dynamicallyConstrainedSizeHint | ( | Qt::SizeHint | which, |
const QSizeF & | constraint ) const |
Qt::Alignment QGridLayoutEngine::effectiveAlignment | ( | const QGridLayoutItem * | layoutItem | ) | const |
Definition at line 933 of file qgridlayoutengine.cpp.
int QGridLayoutEngine::effectiveFirstRow | ( | Qt::Orientation | orientation = Qt::Vertical | ) | const |
Definition at line 793 of file qgridlayoutengine.cpp.
int QGridLayoutEngine::effectiveLastRow | ( | Qt::Orientation | orientation = Qt::Vertical | ) | const |
Definition at line 799 of file qgridlayoutengine.cpp.
bool QGridLayoutEngine::ensureDynamicConstraint | ( | ) | const |
returns false if the layout has contradicting constraints (i.e. some items with a horizontal constraint and other items with a vertical constraint)
Definition at line 1616 of file qgridlayoutengine.cpp.
bool QGridLayoutEngine::hasDynamicConstraint | ( | ) | const |
Definition at line 1639 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::insertItem | ( | QGridLayoutItem * | item, |
int | index ) |
The index is only used by QGraphicsLinearLayout to ensure that itemAt() reflects the order of visual arrangement. Strictly speaking it does not have to, but most people expect it to. (And if it didn't we would have to add itemArrangedAt(int index) or something..)
Definition at line 958 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 370 of file qgridlayoutengine_p.h.
void QGridLayoutEngine::invalidate | ( | ) |
Definition at line 1010 of file qgridlayoutengine.cpp.
QGridLayoutItem * QGridLayoutEngine::itemAt | ( | int | index | ) | const |
Definition at line 787 of file qgridlayoutengine.cpp.
QGridLayoutItem * QGridLayoutEngine::itemAt | ( | int | row, |
int | column, | ||
Qt::Orientation | orientation = Qt::Vertical ) const |
Definition at line 1001 of file qgridlayoutengine.cpp.
int QGridLayoutEngine::itemCount | ( | ) | const |
Definition at line 782 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::removeItem | ( | QGridLayoutItem * | item | ) |
Definition at line 984 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 372 of file qgridlayoutengine_p.h.
Qt::Alignment QGridLayoutEngine::rowAlignment | ( | int | row, |
Qt::Orientation | orientation ) const |
Definition at line 927 of file qgridlayoutengine.cpp.
|
inline |
Definition at line 319 of file qgridlayoutengine_p.h.
int QGridLayoutEngine::rowCount | ( | Qt::Orientation | orientation | ) | const |
Definition at line 772 of file qgridlayoutengine.cpp.
qreal QGridLayoutEngine::rowSizeHint | ( | Qt::SizeHint | which, |
int | row, | ||
Qt::Orientation | orientation = Qt::Vertical ) const |
Definition at line 881 of file qgridlayoutengine.cpp.
qreal QGridLayoutEngine::rowSpacing | ( | int | row, |
Qt::Orientation | orientation = Qt::Vertical ) const |
Definition at line 838 of file qgridlayoutengine.cpp.
int QGridLayoutEngine::rowStretchFactor | ( | int | row, |
Qt::Orientation | orientation = Qt::Vertical ) const |
Definition at line 859 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setGeometries | ( | const QRectF & | contentsGeometry, |
const QAbstractLayoutStyleInfo * | styleInfo ) |
Definition at line 1027 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setRowAlignment | ( | int | row, |
Qt::Alignment | alignment, | ||
Qt::Orientation | orientation ) |
Definition at line 914 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setRowSizeHint | ( | Qt::SizeHint | which, |
int | row, | ||
qreal | size, | ||
Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 867 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setRowSpacing | ( | int | row, |
qreal | spacing, | ||
Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 824 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setRowStretchFactor | ( | int | row, |
int | stretch, | ||
Qt::Orientation | orientation = Qt::Vertical ) |
Definition at line 846 of file qgridlayoutengine.cpp.
Definition at line 805 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setUniformCellHeights | ( | bool | uniformCellHeights | ) |
Definition at line 905 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setUniformCellWidths | ( | bool | uniformCellWidths | ) |
Definition at line 891 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::setVisualDirection | ( | Qt::LayoutDirection | direction | ) |
Definition at line 1172 of file qgridlayoutengine.cpp.
QSizeF QGridLayoutEngine::sizeHint | ( | Qt::SizeHint | which, |
const QSizeF & | constraint, | ||
const QAbstractLayoutStyleInfo * | styleInfo ) const |
Definition at line 1091 of file qgridlayoutengine.cpp.
qreal QGridLayoutEngine::spacing | ( | Qt::Orientation | orientation, |
const QAbstractLayoutStyleInfo * | styleInfo ) const |
Definition at line 815 of file qgridlayoutengine.cpp.
void QGridLayoutEngine::transpose | ( | ) |
Definition at line 1159 of file qgridlayoutengine.cpp.
bool QGridLayoutEngine::uniformCellHeights | ( | ) | const |
Definition at line 900 of file qgridlayoutengine.cpp.
bool QGridLayoutEngine::uniformCellWidths | ( | ) | const |
Definition at line 886 of file qgridlayoutengine.cpp.
Qt::LayoutDirection QGridLayoutEngine::visualDirection | ( | ) | const |
Definition at line 1177 of file qgridlayoutengine.cpp.
|
friend |
Definition at line 458 of file qgridlayoutengine_p.h.
|
protected |
Definition at line 418 of file qgridlayoutengine_p.h.