KDEUI
kxmlguiwindow.h
Go to the documentation of this file.
61class KDEUI_EXPORT KXmlGuiWindow : public KMainWindow, public KXMLGUIBuilder, virtual public KXMLGUIClient
68 Q_PROPERTY( bool standardToolBarMenuEnabled READ isStandardToolBarMenuEnabled WRITE setStandardToolBarMenuEnabled )
virtual void applyMainWindowSettings(const KConfigGroup &config, bool forceGlobal=false)
Read settings for statusbar, menubar and toolbar from their respective groups in the config file and ...
Definition kmainwindow.cpp:746
virtual bool event(QEvent *event)
Reimplemented to catch QEvent::Polish in order to adjust the object name if needed,...
Definition kmainwindow.cpp:1061
KMainWindow(QWidget *parent=0, Qt::WindowFlags f=KDE_DEFAULT_WINDOWFLAGS)
Construct a main window.
Definition kmainwindow.cpp:217
virtual void finalizeGUI(KXMLGUIClient *client)
Definition kxmlguibuilder.cpp:402
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:47
KXMLGUIClient()
Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory to create a GUI from actions and a...
Definition kxmlguiclient.cpp:82
KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets...
Definition kxmlguifactory.h:66
void createGUI(const QString &xmlfile=QString())
Create a GUI given a local XML file.
Definition kxmlguiwindow.cpp:232
void createStandardStatusBarAction()
Sets whether KMainWindow should provide a menu that allows showing/hiding of the statusbar ( using KT...
Definition kxmlguiwindow.cpp:321
void setStandardToolBarMenuEnabled(bool enable)
Sets whether KMainWindow should provide a menu that allows showing/hiding the available toolbars ( us...
Definition kxmlguiwindow.cpp:292
bool isStandardToolBarMenuEnabled() const
Definition kxmlguiwindow.cpp:315
bool standardToolBarMenuEnabled
Definition kxmlguiwindow.h:68
@ StatusBar
adds action to show/hide the statusbar if the statusbar exists.
Definition kxmlguiwindow.h:210
@ Save
auto-saves (and loads) the toolbar/menubar/statusbar settings and window size using the default name.
Definition kxmlguiwindow.h:222
@ ToolBar
adds action to show/hide the toolbar(s) and adds action to configure the toolbar(s).
Definition kxmlguiwindow.h:199
@ Create
calls createGUI() once ToolBar, Keys and Statusbar have been taken care of.
Definition kxmlguiwindow.h:234
KXmlGuiWindow(QWidget *parent=0, Qt::WindowFlags f=KDE_DEFAULT_WINDOWFLAGS)
Construct a main window.
Definition kxmlguiwindow.cpp:88
void setHelpMenuEnabled(bool showHelpMenu=true)
Enables the build of a standard help menu when calling createGUI/setupGUI().
Definition kxmlguiwindow.cpp:138
bool isHelpMenuEnabled() const
Return true when the help menu is enabled.
Definition kxmlguiwindow.cpp:144
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.