Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qlayout_widget_p.h>
Public Types | |
enum | Margins { LeftMargin , TopMargin , RightMargin , BottomMargin , MarginCount } |
enum | Spacings { Spacing , HorizSpacing , VertSpacing , SpacingsCount } |
enum | PropertyMask { ObjectNameProperty = 0x1 , LeftMarginProperty = 0x2 , TopMarginProperty = 0x4 , RightMarginProperty = 0x8 , BottomMarginProperty = 0x10 , SpacingProperty = 0x20 , HorizSpacingProperty = 0x40 , VertSpacingProperty = 0x80 , SizeConstraintProperty = 0x100 , FieldGrowthPolicyProperty = 0x200 , RowWrapPolicyProperty = 0x400 , LabelAlignmentProperty = 0x0800 , FormAlignmentProperty = 0x1000 , BoxStretchProperty = 0x2000 , GridRowStretchProperty = 0x4000 , GridColumnStretchProperty = 0x8000 , GridRowMinimumHeightProperty = 0x10000 , GridColumnMinimumWidthProperty = 0x20000 , AllProperties = 0xFFFF } |
Public Member Functions | |
LayoutProperties () | |
void | clear () |
int | fromPropertySheet (const QDesignerFormEditorInterface *core, QLayout *l, int mask=AllProperties) |
int | toPropertySheet (const QDesignerFormEditorInterface *core, QLayout *l, int mask=AllProperties, bool applyChanged=true) const |
Static Public Member Functions | |
static int | visibleProperties (const QLayout *layout) |
Definition at line 38 of file qlayout_widget_p.h.
Enumerator | |
---|---|
LeftMargin | |
TopMargin | |
RightMargin | |
BottomMargin | |
MarginCount |
Definition at line 43 of file qlayout_widget_p.h.
Definition at line 46 of file qlayout_widget_p.h.
Enumerator | |
---|---|
Spacing | |
HorizSpacing | |
VertSpacing | |
SpacingsCount |
Definition at line 44 of file qlayout_widget_p.h.
qdesigner_internal::LayoutProperties::LayoutProperties | ( | ) |
Definition at line 210 of file qlayout_widget.cpp.
void qdesigner_internal::LayoutProperties::clear | ( | ) |
Definition at line 215 of file qlayout_widget.cpp.
Referenced by qdesigner_internal::BuddyEditor::setBackground().
int qdesigner_internal::LayoutProperties::fromPropertySheet | ( | const QDesignerFormEditorInterface * | core, |
QLayout * | l, | ||
int | mask = AllProperties ) |
Definition at line 290 of file qlayout_widget.cpp.
int qdesigner_internal::LayoutProperties::toPropertySheet | ( | const QDesignerFormEditorInterface * | core, |
QLayout * | l, | ||
int | mask = AllProperties, | ||
bool | applyChanged = true ) const |
Definition at line 358 of file qlayout_widget.cpp.
|
static |
Definition at line 234 of file qlayout_widget.cpp.
QVariant qdesigner_internal::LayoutProperties::m_boxStretch |
Definition at line 84 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_boxStretchChanged |
Definition at line 83 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_fieldGrowthPolicy |
Definition at line 75 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_fieldGrowthPolicyChanged |
Definition at line 74 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_formAlignment |
Definition at line 81 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_formAlignmentChanged |
Definition at line 80 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_gridColumnMinimumWidth |
Definition at line 96 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_gridColumnMinimumWidthChanged |
Definition at line 95 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_gridColumnStretch |
Definition at line 90 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_gridColumnStretchChanged |
Definition at line 89 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_gridRowMinimumHeight |
Definition at line 93 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_gridRowMinimumHeightChanged |
Definition at line 92 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_gridRowStretch |
Definition at line 87 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_gridRowStretchChanged |
Definition at line 86 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_labelAlignment |
Definition at line 79 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_labelAlignmentChanged |
Definition at line 78 of file qlayout_widget_p.h.
int qdesigner_internal::LayoutProperties::m_margins[MarginCount] |
Definition at line 63 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_marginsChanged[MarginCount] |
Definition at line 64 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_objectName |
Definition at line 69 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_objectNameChanged |
Definition at line 70 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_rowWrapPolicy |
Definition at line 77 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_rowWrapPolicyChanged |
Definition at line 76 of file qlayout_widget_p.h.
QVariant qdesigner_internal::LayoutProperties::m_sizeConstraint |
Definition at line 71 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_sizeConstraintChanged |
Definition at line 72 of file qlayout_widget_p.h.
int qdesigner_internal::LayoutProperties::m_spacings[SpacingsCount] |
Definition at line 66 of file qlayout_widget_p.h.
bool qdesigner_internal::LayoutProperties::m_spacingsChanged[SpacingsCount] |
Definition at line 67 of file qlayout_widget_p.h.