OTabInfo Class Reference
The OTabInfo class is used internally by OTabWidget to keep track of widgets added to the control. More...
#include <otabinfo.h>
Collaboration diagram for OTabInfo:

Public Member Functions | |
| OTabInfo () | |
| Object constructor. | |
| OTabInfo (int id, QWidget *control, const QString &icon, const QString &label) | |
| Object constructor. | |
| int | id () const |
| Returns TabBar ID. | |
| const QString & | label () const |
| Returns text label for widget. | |
| void | setLabel (const QString &label) |
| Set label for tab. | |
| QWidget * | control () const |
| Returns pointer to widget. | |
| const QString & | icon () const |
| Returns name of icon file. | |
| void | setIcon (const QString &icon) |
| Set icon for tab. | |
Detailed Description
The OTabInfo class is used internally by OTabWidget to keep track of widgets added to the control.OTabInfo provides the following information about a widget added to an OTabWidget control:
ID - integer tab bar ID Control - QWidget pointer to child widget Label - QString text label for OTabWidget selection control Icon - QString name of icon file
Definition at line 53 of file otabinfo.h.
Constructor & Destructor Documentation
|
|
Object constructor.
Definition at line 65 of file otabinfo.h. |
|
||||||||||||||||||||
|
Object constructor.
Definition at line 76 of file otabinfo.h. References label(). |
Member Function Documentation
|
|
Returns TabBar ID.
Definition at line 83 of file otabinfo.h. Referenced by OTabWidget::changeTab(), OTabWidget::currentTab(), OTabWidget::removePage(), OTabWidget::setCurrentTab(), and OTabWidget::setTabStyle(). |
|
|
Returns text label for widget.
Definition at line 89 of file otabinfo.h. Referenced by OTabWidget::changeTab(), OTabInfo(), OTabWidget::removePage(), OTabWidget::setCurrentTab(), and OTabWidget::setTabStyle(). |
|
|
Set label for tab.
Definition at line 97 of file otabinfo.h. Referenced by OTabWidget::changeTab(). |
|
|
Returns pointer to widget.
Definition at line 103 of file otabinfo.h. Referenced by OTabWidget::changeTab(), OTabWidget::removePage(), and OTabWidget::setCurrentTab(). |
|
|
Returns name of icon file.
Definition at line 109 of file otabinfo.h. Referenced by OTabWidget::setTabStyle(). |
|
|
Set icon for tab.
Definition at line 117 of file otabinfo.h. Referenced by OTabWidget::changeTab(). |
The documentation for this class was generated from the following file:
