#include <YQDumbTab.h>
Inheritance diagram for YQDumbTab:

Public Slots | |
| void | sendTabSelectedEvent (int index) |
| void | resizeClientArea () |
Public Member Functions | |
| YQDumbTab (QWidget *parent, const YWidgetOpt &opt) | |
| void | setEnabling (bool enabled) |
| long | nicesize (YUIDimension dim) |
| void | setSize (long newWidth, long newHeight) |
| bool | eventFilter (QObject *obj, QEvent *ev) |
| void | addChild (YWidget *child) |
Protected Member Functions | |
| void | addTab (const YCPString &label) |
| int | getSelectedTabIndex () |
| void | setSelectedTab (int index) |
Protected Attributes | |
| QTabBar * | _tabBar |
| QVBox * | _clientArea |
| YQAlignment * | _contents |
| bool | _doingResize |
|
||||||||||||
|
Constructor. |
|
|
Notification that a child widget has been added. Reimplemented from YContainerWidget. Reimplemented from YContainerWidget. |
|
|
Add a tab header with the specified label. Reimplemented from YDumbTab. Reimplemented from YDumbTab. |
|
||||||||||||
|
Event filter - inherited from QWidget |
|
|
Get the index (0..n) of the currently selected tab. Reimplemented from YDumbTab. Reimplemented from YDumbTab. |
|
|
Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT Reimplemented from YContainerWidget. |
|
|
Adapt the size of the client area to fit in its current space. |
|
|
Send an event that the tab with the specified index is selected. |
|
|
Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input. Reimplemented from YWidget. |
|
|
Select a tab by index (0..n) and send an according event. Reimplemented from YDumbTab. Reimplemented from YDumbTab. |
|
||||||||||||
|
Sets the new size of the widget. Reimplemented from YContainerWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4