KXmlGui
ktoolbar.h
54 * @note If you can't depend on KXmlGui but you want to integrate with KDE, you can use QToolBar with:
55 * Set ToolButtonStyle to Qt::ToolButtonFollowStyle, this will make QToolBar use the settings for "Main Toolbar"
56 * Additionally set QToolBar::setProperty("otherToolbar", true) to use settings for "Other toolbars"
58 * @author Reginald Stadlbauer <[email protected]>, Stephan Kulow <[email protected]>, Sven Radej <[email protected]>, Hamish Rodda <[email protected]>.
76 * @param isMainToolBar True for the "main toolbar", false for other toolbars. Different settings apply.
80 // KDE5: remove. The one below is preferred so that all debug output from init() shows the right objectName already,
93 * @param objectName The QObject name of this toolbar, required so that QMainWindow can save and load the toolbar position,
105 * @param objectName The QObject name of this toolbar, required so that QMainWindow can save and load the toolbar position
109 * @param isMainToolBar True for the "main toolbar", false for other toolbars. Different settings apply.
112 KToolBar(const QString &objectName, QMainWindow *parentWindow, Qt::ToolBarArea area, bool newLine = false,
113 bool isMainToolBar = false, bool readConfig = true); // KDE5: remove, I don't think anyone is using this.
135 int iconSizeDefault() const; // KDE5: hide from public API. Doesn't make sense to export this, and it isn't used.
virtual void dropEvent(QDropEvent *event)
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document...
Definition: kxmlguiclient.h:39
virtual void dragLeaveEvent(QDragLeaveEvent *event)
virtual void dragEnterEvent(QDragEnterEvent *event)
virtual void dragMoveEvent(QDragMoveEvent *event)
virtual void mouseReleaseEvent(QMouseEvent *event)
ToolBarArea
virtual void contextMenuEvent(QContextMenuEvent *event)
virtual void mousePressEvent(QMouseEvent *event)
virtual void mouseMoveEvent(QMouseEvent *event)
virtual bool eventFilter(QObject *watched, QEvent *event)
virtual void actionEvent(QActionEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Mar 8 2021 22:50:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Mar 8 2021 22:50:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.