KDE3Support
#include <dockmainwindow3.h>

Protected Slots | |
| void | createGUI (KParts::Part *part) |
| virtual void | slotSetStatusBarText (const QString &) |
Protected Slots inherited from K3DockMainWindow | |
| void | slotDockWidgetUndocked () |
Protected Slots inherited from KXmlGuiWindow | |
| void | saveAutoSaveSettings () |
| virtual void | saveNewToolbarConfig () |
| virtual void | showAboutApplication () |
Protected Slots inherited from KMainWindow | |
| void | saveAutoSaveSettings () |
| virtual void | showAboutApplication () |
Protected Member Functions | |
| virtual void | createShellGUI (bool create=true) |
Protected Member Functions inherited from K3DockMainWindow | |
| virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from KXmlGuiWindow | |
| virtual void | closeEvent (QCloseEvent *) |
| virtual bool | event (QEvent *event) |
| KMainWindow (KMainWindowPrivate &dd, QWidget *parent, Qt::WindowFlags f) | |
| void | loadStandardsXmlFile () |
| void | parseGeometry (bool parsewidth) |
| virtual bool | queryClose () |
| virtual bool | queryExit () |
| virtual void | readGlobalProperties (KConfig *sessionConfig) |
| virtual void | readProperties (const KConfigGroup &) |
| bool | readPropertiesInternal (KConfig *, int) |
| void | restoreWindowSize (const KConfigGroup &config) |
| virtual void | saveGlobalProperties (KConfig *sessionConfig) |
| virtual void | saveProperties (KConfigGroup &) |
| void | savePropertiesInternal (KConfig *, int) |
| void | saveWindowSize (const KConfigGroup &config) const |
| virtual void | setComponentData (const KComponentData &componentData) |
| virtual void | setDOMDocument (const QDomDocument &document, bool merge=false) |
| virtual void | setLocalXMLFile (const QString &file) |
| bool | settingsDirty () const |
| virtual void | setXML (const QString &document, bool merge=false) |
| virtual void | setXMLFile (const QString &file, bool merge=false, bool setXMLDoc=true) |
| virtual void | stateChanged (const QString &newstate, ReverseStateChange reverse=StateNoReverse) |
Protected Member Functions inherited from KMainWindow | |
| KMainWindow (KMainWindowPrivate &dd, QWidget *parent, Qt::WindowFlags f) | |
| void | parseGeometry (bool parsewidth) |
| bool | readPropertiesInternal (KConfig *, int) |
| void | restoreWindowSize (const KConfigGroup &config) |
| void | savePropertiesInternal (KConfig *, int) |
| void | saveWindowSize (const KConfigGroup &config) const |
| bool | settingsDirty () const |
Protected Member Functions inherited from KXMLGUIClient | |
| void | loadStandardsXmlFile () |
Protected Member Functions inherited from KParts::PartBase | |
| PartBase (PartBasePrivate &dd) | |
| void | loadPlugins (QObject *parent, KXMLGUIClient *parentGUIClient, const KComponentData &componentData) |
| virtual void | setComponentData (const KComponentData &componentData, bool loadPlugins) |
| virtual void | setComponentData (const KComponentData &componentData) |
| void | setPluginInterfaceVersion (int version) |
| void | setPluginLoadingMode (PluginLoadingMode loadingMode) |
Additional Inherited Members | |
Public Types inherited from KXmlGuiWindow | |
| enum | ReverseStateChange |
| enum | StandardWindowOption |
Public Types inherited from KParts::PartBase | |
| enum | PluginLoadingMode |
Public Slots inherited from KXmlGuiWindow | |
| void | appHelpActivated (void) |
| virtual void | configureToolbars () |
| virtual void | setCaption (const QString &caption) |
| virtual void | setCaption (const QString &caption, bool modified) |
| virtual void | setPlainCaption (const QString &caption) |
| void | setSettingsDirty () |
| void | slotStateChanged (const QString &newstate, bool reverse) |
| virtual void | slotStateChanged (const QString &newstate) |
Signals inherited from K3DockMainWindow | |
| void | dockWidgetHasUndocked (K3DockWidget *) |
Static Public Member Functions inherited from KXmlGuiWindow | |
| static bool | canBeRestored (int number) |
| static const QString | classNameOfToplevel (int number) |
| static QString | findMostRecentXMLFile (const QStringList &files, QString &doc) |
| static QList< KMainWindow * > | memberList () |
Static Public Member Functions inherited from KXMLGUIClient | |
| static QString | findMostRecentXMLFile (const QStringList &files, QString &doc) |
Public Attributes inherited from KXmlGuiWindow | |
| Create | |
| Default | |
| Keys | |
| Save | |
| StateNoReverse | |
| StateReverse | |
| StatusBar | |
| ToolBar | |
Public Attributes inherited from KParts::PartBase | |
| DoNotLoadPlugins | |
| LoadPlugins | |
| LoadPluginsIfEnabled | |
Protected Attributes inherited from K3DockMainWindow | |
| K3DockManager * | dockManager |
| K3DockWidget * | mainDockWidget |
Protected Attributes inherited from KParts::PartBase | |
| PartBasePrivate * | d_ptr |
Properties inherited from KXmlGuiWindow | |
| QString | autoSaveGroup |
| bool | autoSaveSettings |
| bool | hasMenuBar |
| bool | initialGeometrySet |
| bool | standardToolBarMenuEnabled |
Detailed Description
A KPart-aware main window with ability for docking widgets, whose user interface is described in XML.
Inherit your main dock-window from this class and don't forget to call setXMLFile() in the inherited constructor.
It implements all internal interfaces in the case of a K3DockMainWindow3 as host: the builder and servant interface (for menu merging).
Definition at line 47 of file dockmainwindow3.h.
Constructor & Destructor Documentation
| DockMainWindow3::DockMainWindow3 | ( | QWidget * | parent = 0L, |
| const char * | name = 0L, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor, same signature as K3DockMainWindow3.
Definition at line 60 of file dockmainwindow3.cpp.
|
virtual |
Destructor.
Definition at line 68 of file dockmainwindow3.cpp.
Member Function Documentation
|
protectedslot |
Create the GUI (by merging the host's and the active part's)
Called on startup and whenever the active part changes For this you need to connect this slot to the KPartManager::activePartChanged() signal
- Parameters
-
part The active part (set to 0L if no part).
Definition at line 73 of file dockmainwindow3.cpp.
|
protectedvirtual |
Definition at line 130 of file dockmainwindow3.cpp.
|
protectedvirtualslot |
Called when the active part wants to change the statusbar message Reimplement if your dock-mainwindow has a complex statusbar (with several items)
Definition at line 125 of file dockmainwindow3.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Feb 9 2013 12:33:08 by doxygen 1.8.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from