Gui::Dialog::DlgCustomToolbars Class Reference

This class implements the creation of user defined toolbars. More...

#include <DlgToolbarsImp.h>

Inheritance diagram for Gui::Dialog::DlgCustomToolbars:
Gui::Dialog::CustomizeActionPage Gui::Dialog::Ui_DlgCustomToolbars Gui::Dialog::DlgCustomToolbarsImp Gui::Dialog::DlgCustomToolBoxbarsImp

List of all members.

Protected Types

enum  Type { Toolbar, Toolboxbar }

Protected Slots

void on_categoryBox_activated (int index)
void on_deleteButton_clicked ()
void on_moveActionDownButton_clicked ()
 Moves down an action.
void on_moveActionLeftButton_clicked ()
 Removes an action.
void on_moveActionRightButton_clicked ()
 Adds a new action.
void on_moveActionUpButton_clicked ()
 Noves up an action.
void on_newButton_clicked ()
void on_renameButton_clicked ()
void on_workbenchBox_activated (int index)
void onAddMacroAction (const QByteArray &)
void onModifyMacroAction (const QByteArray &)
void onRemoveMacroAction (const QByteArray &)

Protected Member Functions

virtual void addCustomCommand (const QString &, const QByteArray &)
virtual void addCustomToolbar (const QString &)
void changeEvent (QEvent *e)
 DlgCustomToolbars (Type, QWidget *parent=0)
 Constructs a DlgCustomToolbars which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
void hideEvent (QHideEvent *event)
virtual void moveDownCustomCommand (const QString &, const QByteArray &)
virtual void moveUpCustomCommand (const QString &, const QByteArray &)
virtual void removeCustomCommand (const QString &, const QByteArray &)
virtual void removeCustomToolbar (const QString &)
virtual void renameCustomToolbar (const QString &, const QString &)
virtual ~DlgCustomToolbars ()
 Destroys the object and frees any allocated resources.

Detailed Description

This class implements the creation of user defined toolbars.

In the left panel are shown all command groups with their command objects. If any changeable toolbar was created in the left panel are shown all commands of the currently edited toolbar, otherwise it is emtpy. All changes to a toolbar is done immediately.

Author:
Werner Mayer

Definition at line 41 of file DlgToolbarsImp.h.


Member Enumeration Documentation

Enumerator:
Toolbar 
Toolboxbar 

Definition at line 46 of file DlgToolbarsImp.h.


Constructor & Destructor Documentation

DlgCustomToolbars::DlgCustomToolbars ( DlgCustomToolbars::Type  t,
QWidget *  parent = 0 
) [protected]
DlgCustomToolbars::~DlgCustomToolbars (  )  [protected, virtual]

Destroys the object and frees any allocated resources.

Definition at line 135 of file DlgToolbarsImp.cpp.


Member Function Documentation

void DlgCustomToolbars::addCustomCommand ( const QString &  ,
const QByteArray &   
) [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 151 of file DlgToolbarsImp.cpp.

Referenced by on_moveActionRightButton_clicked().

void DlgCustomToolbars::addCustomToolbar ( const QString &   )  [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 139 of file DlgToolbarsImp.cpp.

Referenced by on_newButton_clicked().

void DlgCustomToolbars::changeEvent ( QEvent *  e  )  [protected, virtual]
void DlgCustomToolbars::hideEvent ( QHideEvent *  event  )  [protected]
void DlgCustomToolbars::moveDownCustomCommand ( const QString &  ,
const QByteArray &   
) [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 163 of file DlgToolbarsImp.cpp.

Referenced by on_moveActionDownButton_clicked().

void DlgCustomToolbars::moveUpCustomCommand ( const QString &  ,
const QByteArray &   
) [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 159 of file DlgToolbarsImp.cpp.

Referenced by on_moveActionUpButton_clicked().

void DlgCustomToolbars::on_categoryBox_activated ( int  index  )  [protected, slot]
void DlgCustomToolbars::on_deleteButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_moveActionDownButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_moveActionLeftButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_moveActionRightButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_moveActionUpButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_newButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_renameButton_clicked (  )  [protected, slot]
void DlgCustomToolbars::on_workbenchBox_activated ( int  index  )  [protected, slot]
void DlgCustomToolbars::onAddMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomToolbars::onModifyMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomToolbars::onRemoveMacroAction ( const QByteArray &  macro  )  [protected, virtual, slot]
void DlgCustomToolbars::removeCustomCommand ( const QString &  ,
const QByteArray &   
) [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 155 of file DlgToolbarsImp.cpp.

Referenced by on_moveActionLeftButton_clicked().

void DlgCustomToolbars::removeCustomToolbar ( const QString &   )  [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 143 of file DlgToolbarsImp.cpp.

Referenced by on_deleteButton_clicked().

void DlgCustomToolbars::renameCustomToolbar ( const QString &  ,
const QString &   
) [protected, virtual]

Reimplemented in Gui::Dialog::DlgCustomToolbarsImp.

Definition at line 147 of file DlgToolbarsImp.cpp.

Referenced by on_renameButton_clicked().


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