mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
add menu items for running the firmware and for quitting.
This commit is contained in:
@ -75,13 +75,22 @@ public:
|
||||
explicit MainWindow(QWidget* parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent* event) override;
|
||||
|
||||
private slots:
|
||||
void onOpenFile();
|
||||
void onBootFirmware();
|
||||
void onQuit();
|
||||
|
||||
void onTitleUpdate(QString title);
|
||||
|
||||
private:
|
||||
MainWindowPanel* panel;
|
||||
|
||||
QAction* actOpenROM;
|
||||
QAction* actBootFirmware;
|
||||
QAction* actQuit;
|
||||
};
|
||||
|
||||
#endif // MAIN_H
|
||||
|
Reference in New Issue
Block a user