mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-11 18:33:41 +08:00
7222d0f20d
* cleanup include path * continue * format includes * fix testraw.cc * remove include path from SConstruct * regroup * rebase master * almost done * apply review * rename FileReader.xx to filereader.xx * rename Unlogger.x->unlogger.x * rename FrameReader.xx -> framereader.xx * apply reviews * ui.h * continue * fix framebuffer.cc build error:mv util.h up * full path to msm_media_info * fix qcom2 camerad Co-authored-by: Comma Device <device@comma.ai>
32 lines
544 B
C++
32 lines
544 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <QAbstractButton>
|
|
#include <QFrame>
|
|
#include <QStackedLayout>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
class KeyboardLayout : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit KeyboardLayout(QWidget* parent, const std::vector<QVector<QString>>& layout);
|
|
};
|
|
|
|
class Keyboard : public QFrame {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Keyboard(QWidget *parent = 0);
|
|
|
|
private:
|
|
QStackedLayout* main_layout;
|
|
|
|
private slots:
|
|
void handleButton(QAbstractButton* m_button);
|
|
|
|
signals:
|
|
void emitButton(const QString &s);
|
|
};
|