KMultiTabBarTab Class Reference
[KMultiTabBar related classes]
This class represents a tab bar's tab in a KMultiTabBarWidget. More...
#include <kmultitabbar.h>
Inheritance diagram for KMultiTabBarTab:

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 |
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.
Constructor & Destructor Documentation
KMultiTabBarTab::~KMultiTabBarTab | ( | ) | [virtual] |
Destructor.
Definition at line 511 of file kmultitabbar.cpp.
Member Function Documentation
void KMultiTabBarTab::drawButtonStyled | ( | QPainter * | paint | ) | [protected] |
,sh.height());
Definition at line 629 of file kmultitabbar.cpp.
void KMultiTabBarTab::resize | ( | ) | [inline] |
Resized the tab to the needed size.
Definition at line 293 of file kmultitabbar.h.
void KMultiTabBarTab::setState | ( | bool | state | ) |
set the active state of the tab
- Parameters:
-
state true
if the tab should become active,false
otherwise
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.
The documentation for this class was generated from the following files: