Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/widget/hexspinbox.h

Go to the documentation of this file.
00001 #ifndef HEXSPINBOX_H
00002 #define HEXSPINBOX_H
00003 
00004 #include <qspinbox.h>
00005 #include <qvalidator.h>
00006 
00007 class HexSpinBox : public QSpinBox
00008 {
00009 public:
00010     HexSpinBox(QWidget *parent);
00011 
00012 protected:
00013     QString textFromValue(int value) const;
00014     int valueFromText(const QString& text) const;
00015     QValidator::State validate( QString & input, int & pos ) const;
00016 };
00017 
00018 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines