QLayout

Binding for C++ class QLayout.

extern (C++) abstract
class QLayout : QObject , QLayoutItemInterface {}

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.
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.
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.
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.
totalMinimumHeightForWidth
int totalMinimumHeightForWidth(int w)
Undocumented in source.
totalMinimumSize
QSize totalMinimumSize()
Undocumented in source.
totalSizeHint
QSize totalSizeHint()
Undocumented in source.
unsetContentsMargins
void unsetContentsMargins()
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.

Variables

baseQLayoutItem
QLayoutItemFakeInheritance baseQLayoutItem;
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal

UDA for marking member functions as signals.

QSlot
struct QSlot

UDA for marking member functions as slots.

QInvokable
struct QInvokable

UDA for marking member functions as invokable.

QScriptable
struct QScriptable

UDA for marking member functions as scriptable.

Q_OBJECT
enum Q_OBJECT;
Q_OBJECT_D
enum Q_OBJECT_D;

String constant for mixin in every class inheriting QObject.

Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;

String constant for mixin in every signal in classes implemnted in D.

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.
bindableObjectName
QBindable!(QString) bindableObjectName()
Undocumented in source.
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.
disconnect
bool disconnect(const(QMetaObject.Connection) )
Undocumented in source.
signal
template signal(string name, Params...)

Returns the set of signals with given name and optionally filtered by parameter types. All signals are used, if no parameter types are given. Otherwise the parameter types have to match.

slot
template slot(string name, Params...)

Returns the set of slots with given name and optionally filtered by parameter types. All slots are used, if no parameter types are given. Otherwise the parameter types have to match.

connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)

Connects a signal to a delegate.

connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)

Connects a signal to a slot.

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.
bindingStorage
QBindingStorage* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
bindingStorage
const(QBindingStorage)* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
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