mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 06:49:55 +00:00
41 lines
881 B
C++
41 lines
881 B
C++
|
#ifndef CSV_WORLD_DIALOGUESPINBOX_H
|
||
|
#define CSV_WORLD_DIALOGUESPINBOX_H
|
||
|
|
||
|
#include <QSpinBox>
|
||
|
#include <QDoubleSpinBox>
|
||
|
|
||
|
namespace CSVWorld
|
||
|
{
|
||
|
class DialogueSpinBox : public QSpinBox
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
DialogueSpinBox (QWidget *parent = 0);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
virtual void focusInEvent(QFocusEvent *event);
|
||
|
virtual void focusOutEvent(QFocusEvent *event);
|
||
|
virtual void wheelEvent(QWheelEvent *event);
|
||
|
};
|
||
|
|
||
|
class DialogueDoubleSpinBox : public QDoubleSpinBox
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
DialogueDoubleSpinBox (QWidget *parent = 0);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
virtual void focusInEvent(QFocusEvent *event);
|
||
|
virtual void focusOutEvent(QFocusEvent *event);
|
||
|
virtual void wheelEvent(QWheelEvent *event);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // CSV_WORLD_DIALOGUESPINBOX_H
|