This class implements the creation of user defined toolbars. More...
#include <DlgToolbarsImp.h>
Public Member Functions | |
DlgCustomToolbarsImp (QWidget *parent=nullptr) | |
Constructs a DlgCustomToolbarsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
~DlgCustomToolbarsImp () | |
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 | |
virtual void | addCustomCommand (const QString &, const QByteArray &) |
virtual void | addCustomToolbar (const QString &) |
void | changeEvent (QEvent *e) |
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 &) |
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 toolbars.
DlgCustomToolbarsImp::DlgCustomToolbarsImp | ( | QWidget * | parent = nullptr | ) |
Constructs a DlgCustomToolbarsImp 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.
DlgCustomToolbarsImp::~DlgCustomToolbarsImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::Dialog::DlgCustomToolbars::changeEvent().
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.