The DlgMacroRecordImp class implements a dialog to record a macro. More...
#include <DlgMacroRecordImp.h>
Public Member Functions | |
DlgMacroRecordImp (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
Constructs a DlgMacroRecordImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
virtual | ~DlgMacroRecordImp () |
Destroys the object and frees any allocated resources. More... | |
Public Member Functions inherited from Gui::WindowParameter | |
ParameterGrp::handle | getWindowParameter (void) |
return the parameter group of this window More... | |
void | OnChange (Base::Subject< const char * > &rCaller, const char *sReason) |
bool | setGroupName (const char *name) |
Sets the group of the window to name. More... | |
WindowParameter (const char *name) | |
virtual | ~WindowParameter () |
Protected Slots | |
void | on_buttonCancel_clicked () |
Abort the macro. More... | |
void | on_buttonStart_clicked () |
Starts the record of the macro. More... | |
void | on_buttonStop_clicked () |
Stops the record of the macro and save to the file. More... | |
void | on_lineEditMacroPath_textChanged (const QString &) |
void | on_pushButtonChooseDir_clicked () |
Additional Inherited Members | |
Static Public Member Functions inherited from Gui::WindowParameter | |
static ParameterGrp::handle | getDefaultParameter (void) |
get the parameters More... | |
The DlgMacroRecordImp class implements a dialog to record a macro.
DlgMacroRecordImp::DlgMacroRecordImp | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
Constructs a DlgMacroRecordImp 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.
References App::Application::getUserMacroDir(), Gui::WindowParameter::getWindowParameter(), Gui::Application::Instance, Gui::MacroManager::isOpen(), and Gui::Application::macroManager().
|
virtual |
Destroys the object and frees any allocated resources.
|
protectedslot |
Abort the macro.
References Gui::MacroManager::cancel(), and Gui::MacroManager::isOpen().
|
protectedslot |
Starts the record of the macro.
References Gui::MacroManager::File, Gui::getMainWindow(), and Gui::MacroManager::open().
|
protectedslot |
Stops the record of the macro and save to the file.
References Gui::MacroManager::commit(), and Gui::MacroManager::isOpen().
|
protectedslot |
|
protectedslot |
References Gui::WindowParameter::getWindowParameter(), and ParameterGrp::SetASCII().