Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QGridLayout class lays out widgets in a grid. More...
Public Member Functions | |
QGridLayout () | |
More... | |
QGridLayout (QWidget parent) | |
More... | |
override void | CreateProxy () |
override void | AddItem (IQLayoutItem item) |
More... | |
new void | AddItem (IQLayoutItem item, int row, int column, int rowSpan=1, int columnSpan=1, Qt.AlignmentFlag alignment=0) |
More... | |
new void | AddLayout (QLayout layout, int row, int column, Qt.AlignmentFlag alignment=0) |
More... | |
new void | AddLayout (QLayout layout, int row, int column, int rowSpan, int columnSpan, Qt.AlignmentFlag alignment=0) |
More... | |
new void | AddWidget (QWidget w) |
new void | AddWidget (QWidget widget, int row, int column, Qt.AlignmentFlag alignment=0) |
More... | |
new void | AddWidget (QWidget widget, int row, int column, int rowSpan, int columnSpan, Qt.AlignmentFlag alignment=0) |
More... | |
new QRect | CellRect (int row, int column) |
More... | |
new int | ColumnMinimumWidth (int column) |
More... | |
new int | ColumnStretch (int column) |
More... | |
new void | GetItemPosition (int idx, ref int row, ref int column, ref int rowSpan, ref int columnSpan) |
More... | |
override int | HeightForWidth (int w) |
More... | |
override void | Invalidate () |
More... | |
override IQLayoutItem | ItemAt (int index) |
More... | |
new IQLayoutItem | ItemAtPosition (int row, int column) |
More... | |
override int | MinimumHeightForWidth (int w) |
More... | |
new int | RowMinimumHeight (int row) |
More... | |
new int | RowStretch (int row) |
More... | |
new void | SetColumnMinimumWidth (int column, int minSize) |
More... | |
new void | SetColumnStretch (int column, int stretch) |
More... | |
new void | SetDefaultPositioning (int n, Qt.Orientation orient) |
new void | SetRowMinimumHeight (int row, int minSize) |
More... | |
new void | SetRowStretch (int row, int stretch) |
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 | |
QGridLayout (System.Type dummy) | |
![]() | |
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 | |
![]() | |
enum | SizeConstraint { SetDefaultConstraint = 0, SetFixedSize = 3, SetMaximumSize = 4, SetMinAndMaxSize = 5, SetMinimumSize = 2, SetNoConstraint = 1 } |
More... | |
![]() | |
</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 QGridLayout class lays out widgets in a grid.
QGridLayout takes the space made available to it (by its parent layout or by the parentWidget()), divides it up into rows and columns, and puts each widget it manages into the correct cell.
Columns and rows behave identically; we will discuss columns, but there are equivalent functions for rows.
Each column has a minimum width and a stretch factor. The minimum width is the greatest of that set using setColumnMinimumWidth() and the minimum width of each widget in that column. The stretch factor is set using setColumnStretch() and determines how much of the available space the column will get over and above its necessary minimum.
Normally, each managed widget or layout is put into a cell of its own using addWidget(). It is also possible for a widget to occupy multiple cells using the row and column spanning overloads of addItem() and addWidget(). If you do this, QGridLayout will guess how to distribute the size over the columns/rows (based on the stretch factors).
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.
This illustration shows a fragment of a dialog with a five-column, three-row grid (the grid is shown overlaid in magenta):
Columns 0, 2 and 4 in this dialog fragment are made up of a QLabel, a QLineEdit, and a QListBox. Columns 1 and 3 are placeholders made with setColumnMinimumWidth(). Row 0 consists of three QLabel objects, row 1 of three QLineEdit objects and row 2 of three QListBox objects. We used placeholder columns (1 and 3) to get the right amount of space between the columns.
Note that the columns and rows are not equally wide or tall. If you want two columns to have the same width, you must set their minimum widths and stretch factors to be the same yourself. You do this using setColumnMinimumWidth() and setColumnStretch().
If the QGridLayout is not the top-level layout (i.e. does not manage all of the widget's area and children), you must add it to its parent layout when you create it, but before you do anything with it. The normal way to add a layout is by calling addLayout() on the parent layout.
Once you have added your layout you can start putting widgets and other layouts into the cells of your grid layout using addWidget(), addItem(), and addLayout().
QGridLayout also includes two margin widths: the contents margin and the spacing(). The contents margin is the width of the reserved space along each of the QGridLayout's four sides. The spacing() is the width of the automatically allocated spacing between neighboring boxes.
The default contents margin values are provided by the style. The default value 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.
See also QBoxLayout, QStackedLayout, Layout Management, and Basic Layouts Example.
|
protected |
QtGui.QGridLayout.QGridLayout | ( | ) |
Constructs a new grid layout.
You must insert this grid into another layout. You can insert widgets and layouts into this layout at any time, but laying out will not be performed before this is inserted into another layout.
QtGui.QGridLayout.QGridLayout | ( | QWidget | parent | ) |
Constructs a new QGridLayout with parent widget, parent. The layout has one row and one column initially, and will expand when new items are inserted.
|
virtual |
Reimplemented from QLayout::addItem().
Implements QtGui.QLayout.
new void QtGui.QGridLayout.AddItem | ( | IQLayoutItem | item, |
int | row, | ||
int | column, | ||
int | rowSpan = 1 , |
||
int | columnSpan = 1 , |
||
Qt.AlignmentFlag | alignment = 0 |
||
) |
Adds item at position row, column, spanning rowSpan rows and columnSpan columns, and aligns it according to alignment. If rowSpan and/or columnSpan is -1, then the item will extend to the bottom and/or right edge, respectively. The layout takes ownership of the item.
Warning: Do not use this function to add child layouts or child widget items. Use addLayout() or addWidget() instead.
new void QtGui.QGridLayout.AddLayout | ( | QLayout | layout, |
int | row, | ||
int | column, | ||
Qt.AlignmentFlag | alignment = 0 |
||
) |
Places the layout at position (row, column) in the grid. The top-left position is (0, 0).
The alignment is specified by alignment. The default alignment is 0, which means that the widget fills the entire cell.
A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to sizeHint().
layout becomes a child of the grid layout.
new void QtGui.QGridLayout.AddLayout | ( | QLayout | layout, |
int | row, | ||
int | column, | ||
int | rowSpan, | ||
int | columnSpan, | ||
Qt.AlignmentFlag | alignment = 0 |
||
) |
This is an overloaded function.
This version adds the layout layout to the cell grid, spanning multiple rows/columns. The cell will start at row, column spanning rowSpan rows and columnSpan columns.
If rowSpan and/or columnSpan is -1, then the layout will extend to the bottom and/or right edge, respectively.
new void QtGui.QGridLayout.AddWidget | ( | QWidget | w | ) |
new void QtGui.QGridLayout.AddWidget | ( | QWidget | widget, |
int | row, | ||
int | column, | ||
Qt.AlignmentFlag | alignment = 0 |
||
) |
Adds the given widget to the cell grid at row, column. The top-left position is (0, 0) by default.
The alignment is specified by alignment. The default alignment is 0, which means that the widget fills the entire cell.
new void QtGui.QGridLayout.AddWidget | ( | QWidget | widget, |
int | row, | ||
int | column, | ||
int | rowSpan, | ||
int | columnSpan, | ||
Qt.AlignmentFlag | alignment = 0 |
||
) |
This is an overloaded function.
This version adds the given widget to the cell grid, spanning multiple rows/columns. The cell will start at fromRow, fromColumn spanning rowSpan rows and columnSpan columns. The widget will have the given alignment.
If rowSpan and/or columnSpan is -1, then the widget will extend to the bottom and/or right edge, respectively.
new QRect QtGui.QGridLayout.CellRect | ( | int | row, |
int | column | ||
) |
Returns the geometry of the cell with row row and column column in the grid. Returns an invalid rectangle if row or column is outside the grid.
Warning: in the current version of Qt this function does not return valid results until setGeometry() has been called, i.e. after the parentWidget() is visible.
new int QtGui.QGridLayout.ColumnMinimumWidth | ( | int | column | ) |
Returns the column spacing for column column.
See also setColumnMinimumWidth().
new int QtGui.QGridLayout.ColumnStretch | ( | int | column | ) |
Returns the stretch factor for column column.
See also setColumnStretch().
|
virtual |
new void QtGui.QGridLayout.Dispose | ( | ) |
new void QtGui.QGridLayout.GetItemPosition | ( | int | idx, |
ref int | row, | ||
ref int | column, | ||
ref int | rowSpan, | ||
ref int | columnSpan | ||
) |
Returns the position information of the item with the given index.
The variables passed as row and column are updated with the position of the item in the layout, and the rowSpan and columnSpan variables are updated with the vertical and horizontal spans of the item.
See also itemAtPosition() and itemAt().
|
virtual |
Reimplemented from QLayoutItem::heightForWidth().
Reimplemented from QtGui.QLayout.
|
virtual |
Reimplemented from QLayoutItem::invalidate().
Reimplemented from QtGui.QLayout.
|
virtual |
Reimplemented from QLayout::itemAt().
Implements QtGui.QLayout.
new IQLayoutItem QtGui.QGridLayout.ItemAtPosition | ( | int | row, |
int | column | ||
) |
Returns the layout item that occupies cell (row, column), or 0 if the cell is empty.
This function was introduced in Qt 4.4.
See also getItemPosition() and indexOf().
|
virtual |
Reimplemented from QLayoutItem::minimumHeightForWidth().
Reimplemented from QtGui.QLayout.
new int QtGui.QGridLayout.RowMinimumHeight | ( | int | row | ) |
Returns the minimum width set for row row.
See also setRowMinimumHeight().
new int QtGui.QGridLayout.RowStretch | ( | int | row | ) |
Returns the stretch factor for row row.
See also setRowStretch().
new void QtGui.QGridLayout.SetColumnMinimumWidth | ( | int | column, |
int | minSize | ||
) |
Sets the minimum width of column column to minSize pixels.
See also columnMinimumWidth() and setRowMinimumHeight().
new void QtGui.QGridLayout.SetColumnStretch | ( | int | column, |
int | stretch | ||
) |
Sets the stretch factor of column column to stretch. The first column is number 0.
The stretch factor is relative to the other columns in this grid. Columns with a higher stretch factor take more of the available space.
The default stretch factor is 0. If the stretch factor is 0 and no other column in this table can grow at all, the column may still grow.
An alternative approach is to add spacing using addItem() with a QSpacerItem.
See also columnStretch() and setRowStretch().
new void QtGui.QGridLayout.SetDefaultPositioning | ( | int | n, |
Qt.Orientation | orient | ||
) |
new void QtGui.QGridLayout.SetRowMinimumHeight | ( | int | row, |
int | minSize | ||
) |
Sets the minimum height of row row to minSize pixels.
See also rowMinimumHeight() and setColumnMinimumWidth().
new void QtGui.QGridLayout.SetRowStretch | ( | int | row, |
int | stretch | ||
) |
Sets the stretch factor of row row to stretch. The first row is number 0.
The stretch factor is relative to the other rows in this grid. Rows with a higher stretch factor take more of the available space.
The default stretch factor is 0. If the stretch factor is 0 and no other row in this table can grow at all, the row may still grow.
See also rowStretch(), setRowMinimumHeight(), and setColumnStretch().
|
virtual |
Reimplemented from QLayout::takeAt().
Implements QtGui.QLayout.
|
static |
|
static |
|
static |
|
static |
|
get |
Returns the number of columns in this grid.
|
get |
Reimplemented from QLayout::count().
|
getprotected |
|
get |
Reimplemented from QLayoutItem::expandingDirections().
|
getset |
Reimplemented from QLayoutItem::setGeometry().
|
get |
Reimplemented from QLayoutItem::hasHeightForWidth().
|
getset |
|
get |
Reimplemented from QLayoutItem::maximumSize().
|
get |
Reimplemented from QLayoutItem::minimumSize().
|
getset |
Returns the corner that's used for the grid's origin, i.e. for position (0, 0).
Sets the grid's origin corner, i.e. position (0, 0), to corner.
|
get |
Returns the number of rows in this grid.
|
get |
Reimplemented from QLayoutItem::sizeHint().
|
getset |
If the vertical spacing is equal to the horizontal spacing, this function returns that value; otherwise it return -1.
This function sets both the vertical and horizontal spacing to spacing.
|
staticget |
|
getset |