From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/qtab.html | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 doc/html/qtab.html (limited to 'doc/html/qtab.html') diff --git a/doc/html/qtab.html b/doc/html/qtab.html new file mode 100644 index 0000000..b1c78d2 --- /dev/null +++ b/doc/html/qtab.html @@ -0,0 +1,140 @@ + + + + + +QTab Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

QTab Class Reference

+ +

The QTab class provides the structures in a QTabBar. +More... +

#include <qtabbar.h> +

Inherits Qt. +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + +The QTab class provides the structures in a QTabBar. +

+

This class is used for custom QTabBar tab headings. +

See also QTabBar and Advanced Widgets. + +


Member Function Documentation

+

QTab::QTab () +

+Constructs an empty tab. All fields are set to empty. + +

QTab::QTab ( const QString & text ) +

+Constructs a tab with the text text. + +

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

+Constructs a tab with an icon and the text, text. + +

QTab::~QTab () [virtual] +

+Destroys the tab and frees up all allocated resources. + +

QIconSet * QTab::iconSet () const +

+ +

Return the QIconSet of the QTab. + +

int QTab::identifier () const +

+ +

Return the QTab's identifier. + +

bool QTab::isEnabled () const +

+ +

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

QRect QTab::rect () const +

+ +

Return the QRect for the QTab. + +

void QTab::setEnabled ( bool enable ) +

+ +

If enable is TRUE enable the QTab, otherwise disable it. + +

void QTab::setIconSet ( const QIconSet & icon ) +

+Sets the tab's iconset to icon + +

void QTab::setIdentifier ( int i ) +

+ +

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

void QTab::setRect ( const QRect & rect ) +

+ +

Set the QTab QRect to rect. + +

void QTab::setText ( const QString & text ) +

+Sets the text of the tab to text. + +

QString QTab::text () const +

+ +

Returns the text of the QTab label. + + +


+This file is part of the Qt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.3