DataSpinBox Class Reference

DataSpinBox is a spin box with memory which can be set to middle values. More...

#include <DataWidgets.h>

List of all members.

Public Slots

void setCompoundValue (int v)


void dvalueChanged (int v, int d)

Public Member Functions

 DataSpinBox (int d, QWidget *parent=NULL)
virtual ~DataSpinBox ()
int getData ()
void setData (int d)
void setEditEnabled (bool en)

Protected Member Functions

virtual QAbstractSpinBox::StepEnabled stepEnabled () const
virtual void stepBy (int steps)

Private Slots

void doDvalueChanged (int v)

Private Attributes

int m_data
int m_backval

Detailed Description

DataSpinBox is a spin box with memory which can be set to middle values.

This widget doubles as

sometimes only one feature is needed, sometimes both.

Constructor & Destructor Documentation

DataSpinBox::DataSpinBox ( int  d,
QWidget *  parent = NULL 

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

Member Function Documentation

int DataSpinBox::getData (  )  [inline]

void DataSpinBox::setData ( int  d  )  [inline]

void DataSpinBox::setEditEnabled ( bool  en  ) 

void DataSpinBox::setCompoundValue ( int  v  )  [slot]

void DataSpinBox::doDvalueChanged ( int  v  )  [private, slot]

void DataSpinBox::dvalueChanged ( int  v,
int  d 
) [signal]

QAbstractSpinBox::StepEnabled DataSpinBox::stepEnabled (  )  const [protected, virtual]

void DataSpinBox::stepBy ( int  steps  )  [protected, virtual]

Member Data Documentation

int DataSpinBox::m_data [private]

int DataSpinBox::m_backval [private]

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