SpectraPac trunk(r151M)
Evaluates PAC Measurements
Public Slots | Public Member Functions

QScienceSpinBox Class Reference

Enhanced QDoubleSpinbox featuring exponential representation. More...

#include <QScienceSpinBox.h>

List of all members.

Public Slots

void stepDown ()
void stepUp ()

Public Member Functions

 QScienceSpinBox (QWidget *parent=0)
int decimals () const
void setDecimals (int value)
QString textFromValue (double value) const
double valueFromText (const QString &text) const

Detailed Description

Enhanced QDoubleSpinbox featuring exponential representation.

Author:
Matthias Pospiech (http://www.matthiaspospiech.de/blog/2009/01/03/qt-spinbox-widget-with-scientific-notation/)
modified by Matthias Nagl <mnagl@uni-goettingen.de>

Constructor & Destructor Documentation

QScienceSpinBox::QScienceSpinBox ( QWidget *  parent = 0)

Member Function Documentation

int QScienceSpinBox::decimals ( ) const
void QScienceSpinBox::setDecimals ( int  value)
void QScienceSpinBox::stepDown ( ) [slot]
void QScienceSpinBox::stepUp ( ) [slot]
QString QScienceSpinBox::textFromValue ( double  value) const

text to be displayed in spinbox

double QScienceSpinBox::valueFromText ( const QString &  text) const

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines