You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
431 B
29 lines
431 B
#pragma once
|
|
|
|
#include <QWidget>
|
|
#include <QLineEdit>
|
|
#include <QVBoxLayout>
|
|
#include <QStackedLayout>
|
|
#include <QLabel>
|
|
|
|
#include "keyboard.hpp"
|
|
|
|
class InputField : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit InputField(QWidget* parent = 0);
|
|
QLabel *label;
|
|
|
|
private:
|
|
QLineEdit *line;
|
|
Keyboard *k;
|
|
QVBoxLayout *l;
|
|
|
|
public slots:
|
|
void emitEmpty();
|
|
void getText(QString s);
|
|
|
|
signals:
|
|
void emitText(QString s);
|
|
};
|
|
|