34 lines
574 B
C++
34 lines
574 B
C++
#ifndef DIGITALINPUT_H
|
|
#define DIGITALINPUT_H
|
|
|
|
#include <QWidget>
|
|
class MyInputMethod;
|
|
namespace Ui {
|
|
class DigitalInput;
|
|
}
|
|
|
|
class DigitalInput : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DigitalInput(MyInputMethod *myInputMethod,QWidget *parent = 0);
|
|
~DigitalInput();
|
|
|
|
|
|
private slots:
|
|
void onCharPressed();
|
|
void onKeyBackspacePressed();
|
|
void onKeySelectAllPressed();
|
|
void onKeyUpPressed();
|
|
void onKeyDownPressed();
|
|
|
|
|
|
private:
|
|
Ui::DigitalInput *ui;
|
|
|
|
MyInputMethod *myInputMethod;
|
|
};
|
|
|
|
#endif // DIGITALINPUT_H
|