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
qdesigner_internal::LayoutInfo Class Reference

#include <layoutinfo_p.h>

+ Collaboration diagram for qdesigner_internal::LayoutInfo:

Public Types

enum  Type {
  NoLayout , HSplitter , VSplitter , HBox ,
  VBox , Grid , Form , UnknownLayout
}
 

Static Public Member Functions

static void deleteLayout (const QDesignerFormEditorInterface *core, QWidget *widget)
 
static Type layoutType (const QDesignerFormEditorInterface *core, const QWidget *w)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Type managedLayoutType (const QDesignerFormEditorInterface *core, const QWidget *w, QLayout **layout=nullptr)
 
static Type layoutType (const QDesignerFormEditorInterface *core, const QLayout *layout)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static Type layoutType (const QString &typeName)
 
static QString layoutName (Type t)
 
static QWidgetlayoutParent (const QDesignerFormEditorInterface *core, QLayout *layout)
 
static Type laidoutWidgetType (const QDesignerFormEditorInterface *core, QWidget *widget, bool *isManaged=nullptr, QLayout **layout=nullptr)
 
static bool isWidgetLaidout (const QDesignerFormEditorInterface *core, QWidget *widget)
 
static QLayoutmanagedLayout (const QDesignerFormEditorInterface *core, const QWidget *widget)
 
static QLayoutmanagedLayout (const QDesignerFormEditorInterface *core, QLayout *layout)
 
static QLayoutinternalLayout (const QWidget *widget)
 
static bool isEmptyItem (QLayoutItem *item)
 

Detailed Description

Definition at line 32 of file layoutinfo_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
NoLayout 
HSplitter 
VSplitter 
HBox 
VBox 
Grid 
Form 
UnknownLayout 

Definition at line 35 of file layoutinfo_p.h.

Member Function Documentation

◆ deleteLayout()

void qdesigner_internal::LayoutInfo::deleteLayout ( const QDesignerFormEditorInterface * core,
QWidget * widget )
static

Definition at line 103 of file layoutinfo.cpp.

◆ internalLayout()

QLayout * qdesigner_internal::LayoutInfo::internalLayout ( const QWidget * widget)
static

Definition at line 172 of file layoutinfo.cpp.

◆ isEmptyItem()

bool qdesigner_internal::LayoutInfo::isEmptyItem ( QLayoutItem * item)
static

Definition at line 212 of file layoutinfo.cpp.

◆ isWidgetLaidout()

static bool qdesigner_internal::LayoutInfo::isWidgetLaidout ( const QDesignerFormEditorInterface * core,
QWidget * widget )
inlinestatic

Definition at line 60 of file layoutinfo_p.h.

◆ laidoutWidgetType()

LayoutInfo::Type qdesigner_internal::LayoutInfo::laidoutWidgetType ( const QDesignerFormEditorInterface * core,
QWidget * widget,
bool * isManaged = nullptr,
QLayout ** layout = nullptr )
static

Definition at line 121 of file layoutinfo.cpp.

◆ layoutName()

QString qdesigner_internal::LayoutInfo::layoutName ( Type t)
static

Definition at line 58 of file layoutinfo.cpp.

◆ layoutParent()

QWidget * qdesigner_internal::LayoutInfo::layoutParent ( const QDesignerFormEditorInterface * core,
QLayout * layout )
static

Definition at line 89 of file layoutinfo.cpp.

◆ layoutType() [1/3]

LayoutInfo::Type qdesigner_internal::LayoutInfo::layoutType ( const QDesignerFormEditorInterface * core,
const QLayout * layout )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 26 of file layoutinfo.cpp.

◆ layoutType() [2/3]

LayoutInfo::Type qdesigner_internal::LayoutInfo::layoutType ( const QDesignerFormEditorInterface * core,
const QWidget * w )
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 66 of file layoutinfo.cpp.

◆ layoutType() [3/3]

LayoutInfo::Type qdesigner_internal::LayoutInfo::layoutType ( const QString & typeName)
static

Definition at line 53 of file layoutinfo.cpp.

◆ managedLayout() [1/2]

QLayout * qdesigner_internal::LayoutInfo::managedLayout ( const QDesignerFormEditorInterface * core,
const QWidget * widget )
static

Definition at line 178 of file layoutinfo.cpp.

◆ managedLayout() [2/2]

QLayout * qdesigner_internal::LayoutInfo::managedLayout ( const QDesignerFormEditorInterface * core,
QLayout * layout )
static

Definition at line 190 of file layoutinfo.cpp.

◆ managedLayoutType()

LayoutInfo::Type qdesigner_internal::LayoutInfo::managedLayoutType ( const QDesignerFormEditorInterface * core,
const QWidget * w,
QLayout ** layout = nullptr )
static

Definition at line 73 of file layoutinfo.cpp.


The documentation for this class was generated from the following files: