SeExprEdControl Class Reference

Base class for all controls for SeExpressions. More...

#include <SeExprEdControl.h>

Inheritance diagram for SeExprEdControl:
SeExprEdAnimCurveControl SeExprEdCCurveControl SeExprEdCurveControl SeExprEdNumberControl SeExprEdStringControl SeExprEdVectorControl

List of all members.

Public Slots

void linkStateChange (int state)

Signals

void controlChanged (int id)
void linkColorEdited (int id, QColor color)
void linkColorLink (int id)

Public Member Functions

 SeExprEdControl (int id, SeExprEdEditable *editable, bool showColorLink)
virtual ~SeExprEdControl ()
virtual QColor getColor ()
 Interface for getting the color (used for linked color picking).
virtual void setColor (QColor color)
 Interface for setting the color (used for linked color picking).
void linkDisconnect (int newId)

Protected Attributes

int _id
bool _updating
QHBoxLayout * hbox
QCheckBox * _colorLinkCB
QLabel * _label
SeExprEdEditable_editable

Detailed Description

Base class for all controls for SeExpressions.

Definition at line 43 of file SeExprEdControl.h.


Constructor & Destructor Documentation

SeExprEdControl::SeExprEdControl ( int  id,
SeExprEdEditable editable,
bool  showColorLink 
)

Definition at line 259 of file SeExprEdControl.cpp.

References _colorLinkCB, _label, hbox, linkStateChange(), and SeExprEdEditable::name.

virtual SeExprEdControl::~SeExprEdControl (  )  [inline, virtual]

Definition at line 58 of file SeExprEdControl.h.


Member Function Documentation

void SeExprEdControl::controlChanged ( int  id  )  [signal]
virtual QColor SeExprEdControl::getColor (  )  [inline, virtual]

Interface for getting the color (used for linked color picking).

Reimplemented in SeExprEdVectorControl, and SeExprEdCCurveControl.

Definition at line 61 of file SeExprEdControl.h.

Referenced by linkStateChange().

void SeExprEdControl::linkColorEdited ( int  id,
QColor  color 
) [signal]
void SeExprEdControl::linkColorLink ( int  id  )  [signal]

Referenced by linkStateChange().

void SeExprEdControl::linkDisconnect ( int  newId  ) 

Definition at line 301 of file SeExprEdControl.cpp.

References _colorLinkCB, _id, and _updating.

void SeExprEdControl::linkStateChange ( int  state  )  [slot]

Definition at line 289 of file SeExprEdControl.cpp.

References _id, _updating, getColor(), linkColorEdited(), and linkColorLink().

Referenced by SeExprEdControl().

virtual void SeExprEdControl::setColor ( QColor  color  )  [inline, virtual]

Interface for setting the color (used for linked color picking).

Reimplemented in SeExprEdVectorControl, and SeExprEdCCurveControl.

Definition at line 63 of file SeExprEdControl.h.


Member Data Documentation

QCheckBox* SeExprEdControl::_colorLinkCB [protected]

Definition at line 51 of file SeExprEdControl.h.

Referenced by linkDisconnect(), and SeExprEdControl().

Reimplemented in SeExprEdAnimCurveControl.

Definition at line 54 of file SeExprEdControl.h.

int SeExprEdControl::_id [protected]
QLabel* SeExprEdControl::_label [protected]

Definition at line 52 of file SeExprEdControl.h.

Referenced by SeExprEdControl(), and SeExprEdVectorControl::updateControl().

bool SeExprEdControl::_updating [protected]
QHBoxLayout* SeExprEdControl::hbox [protected]

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

Generated on 25 Jul 2013 for SeExpr by  doxygen 1.6.1