mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-12 03:03:41 +08:00
fa147c5d6e
* add wifi to setup * wifi looks better * move widgets * this looks ok * small fixups * fix relase tests old-commit-hash: 6a2678aae7fa353617ec111bd46181cdc422e15b
32 lines
515 B
C++
32 lines
515 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <QString>
|
|
#include <QWidget>
|
|
#include <QStackedLayout>
|
|
#include <QAbstractButton>
|
|
|
|
class KeyboardLayout : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit KeyboardLayout(QWidget *parent, std::vector<QVector<QString>> layout);
|
|
};
|
|
|
|
class Keyboard : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Keyboard(QWidget *parent = 0);
|
|
|
|
private:
|
|
QStackedLayout* main_layout;
|
|
|
|
private slots:
|
|
void handleButton(QAbstractButton* m_button);
|
|
|
|
signals:
|
|
void emitButton(QString s);
|
|
};
|