KMultiTabBarTab Class Reference
[KMultiTabBar related classes]
#include <kmultitabbar.h>
Inheritance diagram for KMultiTabBarTab:

Detailed Description
This class represents a tab bar's tab in a KMultiTabBarWidget.This class should never be created except with the appendTab call of KMultiTabBar
Definition at line 268 of file kmultitabbar.h.
Public Slots | |
| virtual void | setIcon (const QString &) |
| virtual void | setIcon (const QPixmap &) |
Public Member Functions | |
| KMultiTabBarTab (const QPixmap &pic, const QString &, int id, QWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
| virtual | ~KMultiTabBarTab () |
| void | setState (bool state) |
| void | showActiveTabText (bool show) |
| void | resize () |
Protected Slots | |
| virtual void | slotClicked () |
| void | setTabsPosition (KMultiTabBar::KMultiTabBarPosition) |
Protected Member Functions | |
| void | setSize (int) |
| int | neededSize () |
| void | updateState () |
| virtual void | drawButton (QPainter *) |
| virtual void | drawButtonLabel (QPainter *) |
| void | drawButtonStyled (QPainter *) |
| void | drawButtonClassic (QPainter *) |
Friends | |
| class | KMultiTabBarInternal |
Constructor & Destructor Documentation
| KMultiTabBarTab::~KMultiTabBarTab | ( | ) | [virtual] |
Member Function Documentation
| void KMultiTabBarTab::setState | ( | bool | state | ) |
set the active state of the tab
- Parameters:
-
state trueif the tab should become active,falseotherwise
Definition at line 560 of file kmultitabbar.cpp.
| void KMultiTabBarTab::showActiveTabText | ( | bool | show | ) |
choose if the text should always be displayed this is only used in classic mode if at all
- Parameters:
-
show Whether or not to show the text
Definition at line 615 of file kmultitabbar.cpp.
| void KMultiTabBarTab::resize | ( | ) | [inline] |
| void KMultiTabBarTab::drawButtonStyled | ( | QPainter * | ) | [protected] |
Definition at line 629 of file kmultitabbar.cpp.
The documentation for this class was generated from the following files:

