#include <QY2ComboTabWidget.h>
Public Slots | |
| void | showPage (QWidget *page) |
Signals | |
| void | currentChanged (QWidget *newCurrentPage) |
Public Member Functions | |
| QY2ComboTabWidget (const QString &combo_box_label, QWidget *parent=0, const char *name=0) | |
| virtual | ~QY2ComboTabWidget () |
| void | addPage (const QString &page_label, QWidget *page) |
Protected Slots | |
| void | showPage (int index) |
Protected Attributes | |
| QComboBox * | combo_box |
| QLabel * | combo_label |
| QWidgetStack * | widget_stack |
| QIntDict< QWidget > | pages |
|
||||||||||||||||
|
Constructor. 'combo_box_label' is the user-visible label of the combo box that is used to switch between the different tab pages. |
|
|
Destructor. |
|
||||||||||||
|
Add a page. 'page_label' will be the user-visible combo box entry for that page. |
|
|
Emitted when the current page changes. NOT emitted initially for the very first page that is shown. |
|
|
Show a page identified by its index. Does NOT update the combo box contents. |
|
|
Show a page. Updates the combo box contents accordingly. This is an expensive operation: All combo box items are searched for the item that corresponds to this page. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4