Files
eden/src/yuzu/applets/software_keyboard.h
T

35 lines
821 B
C++
Raw Normal View History

// Copyright 2018 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
2018-11-11 16:39:25 -05:00
#include <QDialog>
#include <QValidator>
#include "core/frontend/applets/software_keyboard.h"
2018-11-11 16:39:25 -05:00
class GMainWindow;
class QtSoftwareKeyboardValidator final : public QValidator {
public:
explicit QtSoftwareKeyboardValidator();
2018-11-11 16:39:25 -05:00
State validate(QString& input, int& pos) const override;
};
class QtSoftwareKeyboardDialog final : public QDialog {
Q_OBJECT
public:
QtSoftwareKeyboardDialog(QWidget* parent);
2018-11-11 16:39:25 -05:00
~QtSoftwareKeyboardDialog() override;
};
2018-11-11 16:39:25 -05:00
class QtSoftwareKeyboard final : public QObject, public Core::Frontend::SoftwareKeyboardApplet {
Q_OBJECT
public:
2018-11-11 16:39:25 -05:00
explicit QtSoftwareKeyboard(GMainWindow& parent);
~QtSoftwareKeyboard() override;
};