Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QBoxLayout class lines up child widgets horizontally or vertically. More...
Public Types | |
enum | Direction { BottomToTop = 3, Down = 2, LeftToRight = 0, RightToLeft = 1, TopToBottom = 2, Up = 3 } |
More... | |
![]() | |
enum | SizeConstraint { SetDefaultConstraint = 0, SetFixedSize = 3, SetMaximumSize = 4, SetMinAndMaxSize = 5, SetMinimumSize = 2, SetNoConstraint = 1 } |
More... | |
Public Member Functions | |
QBoxLayout (QBoxLayout.Direction dir, QWidget parent=null) | |
More... | |
override void | CreateProxy () |
override void | AddItem (IQLayoutItem item) |
More... | |
new void | AddLayout (QLayout layout, int stretch=0) |
More... | |
new void | AddSpacerItem (QSpacerItem spacerItem) |
More... | |
new void | AddSpacing (int size) |
More... | |
new void | AddStretch (int stretch=0) |
More... | |
new void | AddStrut (int size) |
More... | |
new void | AddWidget (QWidget widget, int stretch=0, Qt.AlignmentFlag alignment=0) |
More... | |
override int | HeightForWidth (int w) |
More... | |
new void | InsertLayout (int index, QLayout layout, int stretch=0) |
More... | |
new void | InsertSpacerItem (int index, QSpacerItem spacerItem) |
More... | |
new void | InsertSpacing (int index, int size) |
More... | |
new void | InsertStretch (int index, int stretch=0) |
More... | |
new void | InsertWidget (int index, QWidget widget, int stretch=0, Qt.AlignmentFlag alignment=0) |
More... | |
override void | Invalidate () |
More... | |
override IQLayoutItem | ItemAt (int index) |
More... | |
override int | MinimumHeightForWidth (int w) |
More... | |
new void | SetStretch (int index, int stretch) |
More... | |
new bool | SetStretchFactor (QWidget w, int stretch) |
More... | |
new bool | SetStretchFactor (QLayout l, int stretch) |
More... | |
new int | Stretch (int index) |
More... | |
override IQLayoutItem | TakeAt (int index) |
More... | |
new void | Dispose () |
![]() | |
QLayout () | |
More... | |
QLayout (QWidget parent) | |
More... | |
override void | CreateProxy () |
new bool | Activate () |
More... | |
new void | AddWidget (QWidget w) |
More... | |
new void | GetContentsMargins (ref int left, ref int top, ref int right, ref int bottom) |
More... | |
virtual int | IndexOf (QWidget widget) |
More... | |
new void | RemoveItem (IQLayoutItem item) |
More... | |
new void | RemoveWidget (QWidget w) |
More... | |
new bool | SetAlignment (QWidget w, Qt.AlignmentFlag alignment) |
More... | |
new bool | SetAlignment (QLayout l, Qt.AlignmentFlag alignment) |
More... | |
new void | SetContentsMargins (int left, int top, int right, int bottom) |
More... | |
new void | SetEnabled (bool enable) |
More... | |
new int | TotalHeightForWidth (int w) |
new void | Update () |
More... | |
new void | Dispose () |
![]() | |
QObject (QObject parent=null) | |
More... | |
new bool | BlockSignals (bool b) |
More... | |
new bool | Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
More... | |
new void | DeleteLater () |
More... | |
new bool | Disconnect (QObject receiver, string member=null) |
More... | |
new bool | Disconnect (string signal=null, QObject receiver=null, string member=null) |
More... | |
new void | DumpObjectInfo () |
More... | |
new void | DumpObjectTree () |
More... | |
virtual bool | OnEvent (QEvent e) |
More... | |
virtual bool | EventFilter (QObject watched, QEvent @event) |
More... | |
new bool | Inherits (string classname) |
More... | |
new void | InstallEventFilter (QObject filterObj) |
More... | |
new void | KillTimer (int id) |
More... | |
new object | Property (string name) |
More... | |
new void | RemoveEventFilter (QObject obj) |
More... | |
new bool | SetProperty (string name, object value) |
More... | |
new void | SetUserData (uint id, QObjectUserData data) |
new int | StartTimer (int interval) |
More... | |
new QObjectUserData | UserData (uint id) |
new void | Dispose () |
![]() | |
delegate QTextStream | FuncQTextStreamQTextStream (QTextStream qTextStream) |
delegate void | ActionQtMsgTypeString (QtMsgType qtMsgType, string @string) |
delegate QObject | FuncQObject () |
delegate string | FuncStringQByteArray (QByteArray qByteArray) |
delegate QByteArray | FuncQByteArrayString (string @string) |
Static Public Member Functions | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
![]() | |
static QSize | ClosestAcceptableSize (QWidget w, QSize s) |
More... | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
![]() | |
static bool | Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
More... | |
static bool | Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
More... | |
static bool | Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member) |
More... | |
static bool | Disconnect (QObject sender, string signal, QObject receiver, string member) |
More... | |
static string | Tr (string s, string c=null) |
More... | |
static string | Tr (string s, string c, int n) |
More... | |
static string | TrUtf8 (string s, string c=null) |
More... | |
static string | TrUtf8 (string s, string c, int n) |
More... | |
![]() | |
static QDataStream | Write (QDataStream s, object p) |
static QDataStream | Write (QDataStream stream, QSizeF size) |
More... | |
static QDataStream | Write (QDataStream stream, QPoint point) |
More... | |
static QTextStream | Write (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Write (QDataStream stream, QLineF line) |
More... | |
static QDataStream | Write (QDataStream stream, QPointF point) |
More... | |
static QDataStream | Write (QDataStream @out, QChar chr) |
More... | |
static QDataStream | Write (QDataStream @out, QByteArray ba) |
More... | |
static QDataStream | Write (QDataStream stream, QEasingCurve easing) |
More... | |
static QDataStream | Write (QDataStream stream, QRectF rectangle) |
More... | |
static QDataStream | Write (QDataStream @out, QDateTime dateTime) |
More... | |
static QDataStream | Write (QDataStream @out, QUrl url) |
More... | |
static QDataStream | Write (QDataStream @out, QTime time) |
More... | |
static QDataStream | Write (QDataStream arg1, QLocale arg2) |
static QDataStream | Write (QDataStream @out, QBitArray ba) |
More... | |
static QDataStream | Write (QDataStream s, QUuid id) |
More... | |
static QDataStream | Write (QDataStream stream, QLine line) |
More... | |
static QDataStream | Write (QDataStream @out, QDate date) |
More... | |
static QDataStream | Write (QDataStream @out, QRegExp regExp) |
More... | |
static QDataStream | Write (QDataStream stream, QRect rectangle) |
More... | |
static QDataStream | Write (QDataStream stream, QSize size) |
More... | |
static QDataStream | Write (QDataStream s, QVariant.Type p) |
static QDataStream | Write (QDataStream arg1, string arg2) |
static QDataStream | Write (QDataStream @out, System.Collections.Generic.List< string > list) |
More... | |
static QDataStream | Read (QDataStream @in, QChar chr) |
More... | |
static QDataStream | Read (QDataStream arg1, QLocale arg2) |
static QDataStream | Read (QDataStream stream, QRect rectangle) |
More... | |
static QDataStream | Read (QDataStream arg1, QEasingCurve arg2) |
static QDataStream | Read (QDataStream @in, QDate date) |
More... | |
static QDataStream | Read (QDataStream @in, QUrl url) |
More... | |
static QDataStream | Read (QDataStream s, QUuid id) |
More... | |
static QTextStream | Read (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Read (QDataStream stream, QLineF line) |
More... | |
static QDataStream | Read (QDataStream stream, QRectF rectangle) |
More... | |
static QDataStream | Read (QDataStream stream, QPointF point) |
More... | |
static QDataStream | Read (QDataStream stream, QLine line) |
More... | |
static QDataStream | Read (QDataStream @in, QBitArray ba) |
More... | |
static QDataStream | Read (QDataStream stream, QSize size) |
More... | |
static QDataStream | Read (QDataStream @in, QDateTime dateTime) |
More... | |
static QDataStream | Read (QDataStream @in, QTime time) |
More... | |
static QDataStream | Read (QDataStream stream, QPoint point) |
More... | |
static QDataStream | Read (QDataStream @in, QRegExp regExp) |
More... | |
static QDataStream | Read (QDataStream s, object p) |
static QDataStream | Read (QDataStream @in, QByteArray ba) |
More... | |
static QDataStream | Read (QDataStream stream, QSizeF size) |
More... | |
static QDataStream | Read (QDataStream arg1, string arg2) |
static QDataStream | Read (QDataStream s, QVariant.Type p) |
static QDataStream | Read (QDataStream @in, System.Collections.Generic.List< string > list) |
More... | |
static double | QAcos (double v) |
More... | |
static void | QAddPostRoutine (System.Action ptr) |
More... | |
static double | QAsin (double v) |
More... | |
static double | QAtan (double v) |
More... | |
static double | QAtan2 (double x, double y) |
More... | |
static void | QBadAlloc () |
static int | QCeil (double v) |
More... | |
static ushort | QChecksum (string s, uint len) |
More... | |
static QByteArray | QCompress (QByteArray data, int compressionLevel=-1) |
More... | |
static QByteArray | QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1) |
More... | |
static double | QCos (double v) |
More... | |
static double | QExp (double v) |
More... | |
static double | QFabs (double v) |
static double | QFastCos (double x) |
static double | QFastSin (double x) |
static string | QFlagLocation (string method) |
static int | QFloor (double v) |
More... | |
static bool | QFuzzyCompare (double p1, double p2) |
More... | |
static bool | QFuzzyCompare (float p1, float p2) |
More... | |
static bool | QFuzzyIsNull (double d) |
static bool | QFuzzyIsNull (float f) |
static uint | QHash (QBitArray key) |
More... | |
static uint | QHash (QChar key) |
More... | |
static uint | QHash (QStringRef key) |
static uint | QHash (QUrl url) |
More... | |
static uint | QHash (QPersistentModelIndex index) |
static uint | QHash (QByteArray key) |
More... | |
static uint | QHash (QModelIndex index) |
static uint | QHash (uint key) |
More... | |
static uint | QHash (char key) |
More... | |
static uint | QHash (byte key) |
More... | |
static uint | QHash (short key) |
More... | |
static uint | QHash (NativeLong key) |
More... | |
static uint | QHash (ushort key) |
More... | |
static uint | QHash (long key) |
More... | |
static uint | QHash (ulong key) |
More... | |
static uint | QHash (int key) |
More... | |
static uint | QHash (string key) |
More... | |
static uint | QHash (NativeULong key) |
More... | |
static Qt.ActionQtMsgTypeString | QInstallMsgHandler (Qt.ActionQtMsgTypeString handler) |
More... | |
static int | QIntCast (float f) |
static int | QIntCast (double f) |
static bool | QIsFinite (double d) |
static bool | QIsFinite (float f) |
static bool | QIsInf (float f) |
static bool | QIsInf (double d) |
static bool | QIsNaN (float f) |
static bool | QIsNaN (double d) |
static bool | QIsNull (float f) |
static bool | QIsNull (double d) |
static double | QLn (double v) |
More... | |
static double | QPow (double x, double y) |
More... | |
static void | QRegisterStaticPluginInstanceFunction (Qt.FuncQObject function) |
More... | |
static void | QRemovePostRoutine (System.Action arg1) |
static int | QRound (double d) |
More... | |
static long | QRound64 (double d) |
More... | |
static double | QSin (double v) |
More... | |
static double | QSqrt (double v) |
More... | |
static bool | QStringComparisonHelper (QStringRef s1, string s2) |
static double | QTan (double v) |
More... | |
static QByteArray | QUncompress (QByteArray data) |
More... | |
static QByteArray | QUncompress (Pointer< byte > data, int nbytes) |
More... | |
static void | Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size) |
static QByteArray | Qgetenv (string varName) |
More... | |
static bool | Qputenv (string varName, QByteArray value) |
More... | |
static void | Qsrand (uint seed) |
More... | |
static int | Qstrcmp (QByteArray str1, QByteArray str2) |
static int | Qstrcmp (QByteArray str1, string str2) |
static int | Qstrcmp (string str1, QByteArray str2) |
static int | Qstrcmp (string str1, string str2) |
More... | |
static Pointer< sbyte > | Qstrcpy (Pointer< sbyte > dst, string src) |
More... | |
static Pointer< sbyte > | Qstrdup (string src) |
More... | |
static int | Qstricmp (string str1, string str2) |
More... | |
static uint | Qstrlen (string str) |
More... | |
static int | Qstrncmp (string str1, string str2, uint len) |
More... | |
static Pointer< sbyte > | Qstrncpy (Pointer< sbyte > dst, string src, uint len) |
More... | |
static int | Qstrnicmp (string str1, string str2, uint len) |
More... | |
static uint | Qstrnlen (string str, uint maxlen) |
More... | |
Protected Member Functions | |
QBoxLayout (System.Type dummy) | |
new void | InsertItem (int index, IQLayoutItem item) |
More... | |
![]() | |
QLayout (System.Type dummy) | |
new void | AddChildLayout (QLayout l) |
More... | |
new void | AddChildWidget (QWidget w) |
More... | |
new QRect | AlignmentRect (QRect r) |
More... | |
override void | OnChildEvent (QChildEvent e) |
More... | |
new void | OnWidgetEvent (QEvent arg1) |
![]() | |
QObject (System.Type dummy) | |
virtual void | OnChildEvent (QChildEvent @event) |
More... | |
virtual void | ConnectNotify (string signal) |
More... | |
virtual void | OnCustomEvent (QEvent @event) |
More... | |
new void | OnDestroyed (QObject obj=null) |
More... | |
virtual void | DisconnectNotify (string signal) |
More... | |
new int | Receivers (string signal) |
More... | |
virtual void | OnTimerEvent (QTimerEvent @event) |
More... | |
Additional Inherited Members | |
![]() | |
</para > *< para > Creating QM files suitable for use with this[SmokeMethod("qtTrId(const char*, int)")] static strin | QtTrId )(string id, int n=-1) |
![]() | |
object | Q_EMIT = null |
SmokeInvocation | interceptor |
readonly List< QEventHandler > | eventFilters = new List<QEventHandler>() |
The QBoxLayout class lines up child widgets horizontally or vertically.
QBoxLayout takes the space it gets (from its parent layout or from the parentWidget()), divides it up into a row of boxes, and makes each managed widget fill one box.
If the QBoxLayout's orientation is Qt::Horizontal the boxes are placed in a row, with suitable sizes. Each widget (or other box) will get at least its minimum size and at most its maximum size. Any excess space is shared according to the stretch factors (more about that below).
If the QBoxLayout's orientation is Qt::Vertical, the boxes are placed in a column, again with suitable sizes.
The easiest way to create a QBoxLayout is to use one of the convenience classes, e.g. QHBoxLayout (for Qt::Horizontal boxes) or QVBoxLayout (for Qt::Vertical boxes). You can also use the QBoxLayout constructor directly, specifying its direction as LeftToRight, RightToLeft, TopToBottom, or BottomToTop.
If the QBoxLayout is not the top-level layout (i.e. it is not managing all of the widget's area and children), you must add it to its parent layout before you can do anything with it. The normal way to add a layout is by calling parentLayout->addLayout().
Once you have done this, you can add boxes to the QBoxLayout using one of four functions:
addWidget() to add a widget to the QBoxLayout and set the widget's stretch factor. (The stretch factor is along the row of boxes.)
addSpacing() to create an empty box; this is one of the functions you use to create nice and spacious dialogs. See below for ways to set margins.
addStretch() to create an empty, stretchable box.
addLayout() to add a box containing another QLayout to the row and set that layout's stretch factor.
Use insertWidget(), insertSpacing(), insertStretch() or insertLayout() to insert a box at a specified position in the layout.
QBoxLayout also includes two margin widths:
setContentsMargins() sets the width of the outer border on each side of the widget. This is the width of the reserved space along each of the QBoxLayout's four sides.
setSpacing() sets the width between neighboring boxes. (You can use addSpacing() to get more space at a particular spot.)
The margin default is provided by the style. The default margin most Qt styles specify is 9 for child widgets and 11 for windows. The spacing defaults to the same as the margin width for a top-level layout, or to the same as the parent layout.
To remove a widget from a layout, call removeWidget(). Calling QWidget::hide() on a widget also effectively removes the widget from the layout until QWidget::show() is called.
You will almost always want to use QVBoxLayout and QHBoxLayout rather than QBoxLayout because of their convenient constructors.
See also QGridLayout, QStackedLayout, and Layout Management.
|
protected |
QtGui.QBoxLayout.QBoxLayout | ( | QBoxLayout.Direction | dir, |
QWidget | parent = null |
||
) |
Constructs a new QBoxLayout with direction dir and parent widget parent.
See also direction().
|
virtual |
Reimplemented from QLayout::addItem().
Implements QtGui.QLayout.
new void QtGui.QBoxLayout.AddLayout | ( | QLayout | layout, |
int | stretch = 0 |
||
) |
Adds layout to the end of the box, with serial stretch factor stretch.
See also insertLayout(), addItem(), and addWidget().
new void QtGui.QBoxLayout.AddSpacerItem | ( | QSpacerItem | spacerItem | ) |
Adds spacerItem to the end of this box layout.
This function was introduced in Qt 4.4.
See also addSpacing() and addStretch().
new void QtGui.QBoxLayout.AddSpacing | ( | int | size | ) |
Adds a non-stretchable space (a QSpacerItem) with size size to the end of this box layout. QBoxLayout provides default margin and spacing. This function adds additional space.
See also insertSpacing(), addItem(), and QSpacerItem.
new void QtGui.QBoxLayout.AddStretch | ( | int | stretch = 0 | ) |
Adds a stretchable space (a QSpacerItem) with zero minimum size and stretch factor stretch to the end of this box layout.
See also insertStretch(), addItem(), and QSpacerItem.
new void QtGui.QBoxLayout.AddStrut | ( | int | size | ) |
Limits the perpendicular dimension of the box (e.g. height if the box is LeftToRight) to a minimum of size. Other constraints may increase the limit.
See also addItem().
new void QtGui.QBoxLayout.AddWidget | ( | QWidget | widget, |
int | stretch = 0 , |
||
Qt.AlignmentFlag | alignment = 0 |
||
) |
Adds widget to the end of this box layout, with a stretch factor of stretch and alignment alignment.
The stretch factor applies only in the direction of the QBoxLayout, and is relative to the other boxes and widgets in this QBoxLayout. Widgets and boxes with higher stretch factors grow more.
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the QWidget:sizePolicy() of each widget that's involved.
The alignment is specified by alignment. The default alignment is 0, which means that the widget fills the entire cell.
See also insertWidget(), addItem(), addLayout(), addStretch(), addSpacing(), and addStrut().
|
virtual |
Reimplemented from QtCore.QObject.
Reimplemented in QtGui.QVBoxLayout, and QtGui.QHBoxLayout.
new void QtGui.QBoxLayout.Dispose | ( | ) |
|
virtual |
Reimplemented from QLayoutItem::heightForWidth().
Reimplemented from QtGui.QLayout.
|
protected |
Inserts item into this box layout at position index. If index is negative, the item is added at the end.
See also addItem(), insertWidget(), insertLayout(), insertStretch(), and insertSpacing().
new void QtGui.QBoxLayout.InsertLayout | ( | int | index, |
QLayout | layout, | ||
int | stretch = 0 |
||
) |
Inserts layout at position index, with stretch factor stretch. If index is negative, the layout is added at the end.
layout becomes a child of the box layout.
See also addLayout() and insertItem().
new void QtGui.QBoxLayout.InsertSpacerItem | ( | int | index, |
QSpacerItem | spacerItem | ||
) |
Inserts spacerItem at position index, with zero minimum size and stretch factor. If index is negative the space is added at the end.
This function was introduced in Qt 4.4.
See also addSpacerItem(), insertStretch(), and insertSpacing().
new void QtGui.QBoxLayout.InsertSpacing | ( | int | index, |
int | size | ||
) |
Inserts a non-stretchable space (a QSpacerItem) at position index, with size size. If index is negative the space is added at the end.
The box layout has default margin and spacing. This function adds additional space.
See also addSpacing(), insertItem(), and QSpacerItem.
new void QtGui.QBoxLayout.InsertStretch | ( | int | index, |
int | stretch = 0 |
||
) |
Inserts a stretchable space (a QSpacerItem) at position index, with zero minimum size and stretch factor stretch. If index is negative the space is added at the end.
See also addStretch(), insertItem(), and QSpacerItem.
new void QtGui.QBoxLayout.InsertWidget | ( | int | index, |
QWidget | widget, | ||
int | stretch = 0 , |
||
Qt.AlignmentFlag | alignment = 0 |
||
) |
Inserts widget at position index, with stretch factor stretch and alignment alignment. If index is negative, the widget is added at the end.
The stretch factor applies only in the direction of the QBoxLayout, and is relative to the other boxes and widgets in this QBoxLayout. Widgets and boxes with higher stretch factors grow more.
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the QWidget:sizePolicy() of each widget that's involved.
The alignment is specified by alignment. The default alignment is 0, which means that the widget fills the entire cell.
See also addWidget() and insertItem().
|
virtual |
Reimplemented from QLayoutItem::invalidate().
Resets cached information.
Reimplemented from QtGui.QLayout.
|
virtual |
Reimplemented from QLayout::itemAt().
Implements QtGui.QLayout.
|
virtual |
Reimplemented from QLayoutItem::minimumHeightForWidth().
Reimplemented from QtGui.QLayout.
new void QtGui.QBoxLayout.SetStretch | ( | int | index, |
int | stretch | ||
) |
Sets the stretch factor at position index. to stretch.
This function was introduced in Qt 4.5.
See also stretch().
new bool QtGui.QBoxLayout.SetStretchFactor | ( | QWidget | w, |
int | stretch | ||
) |
Sets the stretch factor for widget to stretch and returns true if widget is found in this layout (not including child layouts); otherwise returns false.
See also setAlignment().
new bool QtGui.QBoxLayout.SetStretchFactor | ( | QLayout | l, |
int | stretch | ||
) |
This is an overloaded function.
Sets the stretch factor for the layout layout to stretch and returns true if layout is found in this layout (not including child layouts); otherwise returns false.
new int QtGui.QBoxLayout.Stretch | ( | int | index | ) |
Returns the stretch factor at position index.
This function was introduced in Qt 4.5.
See also setStretch().
|
virtual |
Reimplemented from QLayout::takeAt().
Implements QtGui.QLayout.
|
static |
|
static |
|
static |
|
static |
|
get |
Reimplemented from QLayout::count().
|
getset |
Returns the direction of the box. addWidget() and addSpacing() work in this direction; the stretch stretches in this direction.
Sets the direction of this layout to direction.
|
getprotected |
|
get |
Reimplemented from QLayoutItem::expandingDirections().
|
getset |
Reimplemented from QLayoutItem::setGeometry().
|
get |
Reimplemented from QLayoutItem::hasHeightForWidth().
|
get |
Reimplemented from QLayoutItem::maximumSize().
|
get |
Reimplemented from QLayoutItem::minimumSize().
|
get |
Reimplemented from QLayoutItem::sizeHint().
|
getset |
Reimplements QLayout::spacing(). If the spacing property is valid, that value is returned. Otherwise, a value for the spacing property is computed and returned. Since layout spacing in a widget is style dependent, if the parent is a widget, it queries the style for the (horizontal or vertical) spacing of the layout. Otherwise, the parent is a layout, and it queries the parent layout for the spacing().
Reimplements QLayout::setSpacing(). Sets the spacing property to spacing.
|
staticget |