libyui-qt  2.43.5
YQDumbTab Class Reference

List of all members.

Public Slots

void slotSelected (int index)

Public Member Functions

 YQDumbTab (YWidget *parent)
virtual ~YQDumbTab ()
virtual void addItem (YItem *item)
virtual void selectItem (YItem *item, bool selected=true)
virtual void deselectAllItems ()
virtual void deleteAllItems ()
virtual void shortcutChanged ()
virtual void setEnabled (bool enabled)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)

Protected Attributes

QTabBar * _tabBar

Detailed Description

Definition at line 36 of file YQDumbTab.h.


Constructor & Destructor Documentation

YQDumbTab::YQDumbTab ( YWidget *  parent)

Constructor.

Definition at line 45 of file YQDumbTab.cc.

Here is the call graph for this function:

YQDumbTab::~YQDumbTab ( ) [virtual]

Destructor.

Definition at line 67 of file YQDumbTab.cc.


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.

void YQDumbTab::slotSelected ( int  index) [slot]

Send an event that the tab with the specified index is selected.

Definition at line 124 of file YQDumbTab.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables