This class implements the creation of user defined toolbars. More...
#include <DlgToolbarsImp.h>
Public Member Functions | |
DlgCustomToolbarsImp (QWidget *parent=0) | |
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... | |
![]() | |
CustomizeActionPage (QWidget *parent=0) | |
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 &) | |
![]() | |
DlgCustomToolbars (Type, QWidget *parent=0) | |
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 ~DlgCustomToolbars () | |
Destroys the object and frees any allocated resources. More... | |
![]() | |
bool event (QEvent *e) | |
Additional Inherited Members | |
![]() | |
enum Type { Toolbar, Toolboxbar } | |
![]() | |
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 &) | |
![]() | |
virtual void onAddMacroAction (const QByteArray &)=0 | |
virtual void onModifyMacroAction (const QByteArray &)=0 | |
virtual void onRemoveMacroAction (const QByteArray &)=0 | |
![]() | |
std::unique_ptr< Ui_DlgCustomToolbars > ui | |
Detailed Description
This class implements the creation of user defined toolbars.
- See also
- DlgCustomToolbars
- DlgCustomCmdbarsImp
Constructor & Destructor Documentation
◆ DlgCustomToolbarsImp()
DlgCustomToolbarsImp::DlgCustomToolbarsImp | ( | QWidget * | parent = 0 | ) |
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::~DlgCustomToolbarsImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ addCustomCommand()
|
protectedvirtual |
◆ addCustomToolbar()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
◆ changeEvent()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::Dialog::DlgCustomToolbars::changeEvent().
◆ moveDownCustomCommand()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
◆ moveUpCustomCommand()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
◆ removeCustomCommand()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
◆ removeCustomToolbar()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
◆ renameCustomToolbar()
|
protectedvirtual |
Reimplemented from Gui::Dialog::DlgCustomToolbars.
References Gui::WorkbenchManager::active(), Gui::getMainWindow(), Gui::WorkbenchManager::instance(), and Gui::Dialog::DlgCustomToolbars::ui.
The documentation for this class was generated from the following files:
- src/Gui/DlgToolbarsImp.h
- src/Gui/DlgToolbarsImp.cpp