QLayout

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QLayout : QObject , QLayoutItemInterface {}

Constructors

this
this(QWidget parent)
Undocumented in source.
this
this()
Undocumented in source.
this
this(QLayoutPrivate d, QLayout , QWidget )
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

SizeConstraint
enum SizeConstraint
Undocumented in source.

Functions

activate
bool activate()
Undocumented in source.
addChildLayout
void addChildLayout(QLayout l)
Undocumented in source.
addChildWidget
void addChildWidget(QWidget w)
Undocumented in source.
addItem
void addItem(QLayoutItem )
Undocumented in source.
addWidget
void addWidget(QWidget w)
Undocumented in source.
adoptLayout
bool adoptLayout(QLayout layout)
Undocumented in source.
alignmentRect
QRect alignmentRect(const(QRect) )
Undocumented in source.
childEvent
void childEvent(QChildEvent e)
Undocumented in source.
contentsMargins
QMargins contentsMargins()
Undocumented in source.
contentsRect
QRect contentsRect()
Undocumented in source.
controlTypes
QSizePolicy.ControlTypes controlTypes()
Undocumented in source.
count
int count()
Undocumented in source.
expandingDirections
qt.core.namespace.Orientations expandingDirections()
Undocumented in source.
geometry
QRect geometry()
Undocumented in source.
getContentsMargins
void getContentsMargins(int* left, int* top, int* right, int* bottom)
Undocumented in source.
hasHeightForWidth
bool hasHeightForWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
heightForWidth
int heightForWidth(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
int indexOf(QWidget )
Undocumented in source.
indexOf
int indexOf(QLayoutItem )
Undocumented in source.
invalidate
void invalidate()
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source.
isEnabled
bool isEnabled()
Undocumented in source.
itemAt
QLayoutItem itemAt(int index)
Undocumented in source.
layout
QLayout layout()
Undocumented in source.
margin
int margin()
Undocumented in source.
maximumSize
QSize maximumSize()
Undocumented in source.
menuBar
QWidget menuBar()
Undocumented in source.
minimumHeightForWidth
int minimumHeightForWidth(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
minimumSize
QSize minimumSize()
Undocumented in source.
parentWidget
QWidget parentWidget()
Undocumented in source.
removeItem
void removeItem(QLayoutItem )
Undocumented in source.
removeWidget
void removeWidget(QWidget w)
Undocumented in source.
replaceWidget
QLayoutItem replaceWidget(QWidget from, QWidget to, qt.core.namespace.FindChildOptions options)
Undocumented in source.
setAlignment
bool setAlignment(QWidget w, qt.core.namespace.Alignment alignment)
Undocumented in source.
setAlignment
bool setAlignment(QLayout l, qt.core.namespace.Alignment alignment)
Undocumented in source.
setContentsMargins
void setContentsMargins(int left, int top, int right, int bottom)
Undocumented in source.
setContentsMargins
void setContentsMargins(const(QMargins) margins)
Undocumented in source.
setEnabled
void setEnabled(bool )
Undocumented in source.
setGeometry
void setGeometry(const(QRect) )
Undocumented in source.
setMargin
void setMargin(int )
Undocumented in source.
setMenuBar
void setMenuBar(QWidget w)
Undocumented in source.
setSizeConstraint
void setSizeConstraint(SizeConstraint )
Undocumented in source.
setSpacing
void setSpacing(int )
Undocumented in source.
sizeConstraint
SizeConstraint sizeConstraint()
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source. Be warned that the author may not have intended to support it.
spacerItem
QSpacerItem spacerItem()
Undocumented in source. Be warned that the author may not have intended to support it.
spacing
int spacing()
Undocumented in source.
takeAt
QLayoutItem takeAt(int index)
Undocumented in source.
totalHeightForWidth
int totalHeightForWidth(int w)
Undocumented in source.
totalMaximumSize
QSize totalMaximumSize()
Undocumented in source.
totalMinimumSize
QSize totalMinimumSize()
Undocumented in source.
totalSizeHint
QSize totalSizeHint()
Undocumented in source.
update
void update()
Undocumented in source.
widget
QWidget widget()
Undocumented in source. Be warned that the author may not have intended to support it.
widgetEvent
void widgetEvent(QEvent )
Undocumented in source.

Static functions

closestAcceptableSize
QSize closestAcceptableSize(const(QWidget) w, const(QSize) s)
Undocumented in source.

Variables

baseQLayoutItem
QLayoutItemFakeInheritance baseQLayoutItem;
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal
Undocumented in source.
QSlot
struct QSlot
Undocumented in source.
QInvokable
struct QInvokable
Undocumented in source.
QScriptable
struct QScriptable
Undocumented in source.
Q_OBJECT
enum Q_OBJECT;
Undocumented in source.
Q_OBJECT_D
enum Q_OBJECT_D;
Undocumented in source.
Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.
objectName
QString objectName()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
killTimer
void killTimer(int id)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
connect
QMetaObject.Connection connect(QObject sender, char* signal, QObject receiver, char* member, ConnectionType )
Undocumented in source.
signal
template signal(string name, Params...)
Undocumented in source.
slot
template slot(string name, Params...)
Undocumented in source.
connect
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
registerUserData
uint registerUserData()
Undocumented in source.
setUserData
void setUserData(uint id, QObjectUserData data)
Undocumented in source.
userData
QObjectUserData userData(uint id)
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteLater
void deleteLater()
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

From QLayoutItemInterface

sizeHint
QSize sizeHint()
Undocumented in source.
minimumSize
QSize minimumSize()
Undocumented in source.
maximumSize
QSize maximumSize()
Undocumented in source.
expandingDirections
qt.core.namespace.Orientations expandingDirections()
Undocumented in source.
setGeometry
void setGeometry(const(QRect) )
Undocumented in source.
geometry
QRect geometry()
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source.
hasHeightForWidth
bool hasHeightForWidth()
Undocumented in source.
heightForWidth
int heightForWidth(int )
Undocumented in source.
minimumHeightForWidth
int minimumHeightForWidth(int )
Undocumented in source.
invalidate
void invalidate()
Undocumented in source.
widget
QWidget widget()
Undocumented in source.
layout
QLayout layout()
Undocumented in source.
spacerItem
QSpacerItem spacerItem()
Undocumented in source.
controlTypes
QSizePolicy.ControlTypes controlTypes()
Undocumented in source.

Meta