Gui::Dialog::DlgCustomKeyboardImp Class Reference

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

#include <DlgKeyboardImp.h>

Inheritance diagram for Gui::Dialog::DlgCustomKeyboardImp:
Gui::Dialog::CustomizeActionPage Gui::Dialog::Ui_DlgCustomKeyboard

List of all members.

Public Member Functions

 DlgCustomKeyboardImp (QWidget *parent=0)
 Constructs a DlgCustomKeyboardImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
 ~DlgCustomKeyboardImp ()
 Destroys the object and frees any allocated resources.

Protected Slots

void on_buttonAssign_clicked ()
 Assigns a new accelerator to the selected command.
void on_buttonReset_clicked ()
 Resets the accelerator of the selected command to the default.
void on_buttonResetAll_clicked ()
 Resets the accelerator of all commands to the default.
void on_categoryBox_activated (int index)
 Shows all commands of this category.
void on_commandTreeWidget_currentItemChanged (QTreeWidgetItem *)
 Shows the description for the corresponding command.
void on_editShortcut_textChanged (const QString &)
 Checks for an already occupied shortcut.
void onAddMacroAction (const QByteArray &)
void onModifyMacroAction (const QByteArray &)
void onRemoveMacroAction (const QByteArray &)

Protected Member Functions

void changeEvent (QEvent *e)
void showEvent (QShowEvent *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 40 of file DlgKeyboardImp.h.


Constructor & Destructor Documentation

DlgCustomKeyboardImp::DlgCustomKeyboardImp ( QWidget *  parent = 0  ) 

Constructs a DlgCustomKeyboardImp 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 65 of file DlgKeyboardImp.cpp.

References Gui::Dialog::Ui_DlgCustomKeyboard::assignedTreeWidget, Gui::Dialog::Ui_DlgCustomKeyboard::categoryBox, Gui::Application::commandManager(), Gui::Dialog::Ui_DlgCustomKeyboard::commandTreeWidget, Gui::CommandManager::getCommands(), group, Gui::Application::Instance, and Gui::Dialog::Ui_DlgCustomKeyboard::setupUi().

DlgCustomKeyboardImp::~DlgCustomKeyboardImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 109 of file DlgKeyboardImp.cpp.


Member Function Documentation

void DlgCustomKeyboardImp::changeEvent ( QEvent *  e  )  [protected, virtual]
void DlgCustomKeyboardImp::on_buttonAssign_clicked (  )  [protected, slot]
void DlgCustomKeyboardImp::on_buttonReset_clicked (  )  [protected, slot]
void DlgCustomKeyboardImp::on_buttonResetAll_clicked (  )  [protected, slot]
void DlgCustomKeyboardImp::on_categoryBox_activated ( int  index  )  [protected, slot]
void DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged ( QTreeWidgetItem *  item  )  [protected, slot]
void DlgCustomKeyboardImp::on_editShortcut_textChanged ( const QString &  sc  )  [protected, slot]
void DlgCustomKeyboardImp::onAddMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomKeyboardImp::onModifyMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomKeyboardImp::onRemoveMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomKeyboardImp::showEvent ( QShowEvent *  e  )  [protected]

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