This class implements the creation of user defined toolbox bars. More...
#include <DlgToolbarsImp.h>
Public Member Functions | |
DlgCustomToolBoxbarsImp (QWidget *parent=nullptr) | |
Constructs a DlgCustomToolBoxbarsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
~DlgCustomToolBoxbarsImp () | |
Destroys the object and frees any allocated resources. More... | |
Public Member Functions inherited from Gui::Dialog::CustomizeActionPage | |
CustomizeActionPage (QWidget *parent=nullptr) | |
Construction. More... | |
virtual | ~CustomizeActionPage () |
Destruction. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Protected Member Functions inherited from Gui::Dialog::DlgCustomToolbars | |
virtual void | addCustomCommand (const QString &, const QByteArray &) |
virtual void | addCustomToolbar (const QString &) |
void | changeEvent (QEvent *e) |
DlgCustomToolbars (Type, QWidget *parent=nullptr) | |
Constructs a DlgCustomToolbars which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
void | hideEvent (QHideEvent *event) |
virtual void | moveDownCustomCommand (const QString &, const QByteArray &) |
virtual void | moveUpCustomCommand (const QString &, const QByteArray &) |
virtual void | removeCustomCommand (const QString &, const QByteArray &) |
virtual void | removeCustomToolbar (const QString &) |
virtual void | renameCustomToolbar (const QString &, const QString &) |
virtual | ~DlgCustomToolbars () |
Destroys the object and frees any allocated resources. More... | |
Protected Member Functions inherited from Gui::Dialog::CustomizeActionPage | |
virtual void | changeEvent (QEvent *e)=0 |
bool | event (QEvent *e) |
Additional Inherited Members | |
Protected Types inherited from Gui::Dialog::DlgCustomToolbars | |
enum | Type { Toolbar , Toolboxbar } |
Protected Slots inherited from Gui::Dialog::DlgCustomToolbars | |
void | on_categoryBox_activated (int index) |
void | on_deleteButton_clicked () |
void | on_moveActionDownButton_clicked () |
Moves down an action. More... | |
void | on_moveActionLeftButton_clicked () |
Removes an action. More... | |
void | on_moveActionRightButton_clicked () |
Adds a new action. More... | |
void | on_moveActionUpButton_clicked () |
Moves up an action. More... | |
void | on_newButton_clicked () |
void | on_renameButton_clicked () |
void | on_workbenchBox_activated (int index) |
void | onAddMacroAction (const QByteArray &) |
void | onModifyMacroAction (const QByteArray &) |
void | onRemoveMacroAction (const QByteArray &) |
Protected Slots inherited from Gui::Dialog::CustomizeActionPage | |
virtual void | onAddMacroAction (const QByteArray &)=0 |
virtual void | onModifyMacroAction (const QByteArray &)=0 |
virtual void | onRemoveMacroAction (const QByteArray &)=0 |
Protected Attributes inherited from Gui::Dialog::DlgCustomToolbars | |
std::unique_ptr< Ui_DlgCustomToolbars > | ui |
This class implements the creation of user defined toolbox bars.
A toolbox bar is the same as a toolbar - a collection of several action objects - unless a toolbox bar is placed in a toolbox, while a toolbar is placed in the dock areas of the main window. So toolbox bars are predestinated to save place on your desktop.
DlgCustomToolBoxbarsImp::DlgCustomToolBoxbarsImp | ( | QWidget * | parent = nullptr | ) |
Constructs a DlgCustomToolBoxbarsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
The dialog will by default be modeless, unless you set 'modal' to true to construct a modal dialog.
DlgCustomToolBoxbarsImp::~DlgCustomToolBoxbarsImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::Dialog::DlgCustomToolbars::changeEvent().