#include <qgraphicslayout_p.h>
Definition at line 82 of file qgraphicslayout_p.h.
◆ QLayoutStyleInfo() [1/2]
QLayoutStyleInfo::QLayoutStyleInfo |
( |
| ) |
|
|
inline |
◆ QLayoutStyleInfo() [2/2]
QLayoutStyleInfo::QLayoutStyleInfo |
( |
QStyle * |
style, |
|
|
QWidget * |
widget |
|
) |
| |
|
inline |
Definition at line 86 of file qgraphicslayout_p.h.
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const =0
Returns the value of the given pixel metric.
qreal m_defaultSpacing[2]
void initFrom(const QWidget *w)
QStyleOption m_styleOption
◆ defaultSpacing()
◆ invalidate()
void QLayoutStyleInfo::invalidate |
( |
| ) |
|
|
inline |
◆ operator!=()
◆ operator==()
◆ perItemSpacing()
Definition at line 115 of file qgraphicslayout_p.h.
Referenced by AnchorData::refreshSizeHints().
int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option=0, const QWidget *widget=0) const
Returns the spacing that should be used between control1 and control2 in a layout.
QStyleOption m_styleOption
◆ setDefaultSpacing()
◆ style()
QStyle* QLayoutStyleInfo::style |
( |
| ) |
const |
|
inline |
◆ widget()
QWidget* QLayoutStyleInfo::widget |
( |
| ) |
const |
|
inline |
◆ m_defaultSpacing
qreal QLayoutStyleInfo::m_defaultSpacing[2] |
|
private |
◆ m_style
QStyle* QLayoutStyleInfo::m_style |
|
private |
◆ m_styleOption
◆ m_valid
bool QLayoutStyleInfo::m_valid |
|
private |
◆ m_widget
QWidget* QLayoutStyleInfo::m_widget |
|
private |
The documentation for this class was generated from the following file: