libyui-qt  2.47.1.1
YQDumbTab Class Reference
Inheritance diagram for YQDumbTab:
Collaboration diagram for YQDumbTab:

Public Slots

void slotSelected (int index)
 Send an event that the tab with the specified index is selected.
 

Public Member Functions

 YQDumbTab (YWidget *parent)
 Constructor.
 
virtual ~YQDumbTab ()
 Destructor.
 
virtual void addItem (YItem *item)
 Add an item (a tab page). More...
 
virtual void selectItem (YItem *item, bool selected=true)
 Select or deselect an item. More...
 
virtual void deselectAllItems ()
 Deselect all items. More...
 
virtual void deleteAllItems ()
 Delete all items (all tab pages). More...
 
virtual void shortcutChanged ()
 Notification that some shortcut was changed. More...
 
virtual void setEnabled (bool enabled)
 Set enabled/disabled state. More...
 
virtual int preferredWidth ()
 Preferred width of the widget. More...
 
virtual int preferredHeight ()
 Preferred height of the widget. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 

Protected Attributes

QTabBar * _tabBar
 

Detailed Description

Definition at line 36 of file YQDumbTab.h.

Member Function Documentation

void YQDumbTab::addItem ( YItem *  item)
virtual

Add an item (a tab page).

Reimplemented from YDumbTab.

Definition at line 74 of file YQDumbTab.cc.

void YQDumbTab::deleteAllItems ( )
virtual

Delete all items (all tab pages).

Reimplemented from YSelectionWidget.

Definition at line 103 of file YQDumbTab.cc.

void YQDumbTab::deselectAllItems ( )
virtual

Deselect all items.

Reimplemented from YSelectionWidget.

Definition at line 117 of file YQDumbTab.cc.

int YQDumbTab::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 170 of file YQDumbTab.cc.

int YQDumbTab::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 160 of file YQDumbTab.cc.

void YQDumbTab::selectItem ( YItem *  item,
bool  selected = true 
)
virtual

Select or deselect an item.

Reimplemented from YSelectionWidget.

Definition at line 88 of file YQDumbTab.cc.

void YQDumbTab::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 152 of file YQDumbTab.cc.

void YQDumbTab::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 180 of file YQDumbTab.cc.

void YQDumbTab::shortcutChanged ( )
virtual

Notification that some shortcut was changed.

Reimplemented from YDumbTab.

Definition at line 136 of file YQDumbTab.cc.


The documentation for this class was generated from the following files: