mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Refactor proxy models and toolbar.
Remove the ugly LARGE_ICON column hack from the table proxy and use a list proxy. Move the toolbar into its own file.
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include <QToolBar>
|
||||
|
||||
#include "DolphinQt2/RenderWidget.h"
|
||||
#include "DolphinQt2/ToolBar.h"
|
||||
#include "DolphinQt2/GameList/GameList.h"
|
||||
|
||||
class MainWindow final : public QMainWindow
|
||||
@ -47,14 +48,12 @@ private:
|
||||
void AddTableColumnsMenu(QMenu* view_menu);
|
||||
void AddListTypePicker(QMenu* view_menu);
|
||||
|
||||
void PopulateToolBar();
|
||||
|
||||
void StartGame(QString path);
|
||||
void ShowRenderWidget();
|
||||
void HideRenderWidget();
|
||||
|
||||
QStackedWidget* m_stack;
|
||||
QToolBar* m_tool_bar;
|
||||
ToolBar* m_tool_bar;
|
||||
GameList* m_game_list;
|
||||
RenderWidget* m_render_widget;
|
||||
bool m_rendering_to_main;
|
||||
|
Reference in New Issue
Block a user