Relacs Core Library  0.9.8
Public Slots | Signals | Public Member Functions | List of all members
MacroEditor Class Reference

#include <macroeditor.h>

Inheritance diagram for MacroEditor:
Inheritance graph
[legend]
Collaboration diagram for MacroEditor:
Collaboration graph
[legend]

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)
 

Detailed Description

Configuration dialog for Macros

Constructor & Destructor Documentation

MacroEditor ( Macros macros,
QWidget *  parent = nullptr 
)
~MacroEditor ( )
virtual

Member Function Documentation

void load ( )

Loads the macro files into the gui Must be called after setRepros and setFilterDetectors

Referenced by RELACSWidget::editMacros().

void setRepros ( RePros repros)
void setFilterDetectors ( FilterDetectors filters)
const std::vector<std::string>& repros ( ) const
inline
const std::vector< MacroGUI::MacroCommandParameter::MetaData > & reproParameter ( const std::string &  key) const
const std::vector<std::string>& filters ( ) const
inline
const std::vector<std::string>& detectors ( ) const
inline
const std::vector<std::string>& macros ( ) const
inline
void dialogClosed ( int  code)
slot
void clickedUp ( )
slot
void clickedDown ( )
slot
void macroDefinitionsChanged ( )
signal
void macroChanged ( const std::string &  added,
const std::string &  removed 
)
signal
int addDetailView ( QWidget *  view,
QTreeWidgetItem *  treeItem 
)

The documentation for this class was generated from the following files: