Relacs  0.9.8
Classes | Public Types | Public Slots | Public Member Functions | List of all members
MacroCommandParameter Class Reference

#include <macroeditor.h>

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

Classes

struct  MetaData
 

Public Types

enum  InputType { DIRECT, REFERENCE, SEQUENCE_SINGLE, SEQUENCE_LIST }
 
enum  SequenceMode {
  UP, DOWN, ALTERNATE_IN_UP, ALTERNATE_IN_DOWN,
  ALTERNATE_OUT_UP, ALTERNATE_OUT_DOWN, RANDOM, PSEUDO_RANDOM
}
 

Public Slots

void setMinimum (int min)
 
void setMaximum (int max)
 
void setStep (int step)
 
void setResolution (int resolution)
 

Public Member Functions

void setName (const std::string &name)
 
void setType (InputType type)
 
void setValue (const std::string &value)
 
void setUnit (const std::string &unit)
 
void setAvailableReferences (const std::vector< std::string > &refs)
 
void setReference (const std::string &ref)
 
void setList (const std::string &list)
 
void setMode (SequenceMode mode)
 
void createGUI (MacroCommandReproMacro *)
 
QTreeWidgetItem * listItem () const
 
void updatedReferences (const std::string &name, bool added)
 
const std::string & name () const
 
InputType type () const
 
const std::string & value () const
 
const std::string & unit () const
 
const std::string & reference () const
 
int min () const
 
int max () const
 
int step () const
 
int resolution () const
 
const std::string & list () const
 
SequenceMode mode () const
 
- Public Member Functions inherited from DetailElement< MacroCommandReproMacro >
QWidget * detailView () const
 
- Public Member Functions inherited from GUIElement< MacroCommandReproMacro >
virtual ~GUIElement ()
 
MacroCommandReproMacroowner () const
 

Additional Inherited Members

- Protected Attributes inherited from DetailElement< MacroCommandReproMacro >
QWidget * DetailView
 
- Protected Attributes inherited from GUIElement< MacroCommandReproMacro >
bool GuiCreated
 
MacroCommandReproMacroOwner
 

Detailed Description

Represents a parameter for the Macro or Repro command

May be one of the following types:

Member Enumeration Documentation

enum InputType
strong
Enumerator
DIRECT 
REFERENCE 
SEQUENCE_SINGLE 
SEQUENCE_LIST 
enum SequenceMode
strong
Enumerator
UP 
DOWN 
ALTERNATE_IN_UP 
ALTERNATE_IN_DOWN 
ALTERNATE_OUT_UP 
ALTERNATE_OUT_DOWN 
RANDOM 
PSEUDO_RANDOM 

Member Function Documentation

void setName ( const std::string &  name)
void setType ( InputType  type)
void setValue ( const std::string &  value)
void setUnit ( const std::string &  unit)
void setAvailableReferences ( const std::vector< std::string > &  refs)
void setReference ( const std::string &  ref)
void setMinimum ( int  min)
slot
void setMaximum ( int  max)
slot
void setStep ( int  step)
slot
void setResolution ( int  resolution)
slot
void setList ( const std::string &  list)
void setMode ( SequenceMode  mode)
void createGUI ( MacroCommandReproMacro )
virtual
QTreeWidgetItem* listItem ( ) const
inline
void updatedReferences ( const std::string &  name,
bool  added 
)
const std::string& name ( void  ) const
inline
InputType type ( void  ) const
inline
const std::string& value ( void  ) const
inline
const std::string& unit ( void  ) const
inline
const std::string& reference ( void  ) const
inline
int min ( void  ) const
inline
int max ( void  ) const
inline
int step ( ) const
inline
int resolution ( ) const
inline
const std::string& list ( ) const
inline
SequenceMode mode ( void  ) const
inline

Member Data Documentation

std::string Value
std::vector<std::string> AvailableReferences
std::string Reference
int Min = 0
int Max = 100
int Step = 1
int Resolution = 1
std::string List
QLineEdit* Value
QLineEdit* Unit
QComboBox* References
QSpinBox* Min
QSpinBox* Max
QSpinBox* Step
QSpinBox* Resolution
QComboBox* Mode
QLineEdit* List

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