Shows an overview of all available commands of all groups and modules. More...
#include <DlgCommandsImp.h>
Public Member Functions | |
DlgCustomCommandsImp (QWidget *parent=0) | |
Constructs a DlgCustomCommandsImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
~DlgCustomCommandsImp () | |
Destroys the object and frees any allocated resources. More... | |
![]() | |
CustomizeActionPage (QWidget *parent=0) | |
Construction. More... | |
virtual ~CustomizeActionPage () | |
Destruction. More... | |
Protected Slots | |
void onAddMacroAction (const QByteArray &) | |
void onDescription (QTreeWidgetItem *i) | |
Shows the description for the corresponding command. More... | |
void onGroupActivated (QTreeWidgetItem *i) | |
Shows all commands of this category. More... | |
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 | |
Protected Member Functions | |
void changeEvent (QEvent *e) | |
![]() | |
bool event (QEvent *e) | |
Detailed Description
Shows an overview of all available commands of all groups and modules.
You can customize your workbenches just by drag&dropping any commands onto the toolbars or commandbars. But you cannot modify any standard toolbars or commandbars such as "File, View, ...". It is only poosible to customize your own toolbars or commandbars.
Constructor & Destructor Documentation
◆ DlgCustomCommandsImp()
DlgCustomCommandsImp::DlgCustomCommandsImp | ( | QWidget * | parent = 0 | ) |
Constructs a DlgCustomCommandsImp 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.
References Gui::Application::commandManager(), Gui::CommandManager::getCommands(), Gui::Application::Instance, onDescription(), and onGroupActivated().
◆ ~DlgCustomCommandsImp()
DlgCustomCommandsImp::~DlgCustomCommandsImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
◆ onAddMacroAction
|
protectedslot |
◆ onDescription
|
protectedslot |
Shows the description for the corresponding command.
Referenced by DlgCustomCommandsImp(), and onModifyMacroAction().
◆ onGroupActivated
|
protectedslot |
Shows all commands of this category.
References Gui::BitmapFactory(), Gui::Application::commandManager(), Gui::CommandManager::getGroupCommands(), and Gui::Application::Instance.
Referenced by changeEvent(), and DlgCustomCommandsImp().
◆ onModifyMacroAction
|
protectedslot |
◆ onRemoveMacroAction
|
protectedslot |
The documentation for this class was generated from the following files:
- src/Gui/DlgCommandsImp.h
- src/Gui/DlgCommandsImp.cpp