mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Make paths dialog modeless.
This commit is contained in:
@ -14,13 +14,14 @@
|
||||
#include "DolphinQt2/ToolBar.h"
|
||||
#include "DolphinQt2/GameList/GameList.h"
|
||||
|
||||
class PathDialog;
|
||||
|
||||
class MainWindow final : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainWindow();
|
||||
~MainWindow();
|
||||
|
||||
signals:
|
||||
void EmulationStarted();
|
||||
@ -39,23 +40,28 @@ private slots:
|
||||
void FullScreen();
|
||||
void ScreenShot();
|
||||
|
||||
void PathsConfig();
|
||||
|
||||
private:
|
||||
void MakeGameList();
|
||||
void MakeMenuBar();
|
||||
void MakeRenderWidget();
|
||||
void MakeStack();
|
||||
void MakeToolBar();
|
||||
void CreateComponents();
|
||||
|
||||
void ConnectGameList();
|
||||
void ConnectMenuBar();
|
||||
void ConnectRenderWidget();
|
||||
void ConnectStack();
|
||||
void ConnectToolBar();
|
||||
void ConnectPathsDialog();
|
||||
|
||||
void StartGame(const QString& path);
|
||||
void ShowRenderWidget();
|
||||
void HideRenderWidget();
|
||||
|
||||
void ShowPathsDialog();
|
||||
|
||||
QStackedWidget* m_stack;
|
||||
ToolBar* m_tool_bar;
|
||||
MenuBar* m_menu_bar;
|
||||
GameList* m_game_list;
|
||||
RenderWidget* m_render_widget;
|
||||
bool m_rendering_to_main;
|
||||
|
||||
PathDialog* m_paths_dialog;
|
||||
};
|
||||
|
Reference in New Issue
Block a user