Widget for stacking widgets and selecting them with a list on the left.
More...
Public Member Functions |
| virtual | ~DtWidgetPager () |
| | Virtual DTOR.
|
| virtual void | addWidget (const QString &name, QWidget *widget, const QIcon &icon=QIcon()) |
| | Adds a new widget with the given name to the pager.
|
| virtual void | setCurrentPage (int index) |
| | Sets the currently selected page in the widget.
|
Protected Member Functions |
| | DtWidgetPager (QWidget *parent=0) |
| | Protected CTOR (Use ::create()).
|
| virtual void | initialize () |
| | Initializes the widget.
|
| virtual void | setupGui () |
| | Lays out the widget.
|
| virtual void | connectToSignals () |
| | Connects signals and slots for handling user control.
|
Detailed Description
Widget for stacking widgets and selecting them with a list on the left.
Constructor & Destructor Documentation
| virtual DtWidgetPager::~DtWidgetPager |
( |
| ) |
|
|
virtual |
| DtWidgetPager::DtWidgetPager |
( |
QWidget * |
parent = 0 | ) |
|
|
protected |
Protected CTOR (Use ::create()).
Member Function Documentation
| virtual void DtWidgetPager::addWidget |
( |
const QString & |
name, |
|
|
QWidget * |
widget, |
|
|
const QIcon & |
icon = QIcon() |
|
) |
| |
|
virtual |
Adds a new widget with the given name to the pager.
| virtual void DtWidgetPager::connectToSignals |
( |
| ) |
|
|
protectedvirtual |
Connects signals and slots for handling user control.
| virtual void DtWidgetPager::initialize |
( |
| ) |
|
|
protectedvirtual |
Initializes the widget.
Calls ::setupGui() and ::connectToSignals().
| virtual void DtWidgetPager::on_contentsWidget_itemSelectionChanged |
( |
| ) |
|
|
protectedvirtualslot |
Slot called when user changes selection in the contents widget.
| virtual void DtWidgetPager::setCurrentPage |
( |
int |
index | ) |
|
|
virtual |
Sets the currently selected page in the widget.
| virtual void DtWidgetPager::setupGui |
( |
| ) |
|
|
protectedvirtual |
Member Data Documentation
| QListWidget* DtWidgetPager::myContentsWidget |
|
protected |
| QSize DtWidgetPager::myMaxItemSize |
|
protected |
| QStackedWidget* DtWidgetPager::myPagesWidget |
|
protected |
The documentation for this class was generated from the following file: