keyboardwidget.h 805 Bytes
 #ifndef KEYBOARDWIDGET_H
#define KEYBOARDWIDGET_H

#include <QWidget>
#include <QSignalMapper>
#include <QChar>

namespace Ui {
class KeyboardWidget;
}

class KeyboardWidget : public QWidget
{
    Q_OBJECT

public:
    explicit KeyboardWidget(QWidget *parent = 0);
    ~KeyboardWidget();

private slots:
    void on_pushButton_41_clicked();

    void on_pushButton_42_clicked();

    void on_pushButton_39_clicked();

    void on_pushButton_40_clicked();

signals:
    void onKeyboardClickSignal(const QString in);
    void onBackspaceKeyClicked();
    void onOkKeyClicked();
    void onCancelKeyClicked();
    void onSpaceKeyClicked();

public slots:
    void onKeyboardClicked(const QString in);

private:
    Ui::KeyboardWidget *ui;

    QSignalMapper *m_pSignalMapper;
};

#endif // KEYBOARDWIDGET_H