org.kde.koala
public class KDockManager extends QObject
UNKNOWN: The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set).
Field Summary | |
---|---|
static int | RestoreAllDockwidgets |
static int | Unknown |
static int | WrapExistingWidgetsOnly |
Constructor Summary | |
---|---|
protected | KDockManager(Class dummy) |
KDockManager(QWidget mainWindow, String name)
Constructs a dockmanager. | |
KDockManager(QWidget mainWindow) |
Method Summary | |
---|---|
void | activate()
Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are
parent of a dockwidget tab group. |
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
QPopupMenu | dockHideShowMenu() |
void | dumpDockWidgets() |
boolean | eventFilter(QObject object, QEvent event)
It's more or less a method that catches several events which are interesting for the dockmanager.
|
protected void | finalize() Deletes the wrapped C++ instance |
KDockWidget | findWidgetParentDock(QWidget w)
This method finds out what a widgets' dockwidget is. |
void | finishReadDockConfig() |
KDockWidget | getDockWidgetFromName(String dockName) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
void | makeWidgetDockVisible(QWidget w)
Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. |
QMetaObject | metaObject() |
void | readConfig(KConfig c, String group)
Like writeConfig but reads the whole stuff in.
|
void | readConfig(KConfig c) |
void | readConfig() |
void | readConfig(QDomElement base)
Reads the current dock window layout from a DOM tree below the given element. |
void | removeFromAutoCreateList(KDockWidget pDockWidget) |
void | setMainDockWidget2(KDockWidget arg1) |
void | setReadDockConfigMode(int mode) |
void | setSpecialBottomDockContainer(KDockWidget container) |
void | setSpecialLeftDockContainer(KDockWidget container) |
void | setSpecialRightDockContainer(KDockWidget container) |
void | setSpecialTopDockContainer(KDockWidget container) |
void | setSplitterHighResolution(boolean b)
Operate the splitter with a higher resolution. |
void | setSplitterHighResolution() |
void | setSplitterKeepSize(boolean b)
Try to preserve the widget's size. |
void | setSplitterKeepSize() |
void | setSplitterOpaqueResize(boolean b)
Enables opaque resizing. |
void | setSplitterOpaqueResize() |
boolean | splitterHighResolution()
Returns true if the splitter uses the high resolution, false otherwise. |
boolean | splitterKeepSize()
Returns true if the KeepSize is enabled, false otherwise. |
boolean | splitterOpaqueResize()
Returns true if opaque resizing is enabled, false otherwise. |
void | writeConfig(KConfig c, String group)
Saves the current state of the dockmanager and of all controlled widgets.
|
void | writeConfig(KConfig c) |
void | writeConfig() |
void | writeConfig(QDomElement base)
Saves the current dock window layout into a DOM tree below the given element. |
Parameters: mainWindow the main window controlled by this name the internal QOject name
UNKNOWN: Constructs a dockmanager.
UNKNOWN: Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are parent of a dockwidget tab group.
Returns: the popupmenu for showing/hiding dockwidgets
UNKNOWN:
Parameters: object the object that sends the event event the event
Returns: the return value of the method call of the base class method
UNKNOWN: It's more or less a method that catches several events which are interesting for the dockmanager.
Parameters: w any widget that is supposed to be encapsulated by one of the controlled dockwidgets
Returns: the dockwidget that encapsulates that widget, otherwise 0
UNKNOWN: This method finds out what a widgets' dockwidget is.
Parameters: dockName an internal QObject name
Returns: the dockwidget that has got that internal QObject name
UNKNOWN:
Parameters: w the widget that is encapsulated by a dockwidget that turns to visible.
UNKNOWN: Works like makeDockVisible() but can be called for widgets that covered by a dockwidget.
Parameters: c the KDE configuration saver group the name of the section in KConfig
UNKNOWN: Like writeConfig but reads the whole stuff in.
UNKNOWN: Reads the current dock window layout from a DOM tree below the given element.
UNKNOWN:
UNKNOWN: Since KDE 3.5 this is ignored. Internally the splitter always calcualtes in high resolution values. For KDE 4, this will be removed. Operate the splitter with a higher resolution.
UNKNOWN: Try to preserve the widget's size.
UNKNOWN: Enables opaque resizing.
UNKNOWN: Returns true if the splitter uses the high resolution, false otherwise.
UNKNOWN: Returns true if the KeepSize is enabled, false otherwise.
UNKNOWN: Returns true if opaque resizing is enabled, false otherwise.
Parameters: c the KDE configuration saver group the name of the section in KConfig
UNKNOWN: Saves the current state of the dockmanager and of all controlled widgets.
UNKNOWN: Saves the current dock window layout into a DOM tree below the given element.