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

(48f65d8faa3ed41e94bdf7f1ed029a3a2bc32615)

#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.

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 horizontalSizeConstraint = "horizontalSizeConstraint"_L1
static constexpr auto verticalSizeConstraint = "verticalSizeConstraint"_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

Function Documentation

◆ getLayoutMargin()

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

Definition at line 112 of file layout_propertysheet.cpp.

◆ isIntegerList()

bool isIntegerList ( const QString & s)
static

Definition at line 77 of file layout_propertysheet.cpp.

◆ layoutPropertyType()

LayoutPropertyType layoutPropertyType ( const QString & name)
static

Definition at line 86 of file layout_propertysheet.cpp.

◆ setLayoutMargin()

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

Definition at line 133 of file layout_propertysheet.cpp.

Variable Documentation

◆ bottomMargin

constexpr auto bottomMargin = "bottomMargin"_L1
staticconstexpr

Definition at line 31 of file layout_propertysheet.cpp.

◆ boxStretchPropertyC

constexpr auto boxStretchPropertyC = "stretch"_L1
staticconstexpr

Definition at line 41 of file layout_propertysheet.cpp.

◆ gridColumnMinimumWidthPropertyC

constexpr auto gridColumnMinimumWidthPropertyC = "columnMinimumWidth"_L1
staticconstexpr

Definition at line 45 of file layout_propertysheet.cpp.

◆ gridColumnStretchPropertyC

constexpr auto gridColumnStretchPropertyC = "columnStretch"_L1
staticconstexpr

Definition at line 43 of file layout_propertysheet.cpp.

◆ gridRowMinimumHeightPropertyC

constexpr auto gridRowMinimumHeightPropertyC = "rowMinimumHeight"_L1
staticconstexpr

Definition at line 44 of file layout_propertysheet.cpp.

◆ gridRowStretchPropertyC

constexpr auto gridRowStretchPropertyC = "rowStretch"_L1
staticconstexpr

Definition at line 42 of file layout_propertysheet.cpp.

◆ horizontalSizeConstraint

constexpr auto horizontalSizeConstraint = "horizontalSizeConstraint"_L1
staticconstexpr

Definition at line 38 of file layout_propertysheet.cpp.

◆ horizontalSpacing

constexpr auto horizontalSpacing = "horizontalSpacing"_L1
staticconstexpr

Definition at line 32 of file layout_propertysheet.cpp.

◆ leftMargin

constexpr auto leftMargin = "leftMargin"_L1
staticconstexpr

Definition at line 28 of file layout_propertysheet.cpp.

◆ rightMargin

constexpr auto rightMargin = "rightMargin"_L1
staticconstexpr

Definition at line 30 of file layout_propertysheet.cpp.

◆ spacing

constexpr auto spacing = "spacing"_L1
staticconstexpr

Definition at line 34 of file layout_propertysheet.cpp.

◆ topMargin

constexpr auto topMargin = "topMargin"_L1
staticconstexpr

Definition at line 29 of file layout_propertysheet.cpp.

◆ verticalSizeConstraint

constexpr auto verticalSizeConstraint = "verticalSizeConstraint"_L1
staticconstexpr

Definition at line 39 of file layout_propertysheet.cpp.

◆ verticalSpacing

constexpr auto verticalSpacing = "verticalSpacing"_L1
staticconstexpr

Definition at line 33 of file layout_propertysheet.cpp.