Dialog which contains several tab pages to customize the changeable toolbars and commandbars or to define own macro actions. More...
#include <DlgCustomizeImp.h>
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) |
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.
Definition at line 49 of file DlgCustomizeImp.h.
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.
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.
Definition at line 109 of file DlgCustomizeImp.cpp.
Referenced by Gui::CustomPageProducer< CLASS >::CustomPageProducer(), and DlgCustomizeImp().
void DlgCustomizeImp::changeEvent | ( | QEvent * | e | ) | [protected] |
Definition at line 120 of file DlgCustomizeImp.cpp.
References RobotExampleTrajectoryOutOfShapes::count, and RobotExample::w.
void Gui::Dialog::DlgCustomizeImp::modifyMacroAction | ( | const QByteArray & | ) | [signal] |
void Gui::Dialog::DlgCustomizeImp::removeMacroAction | ( | const QByteArray & | ) | [signal] |