KXmlGui
kxmlguibuilder.cpp
115QWidget *KXMLGUIBuilder::createContainer(QWidget *parent, int index, const QDomElement &element, QAction *&containerAction)
259void KXMLGUIBuilder::removeContainer(QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction)
293 qCWarning(DEBUG_KXMLGUI) << "Unhandled container to remove : " << container->metaObject()->className();
304QAction *KXMLGUIBuilder::createCustomElement(QWidget *parent, int index, const QDomElement &element)
static Q_INVOKABLE bool authorizeAction(const QString &action)
static QByteArray applicationDomain()
void addXMLGUIClient(KXMLGUIClient *client)
Adds an XML gui client that uses this toolbar.
Definition ktoolbar.cpp:942
KMainWindow * mainWindow() const
Returns the main window that this toolbar is docked with.
Definition ktoolbar.cpp:1111
virtual QWidget * createContainer(QWidget *parent, int index, const QDomElement &element, QAction *&containerAction)
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file.
Definition kxmlguibuilder.cpp:115
virtual void removeContainer(QWidget *container, QWidget *parent, QDomElement &element, QAction *containerAction)
Removes the given (and previously via createContainer ) created container.
Definition kxmlguibuilder.cpp:259
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:40
KMainWindow with convenience functions and integration with XmlGui files.
Definition kxmlguiwindow.h:88
QString i18ndc(const char *domain, const char *context, const char *text, const TYPE &arg...)
QString i18nd(const char *domain, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
QWidget * window(QObject *job)
void setIcon(const QIcon &icon)
void setSeparator(bool b)
void setText(const QString &text)
void setVisible(bool)
const char * constData() const const
bool isEmpty() const const
QDomElement documentElement() const const
QString attribute(const QString &name, const QString &defValue) const const
QString tagName() const const
QString text() const const
bool isNull() const const
QDomNode namedItem(const QString &name) const const
QDomDocument ownerDocument() const const
QDomElement toElement() const const
QIcon fromTheme(const QString &name)
const_reference at(qsizetype i) const const
qsizetype count() const const
T value(qsizetype i) const const
QStatusBar * statusBar() const const
const char * className() const const
virtual const QMetaObject * metaObject() const const
void setObjectName(QAnyStringView name)
MinimumExpanding
bool isEmpty() const const
QString toLower() const const
QByteArray toUtf8() const const
void clear()
QList< QAction * > actions() const const
QAction * addAction(const QIcon &icon, const QString &text)
void hide()
void insertAction(QAction *before, QAction *action)
QWidget * parentWidget() const const
void removeAction(QAction *action)
void show()
void setSizePolicy(QSizePolicy)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.