1QGLayoutIterator(3qt) QGLayoutIterator(3qt)
2
3
4
6 QGLayoutIterator - Abstract base class of internal layout iterators
7
9 #include <qlayout.h>
10
11 Public Members
12 virtual ~QGLayoutIterator ()
13 virtual QLayoutItem * next () = 0
14 virtual QLayoutItem * current () = 0
15 virtual QLayoutItem * takeCurrent () = 0
16
18 The QGLayoutIterator class is an abstract base class of internal layout
19 iterators.
20
21 (This class is not OpenGL related, it just happens to start with the
22 letters QGL...)
23
24 Subclass this class to create a custom layout. The functions that must
25 be implemented are next(), current(), and takeCurrent().
26
27 The QGLayoutIterator implements the functionality of QLayoutIterator.
28 Each subclass of QLayout needs a QGLayoutIterator subclass.
29
30 See also Widget Appearance and Style and Layout Management.
31
34 Destroys the iterator
35
37 Implemented in subclasses to return the current item, or 0 if there is
38 no current item.
39
40 Examples:
41
43 Implemented in subclasses to move the iterator to the next item and
44 return that item, or 0 if there is no next item.
45
46 Examples:
47
49 Implemented in subclasses. The function must remove the current item
50 from the layout without deleting it, move the iterator to the next item
51 and return the removed item, or 0 if no item was removed.
52
53 Examples:
54
55
57 http://doc.trolltech.com/qglayoutiterator.html
58 http://www.trolltech.com/faq/tech.html
59
61 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
62 license file included in the distribution for a complete license
63 statement.
64
66 Generated automatically from the source code.
67
69 If you find a bug in Qt, please report it as described in
70 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
71 help you. Thank you.
72
73 The definitive Qt documentation is provided in HTML format; it is
74 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
75 web browser. This man page is provided as a convenience for those users
76 who prefer man pages, although this format is not officially supported
77 by Trolltech.
78
79 If you find errors in this manual page, please report them to qt-
80 bugs@trolltech.com. Please include the name of the manual page
81 (qglayoutiterator.3qt) and the Qt version (3.3.8).
82
83
84
85Trolltech AS 2 February 2007 QGLayoutIterator(3qt)