Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
layout_propertysheet.cpp File Reference

(94a41d036d53b28e8638d13eae40875869af6123)

#include "layout_propertysheet.h"
#include <QtDesigner/qextensionmanager.h>
#include <QtDesigner/abstractformeditor.h>
#include <qlayout_widget_p.h>
#include <QtDesigner/private/ui4_p.h>
#include <QtDesigner/private/formbuilderextra_p.h>
#include <QtWidgets/qformlayout.h>
#include <QtCore/qhash.h>
#include <QtCore/qdebug.h>
#include <QtCore/qtextstream.h>
#include <QtCore/qbytearray.h>
#include <QtCore/QRegularExpression>
+ Include dependency graph for layout_propertysheet.cpp:

Go to the source code of this file.

Namespaces

namespace  qdesigner_internal
 Auxiliary methods to store/retrieve settings.
 

Macros

#define USE_LAYOUT_SIZE_CONSTRAINT
 

Functions

static bool isIntegerList (const QString &s)
 
static LayoutPropertyType layoutPropertyType (const QString &name)
 
static int getLayoutMargin (const QLayout *l, LayoutPropertyType type)
 
static void setLayoutMargin (QLayout *l, LayoutPropertyType type, int margin)
 

Variables

static constexpr auto leftMargin = "leftMargin"_L1
 
static constexpr auto topMargin = "topMargin"_L1
 
static constexpr auto rightMargin = "rightMargin"_L1
 
static constexpr auto bottomMargin = "bottomMargin"_L1
 
static constexpr auto horizontalSpacing = "horizontalSpacing"_L1
 
static constexpr auto verticalSpacing = "verticalSpacing"_L1
 
static constexpr auto spacing = "spacing"_L1
 
static constexpr auto sizeConstraint = "sizeConstraint"_L1
 
static constexpr auto boxStretchPropertyC = "stretch"_L1
 
static constexpr auto gridRowStretchPropertyC = "rowStretch"_L1
 
static constexpr auto gridColumnStretchPropertyC = "columnStretch"_L1
 
static constexpr auto gridRowMinimumHeightPropertyC = "rowMinimumHeight"_L1
 
static constexpr auto gridColumnMinimumWidthPropertyC = "columnMinimumWidth"_L1
 

Macro Definition Documentation

◆ USE_LAYOUT_SIZE_CONSTRAINT

#define USE_LAYOUT_SIZE_CONSTRAINT

Definition at line 28 of file layout_propertysheet.cpp.

Function Documentation

◆ getLayoutMargin()

static int getLayoutMargin ( const QLayout * l,
LayoutPropertyType type )
static

Definition at line 99 of file layout_propertysheet.cpp.

◆ isIntegerList()

static bool isIntegerList ( const QString & s)
static

Definition at line 69 of file layout_propertysheet.cpp.

◆ layoutPropertyType()

static LayoutPropertyType layoutPropertyType ( const QString & name)
static

Definition at line 78 of file layout_propertysheet.cpp.

◆ setLayoutMargin()

static void setLayoutMargin ( QLayout * l,
LayoutPropertyType type,
int margin )
static

Definition at line 120 of file layout_propertysheet.cpp.

Variable Documentation

◆ bottomMargin

static constexpr auto bottomMargin = "bottomMargin"_L1
staticconstexpr

Definition at line 33 of file layout_propertysheet.cpp.

◆ boxStretchPropertyC

static constexpr auto boxStretchPropertyC = "stretch"_L1
staticconstexpr

Definition at line 38 of file layout_propertysheet.cpp.

◆ gridColumnMinimumWidthPropertyC

static constexpr auto gridColumnMinimumWidthPropertyC = "columnMinimumWidth"_L1
staticconstexpr

Definition at line 42 of file layout_propertysheet.cpp.

◆ gridColumnStretchPropertyC

static constexpr auto gridColumnStretchPropertyC = "columnStretch"_L1
staticconstexpr

Definition at line 40 of file layout_propertysheet.cpp.

◆ gridRowMinimumHeightPropertyC

static constexpr auto gridRowMinimumHeightPropertyC = "rowMinimumHeight"_L1
staticconstexpr

Definition at line 41 of file layout_propertysheet.cpp.

◆ gridRowStretchPropertyC

static constexpr auto gridRowStretchPropertyC = "rowStretch"_L1
staticconstexpr

Definition at line 39 of file layout_propertysheet.cpp.

◆ horizontalSpacing

static constexpr auto horizontalSpacing = "horizontalSpacing"_L1
staticconstexpr

Definition at line 34 of file layout_propertysheet.cpp.

◆ leftMargin

static constexpr auto leftMargin = "leftMargin"_L1
staticconstexpr

Definition at line 30 of file layout_propertysheet.cpp.

◆ rightMargin

static constexpr auto rightMargin = "rightMargin"_L1
staticconstexpr

Definition at line 32 of file layout_propertysheet.cpp.

◆ sizeConstraint

static constexpr auto sizeConstraint = "sizeConstraint"_L1
staticconstexpr

Definition at line 37 of file layout_propertysheet.cpp.

◆ spacing

auto spacing = "spacing"_L1
staticconstexpr

Definition at line 36 of file layout_propertysheet.cpp.

◆ topMargin

static constexpr auto topMargin = "topMargin"_L1
staticconstexpr

Definition at line 31 of file layout_propertysheet.cpp.

◆ verticalSpacing

static constexpr auto verticalSpacing = "verticalSpacing"_L1
staticconstexpr

Definition at line 35 of file layout_propertysheet.cpp.