org.kde.koala
public class KMultiTabBar extends QWidget
UNKNOWN: A Widget for horizontal and vertical tabs.
Field Summary | |
---|---|
static int | Bottom |
static int | Horizontal |
static int | KDEV3 |
static int | KDEV3ICON |
static int | KONQSBC |
static int | Left |
static int | Right |
static int | STYLELAST |
static int | Top |
static int | Vertical |
static int | VSNET
The list of available styles for KMultiTabBar
- 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) (currently disabled) |
Constructor Summary | |
---|---|
protected | KMultiTabBar(Class dummy) |
KMultiTabBar(int bm, QWidget parent, String name) | |
KMultiTabBar(int bm, QWidget parent) | |
KMultiTabBar(int bm) |
Method Summary | |
---|---|
int | appendButton(QPixmap pic, int id, QPopupMenu popup, String not_used_yet)
append a new button to the button area. |
int | appendButton(QPixmap pic, int id, QPopupMenu popup) |
int | appendButton(QPixmap pic, int id) |
int | appendButton(QPixmap pic) |
int | appendTab(QPixmap pic, int id, String text)
append a new tab to the tab area. |
int | appendTab(QPixmap pic, int id) |
int | appendTab(QPixmap pic) |
KMultiTabBarButton | button(int id)
get a pointer to a button within the button area identified by its ID |
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
protected void | fontChange(QFont arg1) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isTabRaised(int id)
return the state of a tab, identified by it's ID |
QMetaObject | metaObject() |
int | position()
get the tabbar position. |
void | removeButton(int id)
remove a button with the given ID |
void | removeTab(int id)
remove a tab with a given ID |
void | setPosition(int pos)
set the real position of the widget. |
void | setStyle(int style)
set the display style of the tabs |
void | setTab(int id, boolean state)
set a tab to "raised" |
void | showActiveTabTexts(boolean show)
might vanish, not sure yet |
void | showActiveTabTexts() |
KMultiTabBarTab | tab(int id)
get a pointer to a tab within the tab area, identiifed by its ID |
int | tabStyle()
get the display style of the tabs |
protected void | updateSeparator() |
UNKNOWN: The list of available styles for KMultiTabBar - VSNET - Visual Studio .
Parameters: 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
UNKNOWN: append a new button to the button area.
Parameters: 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
UNKNOWN: append a new tab to the tab area.
UNKNOWN: get a pointer to a button within the button area identified by its ID
UNKNOWN: return the state of a tab, identified by it's ID
Returns: position
UNKNOWN: get the tabbar position.
UNKNOWN: remove a button with the given ID
UNKNOWN: remove a tab with a given ID
Parameters: pos if the mode is horizontal, only use top, bottom, if it is vertical use left or right
UNKNOWN: set the real position of the widget.
UNKNOWN: set the display style of the tabs
Parameters: id The ID of the tab to manipulate state true == activated/raised, false == not active
UNKNOWN: set a tab to "raised"
UNKNOWN: might vanish, not sure yet
UNKNOWN: get a pointer to a tab within the tab area, identiifed by its ID
Returns: display style
UNKNOWN: get the display style of the tabs