UI itself is usable
This commit is contained in:
24
src/frontend/MainWindow.hpp
Normal file
24
src/frontend/MainWindow.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include <QMainWindow>
|
||||
#include "ui_mainwindow.h"
|
||||
|
||||
class MainWindowController : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindowController() noexcept;
|
||||
|
||||
private:
|
||||
void ConnectSignalsToSlots() noexcept;
|
||||
|
||||
Ui::MainWindow view;
|
||||
bool textPauseToggle = false;
|
||||
|
||||
signals:
|
||||
void OpenROM(const QString& rom_file);
|
||||
void Exit();
|
||||
void Reset();
|
||||
void Stop();
|
||||
void Pause();
|
||||
};
|
||||
Reference in New Issue
Block a user