4 public class QGridLayout : QLayout{
8 public QGridLayout(long h) {
11 public bool create(@NotNilptr QWidget parent) {
12 nativehandle = QtXnl.createQObject(QType.qtGLayout,
this, parent.nativehandle);
14 if (nativehandle == 0) {
21 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setHorizontalSpacing, spacing, 0);
24 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setVerticalSpacing, spacing, 0);
27 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setSpacing, spacing, 0);
30 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setRowStretch, row, stretch);
33 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setColumnStretch, column, stretch);
36 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_rowStretch, row, 0);
39 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_columnStretch, column, 0);
42 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setRowMinimumHeight, row, minSize);
45 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setColumnMinimumWidth, column, minSize);
48 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_rowMinimumHeight, row, 0);
51 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_columnMinimumWidth, column, 0);
54 return QtXnl.widget_get_int_value(nativehandle, Constant.QGL_horizontalSpacing);
57 return QtXnl.widget_get_int_value(nativehandle, Constant.QGL_verticalSpacing);
60 return QtXnl.widget_get_int_value(nativehandle, Constant.QGL_spacing);
63 return QtXnl.widget_get_int_value(nativehandle, Constant.QGL_columnCount);
66 return QtXnl.widget_get_int_value(nativehandle, Constant.QGL_rowCount);
69 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setOriginCorner, cor, 0);
72 QtXnl.widget_set_v2int_value(nativehandle, Constant.QGL_setDefaultPositioning,
id, cor);
75 return (Corner)QtXnl.widget_get_int_value(nativehandle, Constant.QGL_originCorner);
77 public void addWidget(QWidget w,
int row,
int column,
int Alignment) {
78 QtXnl.long_long_int9(nativehandle, Constant.QGridLayout_Addwidget, w.nativehandle, row, column, Alignment, 0, 0, 0, 0, 0, 0);
80 public void addWidget(QWidget w,
int row,
int column,
int rowSpan,
int columnSpan,
int Alignment ) {
81 QtXnl.long_long_int9(nativehandle, Constant.QGridLayout_Addwidget_2, w.nativehandle, row, column, rowSpan, columnSpan, Alignment, 0, 0, 0, 0);
83 public void addLayout(QLayout w,
int row,
int column,
int Alignment ) {
84 QtXnl.long_long_int9(nativehandle, Constant.QGridLayout_addLayout, w.nativehandle, row, column, Alignment, 0, 0, 0, 0, 0, 0);
86 public void addLayout(QLayout w,
int row,
int column,
int rowSpan,
int columnSpan,
int Alignment ) {
87 QtXnl.long_long_int9(nativehandle, Constant.QGridLayout_addLayout2, w.nativehandle, row, column, rowSpan, columnSpan, Alignment, 0, 0, 0, 0);
89 public void addItem(QLayoutItem w,
int row,
int column,
int rowSpan,
int columnSpan,
int Alignment ) {
90 QtXnl.long_long_int9(nativehandle, Constant.QGridLayout_addItem, w.nativehandle, row, column, rowSpan, columnSpan, Alignment, 0, 0, 0, 0);
void setRowMinimumHeight(int row, int minSize)
void setOriginCorner(Corner cor)
void addLayout(QLayout w, int row, int column, int Alignment )
bool create(@NotNilptr QWidget parent)
void addWidget(QWidget w, int row, int column, int Alignment)
void setColumnMinimumWidth(int column, int minSize)
void setHorizontalSpacing(int spacing)
int columnStretch(int column)
void setSpacing(int spacing)
void addItem(QLayoutItem w, int row, int column, int rowSpan, int columnSpan, int Alignment )
int rowMinimumHeight(int row)
void addLayout(QLayout w, int row, int column, int rowSpan, int columnSpan, int Alignment )
void setRowStretch(int row, int stretch)
void setVerticalSpacing(int spacing)
void addWidget(QWidget w, int row, int column, int rowSpan, int columnSpan, int Alignment )
void setDefaultPositioning(int id,Orientation cor)
int columnMinimumWidth(int column)
void setColumnStretch(int column, int stretch)