00001 #ifndef SXUITIMESPINBOX_H_INCLUDED 00002 #define SXUITIMESPINBOX_H_INCLUDED 00003 00004 #include <QDoubleSpinBox> 00005 #include "sxGlobal.h" 00006 00010 class SX_GUISDKEXPORT sxUiTimeSpinBox : public QDoubleSpinBox 00011 { 00012 Q_OBJECT 00013 00014 public: 00015 sxUiTimeSpinBox(QWidget * parent = 0); 00016 00017 double valueFromText(const QString &text) const; 00018 QString textFromValue(double value) const; 00019 QValidator::State validate ( QString & input, int & pos ) const; 00020 }; 00021 00022 #endif // SXUITIMESPINBOX_H_INCLUDED