Gui::Dialog::DlgCustomCommandsImp Class Reference

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)
 

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.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ DlgCustomCommandsImp()

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::~DlgCustomCommandsImp ( )

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ changeEvent()

◆ onAddMacroAction

◆ onDescription

void DlgCustomCommandsImp::onDescription ( QTreeWidgetItem i)
protectedslot

Shows the description for the corresponding command.

Referenced by DlgCustomCommandsImp(), and onModifyMacroAction().

◆ onGroupActivated

void DlgCustomCommandsImp::onGroupActivated ( QTreeWidgetItem i)
protectedslot

◆ onModifyMacroAction

◆ onRemoveMacroAction

void DlgCustomCommandsImp::onRemoveMacroAction ( const QByteArray &  macro)
protectedslot

The documentation for this class was generated from the following files: