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

#include <macroeditor.h>

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

Signals

void macroParameterChanged (const std::string &oldName, const std::string &newName)
 

Public Member Functions

void setName (const std::string &name)
 
void setValue (const std::string &value)
 
void setUnit (const std::string &unit)
 
void createGUI (MacroInfo *) override
 
const std::string & name () const
 
const std::string & value () const
 
const std::string & unit () const
 
void setFocus ()
 
QTreeWidgetItem * listItem () const
 
- Public Member Functions inherited from DetailElement< MacroInfo >
QWidget * detailView () const
 
- Public Member Functions inherited from GUIElement< MacroInfo >
virtual ~GUIElement ()
 
MacroInfoowner () const
 

Additional Inherited Members

- Protected Attributes inherited from DetailElement< MacroInfo >
QWidget * DetailView
 
- Protected Attributes inherited from GUIElement< MacroInfo >
bool GuiCreated
 
MacroInfoOwner
 

Detailed Description

Represents a parameter for a Macro A Parameter has a defined name, value and an optional unit

Holds relations to Repro/Macro Commands due to referencial parameters

Member Function Documentation

void setName ( const std::string &  name)
void setValue ( const std::string &  value)
void setUnit ( const std::string &  unit)
void macroParameterChanged ( const std::string &  oldName,
const std::string &  newName 
)
signal

Referenced by MacroParameter::setName().

void createGUI ( MacroInfo )
overridevirtual
const std::string& name ( void  ) const
inline
const std::string& value ( void  ) const
inline
const std::string& unit ( void  ) const
inline
void setFocus ( )
QTreeWidgetItem* listItem ( ) const
inline

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