Subversion Repositories svn1

Rev

Rev 383 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
183 - 1
#ifndef TWINSPINBOX_H
2
#define TWINSPINBOX_H
3
 
4
#include <QWidget>
5
 
6
namespace Ui {
7
    class TwinSpinBox;
8
}
9
 
10
class TwinSpinBox : public QWidget
11
{
12
    Q_OBJECT
13
 
14
public:
15
    TwinSpinBox(QWidget *parent = 0);
16
    ~TwinSpinBox();
17
    void setLimits( int lower, int upper);
18
    void setData( int lower, int upper);
19
    void getData(short int *lptr, short int *uptr);
20
 
21
private:
22
    Ui::TwinSpinBox *ui;
23
    bool populating;
24
 
25
private slots:
26
    void adjustL(void);
27
    void adjustU(void);
28
 
29
signals:
30
    void changed(void);
31
 
32
};
33
 
34
#endif // TWINSPINBOX_H