The QTab class provides the structures in a QTabBar.
Más...
#include <qtabbar.h>
Lista de todos los miembros.
Descripción detallada
The QTab class provides the structures in a QTabBar.
This class is used for custom QTabBar tab headings.
- Ver también:
- QTabBar
Documentación del constructor y destructor
Constructs an empty tab. All fields are set to empty.
QTab::~QTab |
( |
| ) |
[virtual] |
Destroys the tab and frees up all allocated resources.
Constructs a tab with the text text.
Constructs a tab with an icon and the text, text.
virtual QTab::~QTab |
( |
| ) |
[virtual] |
Documentación de las funciones miembro
QIconSet QTab::iconSet |
( |
| ) |
const [inline] |
QIconSet* QTab::iconSet |
( |
| ) |
const [inline] |
int QTab::identifier |
( |
| ) |
const [inline] |
Return the QTab's identifier.
int QTab::identifier |
( |
| ) |
const [inline] |
bool QTab::isEnabled |
( |
| ) |
const [inline] |
bool QTab::isEnabled |
( |
| ) |
const [inline] |
Returns TRUE if the QTab is enabled; otherwise returns FALSE.
QRect QTab::rect |
( |
| ) |
const [inline] |
QRect QTab::rect |
( |
| ) |
const [inline] |
void QTab::setEnabled |
( |
bool |
enable | ) |
[inline] |
void QTab::setEnabled |
( |
bool |
enable | ) |
[inline] |
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::setIconSet |
( |
const QIconSet & |
icon | ) |
|
void QTab::setIdentifier |
( |
int |
i | ) |
[inline] |
Set the identifier for the QTab to i. Each QTab's identifier within a QTabBar must be unique.
void QTab::setIdentifier |
( |
int |
i | ) |
[inline] |
void QTab::setRect |
( |
const QRect & |
rect | ) |
[inline] |
void QTab::setRect |
( |
const QRect & |
rect | ) |
[inline] |
void QTab::setText |
( |
const QString & |
text | ) |
|
void QTab::setText |
( |
const QString & |
text | ) |
|
Sets the text of the tab to text.
QString QTab::text |
( |
| ) |
const [inline] |
QString QTab::text |
( |
| ) |
const [inline] |
Returns the text of the QTab label.
Documentación de las funciones relacionadas y clases amigas
La documentación para esta clase fue generada a partir de los siguientes ficheros: