The DlgMacroRecordImp class implements a dialog to record a macro. More...
#include <DlgMacroRecordImp.h>
Public Member Functions | |
DlgMacroRecordImp (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructs a DlgMacroRecordImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
virtual | ~DlgMacroRecordImp () |
Destroys the object and frees any allocated resources. | |
Protected Slots | |
void | on_buttonCancel_clicked () |
Abort the macro. | |
void | on_buttonStart_clicked () |
Starts the record of the macro. | |
void | on_buttonStop_clicked () |
Stops the record of the macro and save to the file. | |
void | on_lineEditMacroPath_textChanged (const QString &) |
void | on_pushButtonChooseDir_clicked () |
Protected Attributes | |
MacroManager * | macroManager |
conviniance pointer | |
QString | macroPath |
The DlgMacroRecordImp class implements a dialog to record a macro.
Definition at line 39 of file DlgMacroRecordImp.h.
DlgMacroRecordImp::DlgMacroRecordImp | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
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.
Definition at line 48 of file DlgMacroRecordImp.cpp.
References Gui::Dialog::Ui_DlgMacroRecord::buttonStart, Gui::Dialog::Ui_DlgMacroRecord::buttonStop, App::Application::getUserAppDataDir(), Gui::WindowParameter::getWindowParameter(), Gui::Application::Instance, Gui::MacroManager::isOpen(), Gui::Dialog::Ui_DlgMacroRecord::lineEditMacroPath, Gui::Application::macroManager(), macroManager, macroPath, and Gui::Dialog::Ui_DlgMacroRecord::setupUi().
DlgMacroRecordImp::~DlgMacroRecordImp | ( | ) | [virtual] |
Destroys the object and frees any allocated resources.
Definition at line 73 of file DlgMacroRecordImp.cpp.
void DlgMacroRecordImp::on_buttonCancel_clicked | ( | ) | [protected, slot] |
Abort the macro.
Definition at line 120 of file DlgMacroRecordImp.cpp.
References Gui::MacroManager::cancel(), Gui::MacroManager::isOpen(), and macroManager.
void DlgMacroRecordImp::on_buttonStart_clicked | ( | ) | [protected, slot] |
Starts the record of the macro.
Definition at line 81 of file DlgMacroRecordImp.cpp.
References Gui::MacroManager::File, Gui::getMainWindow(), Gui::Dialog::Ui_DlgMacroRecord::lineEditPath, macroManager, macroPath, and Gui::MacroManager::open().
void DlgMacroRecordImp::on_buttonStop_clicked | ( | ) | [protected, slot] |
Stops the record of the macro and save to the file.
Definition at line 132 of file DlgMacroRecordImp.cpp.
References Gui::MacroManager::commit(), Gui::MacroManager::isOpen(), and macroManager.
void DlgMacroRecordImp::on_lineEditMacroPath_textChanged | ( | const QString & | newDir | ) | [protected, slot] |
Definition at line 152 of file DlgMacroRecordImp.cpp.
References macroPath.
void DlgMacroRecordImp::on_pushButtonChooseDir_clicked | ( | ) | [protected, slot] |
Definition at line 142 of file DlgMacroRecordImp.cpp.
References Gui::WindowParameter::getWindowParameter(), Gui::Dialog::Ui_DlgMacroRecord::lineEditMacroPath, macroPath, and zipios::separator.
MacroManager* Gui::Dialog::DlgMacroRecordImp::macroManager [protected] |
conviniance pointer
Definition at line 56 of file DlgMacroRecordImp.h.
Referenced by DlgMacroRecordImp(), on_buttonCancel_clicked(), on_buttonStart_clicked(), and on_buttonStop_clicked().
QString Gui::Dialog::DlgMacroRecordImp::macroPath [protected] |
Definition at line 57 of file DlgMacroRecordImp.h.
Referenced by DlgMacroRecordImp(), on_buttonStart_clicked(), on_lineEditMacroPath_textChanged(), and on_pushButtonChooseDir_clicked().