KMultiTabBar Class Reference
A Widget for horizontal and vertical tabs. More...
#include <kmultitabbar.h>
Inheritance diagram for KMultiTabBar:


Public Types | |
enum | KMultiTabBarMode { Horizontal, Vertical } |
enum | KMultiTabBarPosition { Left, Right, Top, Bottom } |
enum | KMultiTabBarStyle { VSNET = 0, KDEV3 = 1, KONQSBC = 2, KDEV3ICON = 3, STYLELAST = 0xffff } |
Public Member Functions | |
KMultiTabBar (KMultiTabBarMode bm, QWidget *parent=0, const char *name=0) | |
int | appendButton (const QPixmap &pic, int id=-1, QPopupMenu *popup=0, const QString ¬_used_yet=QString::null) |
void | removeButton (int id) |
int | appendTab (const QPixmap &pic, int id=-1, const QString &text=QString::null) |
void | removeTab (int id) |
void | setTab (int id, bool state) |
bool | isTabRaised (int id) const |
KMultiTabBarButton * | button (int id) const |
KMultiTabBarTab * | tab (int id) const |
void | setPosition (KMultiTabBarPosition pos) |
void | setStyle (KMultiTabBarStyle style) |
QPtrList< KMultiTabBarTab > * | tabs () |
QPtrList< KMultiTabBarButton > * | buttons () |
void | showActiveTabTexts (bool show=true) |
Protected Member Functions | |
virtual void | fontChange (const QFont &) |
void | updateSeparator () |
Detailed Description
A Widget for horizontal and vertical tabs.It is possible to add normal buttons to the top/left The handling if only one tab at a time or multiple tabs should be raisable is left to the "user".
- Author:
- Joseph Wenninger
Definition at line 54 of file kmultitabbar.h.
Member Enumeration Documentation
|
VSNET == Visual Studio .Net like (only show the text of active tabs KDEV3 == Kdevelop 3 like (always show the text) KONQSBC == konqy's classic sidebar style (unthemed), this one is disabled at the moment, but will be renabled soon too.
Definition at line 67 of file kmultitabbar.h. |
Member Function Documentation
|
append a new button to the button area. The button can later on be accessed with button(ID) eg for connecting signals to it
Definition at line 878 of file kmultitabbar.cpp. References appendButton(). Referenced by appendButton(). |
|
remove a button with the given ID
Definition at line 923 of file kmultitabbar.cpp. References removeButton(). Referenced by removeButton(). |
|
append a new tab to the tab area. It can be accessed lateron with tabb(id);
Definition at line 902 of file kmultitabbar.cpp. References appendTab(). Referenced by appendTab(). |
|
remove a tab with a given ID
Definition at line 936 of file kmultitabbar.cpp. References removeTab(). Referenced by removeTab(). |
|
set a tab to "raised"
Definition at line 941 of file kmultitabbar.cpp. References KMultiTabBarTab::setState(), and setTab(). Referenced by setTab(). |
|
return the state of a tab, identified by it's ID
Definition at line 950 of file kmultitabbar.cpp. References isTabRaised(). Referenced by isTabRaised(). |
|
get a pointer to a button within the button area identified by its ID
Definition at line 908 of file kmultitabbar.cpp. References button(). Referenced by button(). |
|
get a pointer to a tab within the tab area, identiifed by its ID
Definition at line 916 of file kmultitabbar.cpp. References tab(). Referenced by tab(). |
|
set the real position of the widget.
Definition at line 972 of file kmultitabbar.cpp. References setPosition(). Referenced by setPosition(). |
|
set the display style of the tabs
Definition at line 967 of file kmultitabbar.cpp. References setStyle(). Referenced by setStyle(). |
|
be carefull, don't delete tabs yourself and don't delete the list itself
Definition at line 986 of file kmultitabbar.cpp. |
|
be carefull, don't delete buttons yourself and don't delete the list itself
Definition at line 987 of file kmultitabbar.cpp. |
|
might vanish, not sure yet
Definition at line 962 of file kmultitabbar.cpp. References showActiveTabTexts(). Referenced by showActiveTabTexts(). |
The documentation for this class was generated from the following files: