CMS 3D CMS Logo

IgQtRangeMControlUShort Class Reference

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

Inheritance diagram for IgQtRangeMControlUShort:

IgQtRangeMControlImp< unsigned short > IgQtRangeMControl IgQtRangeMValue< unsigned short > IgQtRangeControlCommon IgControlItem

List of all members.

Signals

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

Public Member Functions

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

Protected Member Functions

void emitSignals (void)


Detailed Description

Definition at line 17 of file IgQtRangeMControlUShort.h.


Constructor & Destructor Documentation

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

Definition at line 15 of file IgQtRangeMControlUShort.cc.

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

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

Definition at line 22 of file IgQtRangeMControlUShort.cc.

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

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

Definition at line 29 of file IgQtRangeMControlUShort.cc.

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


Member Function Documentation

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

Reimplemented from IgQtRangeControlCommon.

Definition at line 36 of file IgQtRangeMControlUShort.cc.

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

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

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

Referenced by emitSignals().

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

Reimplemented from IgQtRangeMControlImp< unsigned short >.

Definition at line 38 of file IgQtRangeMControlUShort.h.

00039     { return val.toUShort(); }

void IgQtRangeMControlUShort::valueChanged ( std::vector< unsigned 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