1QTab(3qt)                                                            QTab(3qt)
2
3
4

NAME

6       QTab - The structures in a QTabBar
7

SYNOPSIS

9       #include <qtabbar.h>
10
11       Inherits Qt.
12
13   Public Members
14       QTab ()
15       virtual ~QTab ()
16       QTab ( const QString & text )
17       QTab ( const QIconSet & icon, const QString & text = QString::null )
18       void setText ( const QString & text )
19       QString text () const
20       void setIconSet ( const QIconSet & icon )
21       QIconSet * iconSet () const
22       void setRect ( const QRect & rect )
23       QRect rect () const
24       void setEnabled ( bool enable )
25       bool isEnabled () const
26       void setIdentifier ( int i )
27       int identifier () const
28

DESCRIPTION

30       The QTab class provides the structures in a QTabBar.
31
32       This class is used for custom QTabBar tab headings.
33
34       See also QTabBar and Advanced Widgets.
35

MEMBER FUNCTION DOCUMENTATION

QTab::QTab ()

38       Constructs an empty tab. All fields are set to empty.
39

QTab::QTab ( const QString & text )

41       Constructs a tab with the text text.
42

QTab::QTab ( const QIconSet & icon, const QString & text = QString::null )

44       Constructs a tab with an icon and the text, text.
45

QTab::~QTab () [virtual]

47       Destroys the tab and frees up all allocated resources.
48

QIconSet * QTab::iconSet () const

50       Return the QIconSet of the QTab.
51

int QTab::identifier () const

53       Return the QTab's identifier.
54

bool QTab::isEnabled () const

56       Returns TRUE if the QTab is enabled; otherwise returns FALSE.
57

QRect QTab::rect () const

59       Return the QRect for the QTab.
60

void QTab::setEnabled ( bool enable )

62       If enable is TRUE enable the QTab, otherwise disable it.
63

void QTab::setIconSet ( const QIconSet & icon )

65       Sets the tab's iconset to icon
66

void QTab::setIdentifier ( int i )

68       Set the identifier for the QTab to i. Each QTab's identifier within a
69       QTabBar must be unique.
70

void QTab::setRect ( const QRect & rect )

72       Set the QTab QRect to rect.
73

void QTab::setText ( const QString & text )

75       Sets the text of the tab to text.
76

QString QTab::text () const

78       Returns the text of the QTab label.
79
80

SEE ALSO

82       http://doc.trolltech.com/qtab.html
83       http://www.trolltech.com/faq/tech.html
84
86       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
87       license file included in the distribution for a complete license
88       statement.
89

AUTHOR

91       Generated automatically from the source code.
92

BUGS

94       If you find a bug in Qt, please report it as described in
95       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
96       help you. Thank you.
97
98       The definitive Qt documentation is provided in HTML format; it is
99       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
100       web browser. This man page is provided as a convenience for those users
101       who prefer man pages, although this format is not officially supported
102       by Trolltech.
103
104       If you find errors in this manual page, please report them to qt-
105       bugs@trolltech.com.  Please include the name of the manual page
106       (qtab.3qt) and the Qt version (3.3.8).
107
108
109
110Trolltech AS                    2 February 2007                      QTab(3qt)
Impressum