CMS 3D CMS Logo

IgQtRangeMControlShort Class Reference

#include <Iguana/GLBrowsers/interface/IgQtRangeMControlShort.h>

Inheritance diagram for IgQtRangeMControlShort:

IgQtRangeMControlImp< short > IgQtRangeMControl IgQtRangeMValue< short > IgQtRangeControlCommon IgControlItem

List of all members.

Signals

void newValue (std::vector< short > newval)
void valueChanged (std::vector< short > delta)

Public Member Functions

 IgQtRangeMControlShort (QWidget *parent, int parts, const rangeMValues &values, const char *name=0)
 IgQtRangeMControlShort (QWidget *parent, int parts, unsigned int size, const short *values, const char *name=0)
 IgQtRangeMControlShort (QWidget *parent, int parts, short value=0, const char *name=0)
short stringToNumber (const QString &val) const

Protected Member Functions

void emitSignals (void)


Detailed Description

Definition at line 17 of file IgQtRangeMControlShort.h.


Constructor & Destructor Documentation

IgQtRangeMControlShort::IgQtRangeMControlShort ( QWidget *  parent,
int  parts,
short  value = 0,
const char *  name = 0 
)

Definition at line 15 of file IgQtRangeMControlShort.cc.

00019     : inherited  (parent, parts, value, name)
00020 { }

IgQtRangeMControlShort::IgQtRangeMControlShort ( QWidget *  parent,
int  parts,
unsigned int  size,
const short *  values,
const char *  name = 0 
)

Definition at line 22 of file IgQtRangeMControlShort.cc.

00026     : inherited  (parent, parts, size, values, name)
00027 { }

IgQtRangeMControlShort::IgQtRangeMControlShort ( QWidget *  parent,
int  parts,
const rangeMValues values,
const char *  name = 0 
)

Definition at line 29 of file IgQtRangeMControlShort.cc.

00032     : inherited  (parent, parts, values, name)
00033 { }


Member Function Documentation

void IgQtRangeMControlShort::emitSignals ( void   )  [protected, virtual]

Reimplemented from IgQtRangeControlCommon.

Definition at line 36 of file IgQtRangeMControlShort.cc.

References newValue(), IgQtRangeMValue< short >::value(), IgQtRangeMValue< short >::valueChange(), and valueChanged().

00037 {
00038     emit newValue (value ());
00039     emit valueChanged (valueChange ());
00040 }

void IgQtRangeMControlShort::newValue ( std::vector< short >  newval  )  [signal]

Referenced by emitSignals().

short IgQtRangeMControlShort::stringToNumber ( const QString &  val  )  const [inline, virtual]

Reimplemented from IgQtRangeMControlImp< short >.

Definition at line 38 of file IgQtRangeMControlShort.h.

00039     { return val.toShort(); }

void IgQtRangeMControlShort::valueChanged ( std::vector< short >  delta  )  [signal]

Referenced by emitSignals().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:31 2009 for CMSSW by  doxygen 1.5.4