class KMultiTabBar |
|
A Widget for horizontal and vertical tabs.
(Note that in Qt4, QTabBar can be vertical as well)
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 |
|
The list of available styles for KMultiTabBar - VSNET - Visual Studio .Net like, always shows icon, only show the text of active tabs - KDEV3ICON - Kdevelop 3 like, always shows the text and icons |
|
|
append a new button to the button area. The button can later on be accessed with button(ID)
eg for connecting signals to it
pic - a pixmap for the button id - an arbitraty ID value. It will be emitted in the clicked signal for identifying the button if more than one button is connected to a signals. popup - A popup menu which should be displayed if the button is clicked not_used_yet - will be used for a popup text in the future |
|
append a new tab to the tab area. It can be accessed lateron with tabb(id);
pic - a bitmap for the tab id - an arbitrary ID which can be used later on to identify the tab text - if a mode with text is used it will be the tab text, otherwise a mouse over hint |
|
get a pointer to a button within the button area identified by its ID |
|
|
return the state of a tab, identified by its ID |
|
get the tabbar position. Returns position |
|
remove a button with the given ID |
|
remove a tab with a given ID |
|
set the real position of the widget.
pos - if the mode is horizontal, only use top, bottom, if it is vertical use left or right |
|
set the display style of the tabs |
|
set a tab to "raised"
id - The ID of the tab to manipulate state - true == activated/raised, false == not active |
|
get a pointer to a tab within the tab area, identiifed by its ID |
|
get the display style of the tabs Returns display style |
|
Left | - | - | ||
Right | - | - | ||
Top | - | - | ||
Bottom | - | - |
The list of available styles for KMultiTabBar - VSNET - Visual Studio .Net like, always shows icon, only show the text of active tabs - KDEV3ICON - Kdevelop 3 like, always shows the text and icons
VSNET | - 0 | - | ||
KDEV3ICON | - 2 | - | ||
STYLELAST | - 0xffff | - |