Public Slots |
Public Member Functions |
Protected Slots |
Protected Member Functions |
Friends |
List of all members
KMultiTabBarTab Class Reference
#include <tdemultitabbar.h>
Inheritance diagram for KMultiTabBarTab:
Public Slots | |
virtual void | setIcon (const TQString &) |
virtual void | setIcon (const TQPixmap &) |
Public Slots inherited from KMultiTabBarButton | |
void | setPosition (KMultiTabBar::KMultiTabBarPosition) |
void | setStyle (KMultiTabBar::KMultiTabBarStyle) |
void | setText (const TQString &) |
TQSize | sizeHint () const |
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 () |
Public Member Functions inherited from KMultiTabBarButton | |
KMultiTabBarButton (const TQPixmap &pic, const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
KMultiTabBarButton (const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
virtual | ~KMultiTabBarButton () |
int | id () const |
Protected Slots | |
virtual void | slotClicked () |
void | setTabsPosition (KMultiTabBar::KMultiTabBarPosition) |
Protected Slots inherited from KMultiTabBarButton | |
virtual void | slotClicked () |
Protected Member Functions | |
void | setSize (int) |
int | neededSize () |
void | updateState () |
virtual void | drawButton (TQPainter *) |
virtual void | drawButtonLabel (TQPainter *) |
void | drawButtonStyled (TQPainter *) |
void | drawButtonClassic (TQPainter *) |
Protected Member Functions inherited from KMultiTabBarButton | |
virtual void | hideEvent (class TQHideEvent *) |
virtual void | showEvent (class TQShowEvent *) |
Friends | |
class | KMultiTabBarInternal |
Additional Inherited Members | |
Signals inherited from KMultiTabBarButton | |
void | clicked (int id) |
Protected Attributes inherited from KMultiTabBarButton | |
KMultiTabBar::KMultiTabBarPosition | m_position |
KMultiTabBar::KMultiTabBarStyle | m_style |
TQString | m_text |
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()
|
virtual |
Destructor.
Definition at line 511 of file tdemultitabbar.cpp.
Member Function Documentation
◆ drawButtonStyled()
|
protected |
,sh.height());
Definition at line 629 of file tdemultitabbar.cpp.
◆ resize()
|
inline |
Resized the tab to the needed size.
Definition at line 293 of file tdemultitabbar.h.
◆ setState()
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.
◆ showActiveTabText()
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: