Gui::Dialog::DlgCustomizeImp Class Reference

Dialog which contains several tab pages to customize the changeable toolbars and commandbars or to define own macro actions. More...

#include <DlgCustomizeImp.h>

List of all members.

Signals

void addMacroAction (const QByteArray &)
void modifyMacroAction (const QByteArray &)
void removeMacroAction (const QByteArray &)

Public Member Functions

void addPage (QWidget *w)
 Inserts a new tab page with its caption.
 DlgCustomizeImp (QWidget *parent=0, Qt::WFlags fl=0)
 Constructs a DlgCustomizeImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
 ~DlgCustomizeImp ()
 Destroys the object and frees any allocated resources.

Static Public Member Functions

static void addPage (const char *className)
 Adds a customize page with its class name className.

Protected Member Functions

void changeEvent (QEvent *e)

Detailed Description

Dialog which contains several tab pages to customize the changeable toolbars and commandbars or to define own macro actions.

You can extend the existing toolbars or commandbars with several commands just by drag and drop.

See also:
DlgCustomCommandsImp
DlgCustomToolbarsImp
DlgCustomCmdbarsImp
DlgCustomActionsImp
Author:
Werner Mayer

Definition at line 49 of file DlgCustomizeImp.h.


Constructor & Destructor Documentation

DlgCustomizeImp::DlgCustomizeImp ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructs a DlgCustomizeImp 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 43 of file DlgCustomizeImp.cpp.

References addPage(), draftlibs::fcgeo::connect(), Gui::getMainWindow(), Gui::GetWidgetFactorySupplier(), and Gui::WidgetFactory().

DlgCustomizeImp::~DlgCustomizeImp (  ) 

Destroys the object and frees any allocated resources.

Definition at line 98 of file DlgCustomizeImp.cpp.


Member Function Documentation

void Gui::Dialog::DlgCustomizeImp::addMacroAction ( const QByteArray &   )  [signal]
void DlgCustomizeImp::addPage ( QWidget *  w  ) 

Inserts a new tab page with its caption.

Definition at line 115 of file DlgCustomizeImp.cpp.

void DlgCustomizeImp::addPage ( const char *  className  )  [static]

Adds a customize page with its class name className.

To create this page it must be registered in the WidgetFactory.

See also:
WidgetFactory
CustomPageProducer

Definition at line 109 of file DlgCustomizeImp.cpp.

Referenced by Gui::CustomPageProducer< CLASS >::CustomPageProducer(), and DlgCustomizeImp().

void DlgCustomizeImp::changeEvent ( QEvent *  e  )  [protected]
void Gui::Dialog::DlgCustomizeImp::modifyMacroAction ( const QByteArray &   )  [signal]
void Gui::Dialog::DlgCustomizeImp::removeMacroAction ( const QByteArray &   )  [signal]

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