KXMLGUIBuilder
#include <KXMLGUIBuilder>
Public Member Functions | |
KXMLGUIBuilder (QWidget *widget) | |
KXMLGUIClient * | builderClient () const |
virtual QStringList | containerTags () const |
virtual QWidget * | createContainer (QWidget *parent, int index, const QDomElement &element, QAction *&containerAction) |
virtual QAction * | createCustomElement (QWidget *parent, int index, const QDomElement &element) |
virtual QStringList | customTags () const |
virtual void | finalizeGUI (KXMLGUIClient *client) |
virtual void | removeContainer (QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction) |
void | setBuilderClient (KXMLGUIClient *client) |
QWidget * | widget () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Implements the creation of the GUI (menubar, menus and toolbars) as requested by the GUI factory.
The virtual methods are mostly for historical reasons, there isn't really a need to derive from KXMLGUIBuilder anymore.
Definition at line 33 of file kxmlguibuilder.h.
Constructor & Destructor Documentation
◆ KXMLGUIBuilder()
|
explicit |
Definition at line 68 of file kxmlguibuilder.cpp.
◆ ~KXMLGUIBuilder()
|
virtual |
Definition at line 97 of file kxmlguibuilder.cpp.
Member Function Documentation
◆ builderClient()
KXMLGUIClient * KXMLGUIBuilder::builderClient | ( | ) | const |
Definition at line 394 of file kxmlguibuilder.cpp.
◆ containerTags()
|
virtual |
Definition at line 107 of file kxmlguibuilder.cpp.
◆ createContainer()
|
virtual |
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file.
- Parameters
-
parent The parent for the container index The index where the container should be inserted into the parent container/widget element The element from the DOM tree describing the container (use it to access container specified attributes or child elements) action The action created for this container; used for e.g. passing to removeContainer.
Definition at line 115 of file kxmlguibuilder.cpp.
◆ createCustomElement()
|
virtual |
Definition at line 304 of file kxmlguibuilder.cpp.
◆ customTags()
|
virtual |
Definition at line 297 of file kxmlguibuilder.cpp.
◆ finalizeGUI()
|
virtual |
Definition at line 404 of file kxmlguibuilder.cpp.
◆ removeContainer()
|
virtual |
Removes the given (and previously via createContainer ) created container.
Definition at line 259 of file kxmlguibuilder.cpp.
◆ setBuilderClient()
void KXMLGUIBuilder::setBuilderClient | ( | KXMLGUIClient * | client | ) |
Definition at line 399 of file kxmlguibuilder.cpp.
◆ virtual_hook()
|
protectedvirtual |
Definition at line 412 of file kxmlguibuilder.cpp.
◆ widget()
QWidget * KXMLGUIBuilder::widget | ( | ) |
Definition at line 102 of file kxmlguibuilder.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.