Relacs Core Library
0.9.8
|
#include <macroeditor.h>
Public Slots | |
void | dialogClosed (int code) |
void | clickedUp () |
void | clickedDown () |
Signals | |
void | macroDefinitionsChanged () |
void | macroChanged (const std::string &added, const std::string &removed) |
Public Member Functions | |
MacroEditor (Macros *macros, QWidget *parent=nullptr) | |
virtual | ~MacroEditor () |
void | load () |
void | setRepros (RePros *repros) |
void | setFilterDetectors (FilterDetectors *filters) |
const std::vector< std::string > & | repros () const |
const std::vector < MacroGUI::MacroCommandParameter::MetaData > & | reproParameter (const std::string &key) const |
const std::vector< std::string > & | filters () const |
const std::vector< std::string > & | detectors () const |
const std::vector< std::string > & | macros () const |
int | addDetailView (QWidget *view, QTreeWidgetItem *treeItem) |
Configuration dialog for Macros
MacroEditor | ( | Macros * | macros, |
QWidget * | parent = nullptr |
||
) |
References MacroEditor::clickedDown(), and MacroEditor::clickedUp().
|
virtual |
void load | ( | ) |
Loads the macro files into the gui Must be called after setRepros and setFilterDetectors
Referenced by RELACSWidget::editMacros().
void setRepros | ( | RePros * | repros | ) |
References Parameter::defaultText(), Parameter::name(), Parameter::outUnit(), and RePros::repros().
Referenced by RELACSWidget::editMacros().
void setFilterDetectors | ( | FilterDetectors * | filters | ) |
References FilterDetectors::filterList().
Referenced by RELACSWidget::editMacros().
|
inline |
Referenced by MacroCommandInfo::createGUI().
const std::vector< MacroGUI::MacroCommandParameter::MetaData > & reproParameter | ( | const std::string & | key | ) | const |
|
inline |
Referenced by MacroCommandInfo::createGUI().
|
inline |
Referenced by MacroCommandInfo::createGUI().
|
inline |
Referenced by MacroCommandInfo::createGUI().
|
slot |
References MacroEditor::macroDefinitionsChanged().
|
slot |
Referenced by MacroEditor::MacroEditor().
|
slot |
Referenced by MacroEditor::MacroEditor().
|
signal |
Referenced by MacroEditor::dialogClosed().
|
signal |
int addDetailView | ( | QWidget * | view, |
QTreeWidgetItem * | treeItem | ||
) |
Referenced by MacroCommandInfo::createGUI(), and MacroInfo::createGUI().