⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qgrid.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QGrid 3qt "3 September 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech 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.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 setSpacing() to add space between the widgets..PP<img src=qgrid-m.png>.PPFor more general control over grid layout, including multi-column and multi-row widgets, use the QGridLayout class directly..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 reasons; the API is not affected..PPReimplemented from QFrame..SH "void QGrid::setSpacing ( int space )"Sets the spacing between children to \fIspace.\fR.SH "QSize QGrid::sizeHint () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QWidget..SH "SEE ALSO".BR http://doc.trolltech.com/qgrid.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -