OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dialoguespinbox.hpp
Go to the documentation of this file.
1 #ifndef CSV_WORLD_DIALOGUESPINBOX_H
2 #define CSV_WORLD_DIALOGUESPINBOX_H
3 
4 #include <QSpinBox>
5 #include <QDoubleSpinBox>
6 
7 namespace CSVWorld
8 {
9  class DialogueSpinBox : public QSpinBox
10  {
11  Q_OBJECT
12 
13  public:
14 
15  DialogueSpinBox (QWidget *parent = 0);
16 
17  protected:
18 
19  virtual void focusInEvent(QFocusEvent *event);
20  virtual void focusOutEvent(QFocusEvent *event);
21  virtual void wheelEvent(QWheelEvent *event);
22  };
23 
25  {
26  Q_OBJECT
27 
28  public:
29 
30  DialogueDoubleSpinBox (QWidget *parent = 0);
31 
32  protected:
33 
34  virtual void focusInEvent(QFocusEvent *event);
35  virtual void focusOutEvent(QFocusEvent *event);
36  virtual void wheelEvent(QWheelEvent *event);
37  };
38 }
39 
40 #endif // CSV_WORLD_DIALOGUESPINBOX_H
DialogueSpinBox(QWidget *parent=0)
Definition: dialoguespinbox.cpp:5
virtual void focusOutEvent(QFocusEvent *event)
Definition: dialoguespinbox.cpp:41
virtual void wheelEvent(QWheelEvent *event)
Definition: dialoguespinbox.cpp:22
Definition: dialoguespinbox.hpp:9
Definition: dialoguespinbox.hpp:24
virtual void focusInEvent(QFocusEvent *event)
Definition: dialoguespinbox.cpp:35
DialogueDoubleSpinBox(QWidget *parent=0)
Definition: dialoguespinbox.cpp:30
virtual void wheelEvent(QWheelEvent *event)
Definition: dialoguespinbox.cpp:47
virtual void focusOutEvent(QFocusEvent *event)
Definition: dialoguespinbox.cpp:16
virtual void focusInEvent(QFocusEvent *event)
Definition: dialoguespinbox.cpp:10