📄 qgrid.3qt
字号:
.TH QGrid 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQGrid \- Performs geometry management on its children.SH SYNOPSIS.br.PP\fC#include <qgrid.h>\fR.PPInherits QFrame..PP.SS "Public Members".in +1c.ti -1c.BI "enum \fBDirection\fR { Horizontal, Vertical }".br.ti -1c.BI "\fBQGrid\fR ( int " "n" ", QWidget * " "parent" "=0, const char * " "name" "=0, WFlags " "f" "=0 )".br.ti -1c.BI "\fBQGrid\fR ( int " "n" ", Direction, QWidget * " "parent" "=0, const char * " "name" "=0, WFlags " "f" "=0 )".br.ti -1c.BI "void \fBsetSpacing\fR ( int )".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "virtual void \fBframeChanged\fR ()".br.in -1c.SH DESCRIPTIONThe QGrid widget performs geometry management on its children.PPThe number of rows or columns is defined in the constructor. All its children will be placed and sized according to their sizeHint() and sizePolicy() return values..PPUse setMargin() to add space around the edge, and use addSpacing to add space between the widgets..PP<img src=qgrid-m.png>.PPSee also: QVBox and QHBox..SH MEMBER FUNCTION DOCUMENTATION.SH "QGrid::QGrid ( int n, QWidget * parent=0, const char * name=0, WFlags f=0 )"Constructs a grid widget with parent \fIparent\fR and name \fIname. n\fR specifies the number of columns..SH "QGrid::QGrid ( int n, Direction dir, QWidget * parent=0, const char * name=0, WFlags f=0 )"Constructs a grid widget with parent \fIparent\fR and name \fIname.\fR If \fIdir\fR is \fCHorizontal,\fR \fIn\fR specifies the number of columns. If \fIdir\fR is \fCVertical,\fR \fIn\fR specifies the number of rows..SH "void QGrid::frameChanged () \fC[virtual protected]\fR"Reimplemented for internal purposes..PPReimplemented from QFrame..SH "void QGrid::setSpacing ( int space )"Sets the spacing between children to \fIspace.\fR.SH "SEE ALSO".BR http://www.troll.no/qt/qgrid.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS. See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -