Shows an overview of all available commands of all groups and modules. More...
#include <DlgCommandsImp.h>
Public Member Functions | |
DlgCustomCommandsImp (QWidget *parent=nullptr) | |
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... | |
Public Member Functions inherited from Gui::Dialog::CustomizeActionPage | |
CustomizeActionPage (QWidget *parent=nullptr) | |
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 &) |
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 Member Functions | |
void | changeEvent (QEvent *e) |
Protected Member Functions inherited from Gui::Dialog::CustomizeActionPage | |
virtual void | changeEvent (QEvent *e)=0 |
bool | event (QEvent *e) |
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.
DlgCustomCommandsImp::DlgCustomCommandsImp | ( | QWidget * | parent = nullptr | ) |
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(), draftgeoutils.intersections::connect(), Gui::CommandManager::getCommands(), Gui::Application::Instance, onDescription(), and onGroupActivated().
DlgCustomCommandsImp::~DlgCustomCommandsImp | ( | ) |
Destroys the object and frees any allocated resources.
|
protectedvirtual |
|
protectedslot |
|
protectedslot |
Shows the description for the corresponding command.
Referenced by DlgCustomCommandsImp(), and onModifyMacroAction().
|
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().
|
protectedslot |
|
protectedslot |