KMultiTabBarTab Class Reference
#include <tdemultitabbar.h>
Inheritance diagram for KMultiTabBarTab:

Public Slots | |
virtual void | setIcon (const TQString &) |
virtual void | setIcon (const TQPixmap &) |
Public Member Functions | |
KMultiTabBarTab (const TQPixmap &pic, const TQString &, int id, TQWidget *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 (TQPainter *) |
virtual void | drawButtonLabel (TQPainter *) |
void | drawButtonStyled (TQPainter *) |
void | drawButtonClassic (TQPainter *) |
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 tdemultitabbar.h.
Constructor & Destructor Documentation
KMultiTabBarTab::~KMultiTabBarTab | ( | ) | [virtual] |
Destructor.
Definition at line 511 of file tdemultitabbar.cpp.
Member Function Documentation
void KMultiTabBarTab::drawButtonStyled | ( | TQPainter * | paint | ) | [protected] |
,sh.height());
Definition at line 629 of file tdemultitabbar.cpp.
void KMultiTabBarTab::resize | ( | ) | [inline] |
Resized the tab to the needed size.
Definition at line 293 of file tdemultitabbar.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 tdemultitabbar.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 tdemultitabbar.cpp.
The documentation for this class was generated from the following files: