CMS 3D CMS Logo

IgQtRangeMControlLong Class Reference

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

Inheritance diagram for IgQtRangeMControlLong:

IgQtRangeMControlImp< long > IgQtRangeMControl IgQtRangeMValue< long > IgQtRangeControlCommon IgControlItem

List of all members.

Signals

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

Public Member Functions

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

Protected Member Functions

void emitSignals (void)


Detailed Description

Definition at line 17 of file IgQtRangeMControlLong.h.


Constructor & Destructor Documentation

IgQtRangeMControlLong::IgQtRangeMControlLong ( QWidget *  parent,
int  parts,
long  value = 0,
const char *  name = 0 
)

Definition at line 15 of file IgQtRangeMControlLong.cc.

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

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

Definition at line 22 of file IgQtRangeMControlLong.cc.

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

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

Definition at line 29 of file IgQtRangeMControlLong.cc.

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


Member Function Documentation

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

Reimplemented from IgQtRangeControlCommon.

Definition at line 36 of file IgQtRangeMControlLong.cc.

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

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

void IgQtRangeMControlLong::newValue ( std::vector< long >  newval  )  [signal]

Referenced by emitSignals().

long IgQtRangeMControlLong::stringToNumber ( const QString &  val  )  const [inline, virtual]

Reimplemented from IgQtRangeMControlImp< long >.

Definition at line 38 of file IgQtRangeMControlLong.h.

00039     { return val.toLong(); }

void IgQtRangeMControlLong::valueChanged ( std::vector< long >  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