mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 16:23:05 +00:00
37 lines
654 B
C++
37 lines
654 B
C++
#ifndef MAIN_DIALOG_H
|
|
#define MAIN_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QString>
|
|
|
|
class QWidget;
|
|
class QProcess;
|
|
class MainDialogPrivate;
|
|
class QSettings;
|
|
class QResizeEvent;
|
|
|
|
class Configuration;
|
|
class MainDialog: public QDialog {
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
void Start();
|
|
void Resize();
|
|
|
|
public:
|
|
explicit MainDialog(QWidget* parent = nullptr);
|
|
~MainDialog() override = default;
|
|
|
|
void RunInterpreter(QProcess* process, const Configuration& info);
|
|
|
|
static void WriteSettings(QSettings& s);
|
|
static void ReadSettings(QSettings& s);
|
|
|
|
void resizeEvent(QResizeEvent* event) override;
|
|
|
|
private:
|
|
MainDialogPrivate* m_p = nullptr;
|
|
};
|
|
|
|
#endif // MAIN_DIALOG_H
|