Gui::Dialog::DlgCustomCommandsImp Class Reference

Shows an overview of all available commands of all groups and modules. More...

#include <DlgCommandsImp.h>

Inheritance diagram for Gui::Dialog::DlgCustomCommandsImp:
Gui::Dialog::CustomizeActionPage Gui::Dialog::Ui_DlgCustomCommands

List of all members.

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'.
 ~DlgCustomCommandsImp ()
 Destroys the object and frees any allocated resources.

Protected Slots

void onAddMacroAction (const QByteArray &)
void onDescription (QTreeWidgetItem *i)
 Shows the description for the corresponding command.
void onGroupActivated (QTreeWidgetItem *i)
 Shows all commands of this category.
void onModifyMacroAction (const QByteArray &)
void onRemoveMacroAction (const QByteArray &)

Protected Member Functions

void changeEvent (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

Definition at line 41 of file DlgCommandsImp.h.


Constructor & Destructor Documentation

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.

Definition at line 63 of file DlgCommandsImp.cpp.

References Gui::Dialog::Ui_DlgCustomCommands::categoryTreeWidget, Gui::Application::commandManager(), Gui::Dialog::Ui_DlgCustomCommands::commandTreeWidget, draftlibs::fcgeo::connect(), Gui::CommandManager::getCommands(), group, Gui::Application::Instance, onDescription(), onGroupActivated(), and Gui::Dialog::Ui_DlgCustomCommands::setupUi().

DlgCustomCommandsImp::~DlgCustomCommandsImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 120 of file DlgCommandsImp.cpp.


Member Function Documentation

void DlgCustomCommandsImp::changeEvent ( QEvent *  e  )  [protected, virtual]
void DlgCustomCommandsImp::onAddMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomCommandsImp::onDescription ( QTreeWidgetItem *  i  )  [protected, slot]

Shows the description for the corresponding command.

Definition at line 125 of file DlgCommandsImp.cpp.

References Gui::Dialog::Ui_DlgCustomCommands::textLabel.

Referenced by DlgCustomCommandsImp(), and onModifyMacroAction().

void DlgCustomCommandsImp::onGroupActivated ( QTreeWidgetItem *  i  )  [protected, slot]
void DlgCustomCommandsImp::onModifyMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomCommandsImp::onRemoveMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]

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

Generated on Wed Nov 23 19:02:06 2011 for FreeCAD by  doxygen 1.6.1