org.kde.koala
public class StatusBarExtension extends QObject
UNKNOWN: An extension for KParts that allows more sophisticated statusbar handling.
Constructor Summary | |
---|---|
protected | StatusBarExtension(Class dummy) |
StatusBarExtension(ReadOnlyPart parent, String name) | |
StatusBarExtension(ReadOnlyPart parent) |
Method Summary | |
---|---|
void | addStatusBarItem(QWidget widget, int stretch, boolean permanent)
This adds a widget to the statusbar for this part.
|
static StatusBarExtension | childObject(QObject arg1)
Queries obj for a child object which inherits from this
BrowserExtension class. |
String | className() |
boolean | eventFilter(QObject watched, QEvent ev) |
QMetaObject | metaObject() |
void | removeStatusBarItem(QWidget widget)
Remove a widget from the statusbar for this part. |
void | setStatusBar(KStatusBar status)
This allows the hosting application to set a particular KStatusBar
for this part. |
KStatusBar | statusBar() |
Parameters: widget the widget to add stretch the stretch factor. 0 for a minimum size. permanent passed to QStatusBar.addWidget as the "permanent" boolean.
Note that the item isn't really permanent though, it goes away when
the part is unactivated. This simply controls where temporary messages
hide the widget
, and whether it's added to the left or to the right side.
IMPORTANT: do NOT add any items immediately after constructing the extension.
Give the application time to set the statusbar in the extension if necessary.
UNKNOWN: This adds a widget to the statusbar for this part.
obj
for a child object which inherits from this
BrowserExtension class. Convenience method.UNKNOWN: Queries obj
for a child object which inherits from this BrowserExtension class.
UNKNOWN: @short @internal
widget
from the statusbar for this part.UNKNOWN: Remove a widget
from the statusbar for this part.
UNKNOWN: This allows the hosting application to set a particular KStatusBar for this part.
Returns: the statusbar of the KMainWindow in which this part is currently embedded. WARNING: this could return 0L
UNKNOWN: