1QGrid(3qt)                                                          QGrid(3qt)
2
3
4

NAME

6       QGrid - Simple geometry management of its children
7

SYNOPSIS

9       #include <qgrid.h>
10
11       Inherits QFrame.
12
13   Public Members
14       QGrid ( int n, QWidget * parent = 0, const char * name = 0, WFlags f =
15           0 )
16       QGrid ( int n, Orientation orient, QWidget * parent = 0, const char *
17           name = 0, WFlags f = 0 )
18       void setSpacing ( int space )
19

DESCRIPTION

21       The QGrid widget provides simple geometry management of its children.
22
23       The grid places its widgets either in columns or in rows depending on
24       its orientation.
25
26       The number of rows or columns is defined in the constructor. All the
27       grid's children will be placed and sized in accordance with their
28       sizeHint() and sizePolicy().
29
30       Use setMargin() to add space around the grid itself, and setSpacing()
31       to add space between the widgets.
32
33       <center>
34                                   [Image Omitted]
35
36       </center>
37
38       See also QVBox, QHBox, QGridLayout, Widget Appearance and Style, and
39       Layout Management.
40

MEMBER FUNCTION DOCUMENTATION

QGrid::QGrid ( int n, QWidget * parent = 0, const char * name = 0, WFlags f =

43       0 )
44       Constructs a grid widget with parent parent, called name. n specifies
45       the number of columns. The widget flags f are passed to the QFrame
46       constructor.
47

QGrid::QGrid ( int n, Orientation orient, QWidget * parent = 0, const char *

49       name = 0, WFlags f = 0 )
50       Constructs a grid widget with parent parent, called name. If orient is
51       Horizontal, n specifies the number of columns. If orient is Vertical, n
52       specifies the number of rows. The widget flags f are passed to the
53       QFrame constructor.
54

void QGrid::setSpacing ( int space )

56       Sets the spacing between the child widgets to space.
57
58

SEE ALSO

60       http://doc.trolltech.com/qgrid.html
61       http://www.trolltech.com/faq/tech.html
62
64       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
65       license file included in the distribution for a complete license
66       statement.
67

AUTHOR

69       Generated automatically from the source code.
70

BUGS

72       If you find a bug in Qt, please report it as described in
73       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
74       help you. Thank you.
75
76       The definitive Qt documentation is provided in HTML format; it is
77       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
78       web browser. This man page is provided as a convenience for those users
79       who prefer man pages, although this format is not officially supported
80       by Trolltech.
81
82       If you find errors in this manual page, please report them to qt-
83       bugs@trolltech.com.  Please include the name of the manual page
84       (qgrid.3qt) and the Qt version (3.3.8).
85
86
87
88Trolltech AS                    2 February 2007                     QGrid(3qt)
Impressum