Qt: some code cleanup in gui files
This commit is contained in:
+12
-12
@@ -41,7 +41,7 @@ class main_window : public QMainWindow
|
||||
bool m_save_slider_pos = false;
|
||||
int m_other_slider_pos = 0;
|
||||
|
||||
QIcon m_appIcon;
|
||||
QIcon m_app_icon;
|
||||
QIcon m_icon_play;
|
||||
QIcon m_icon_pause;
|
||||
QIcon m_icon_stop;
|
||||
@@ -73,14 +73,14 @@ class main_window : public QMainWindow
|
||||
};
|
||||
|
||||
public:
|
||||
explicit main_window(std::shared_ptr<gui_settings> guiSettings, std::shared_ptr<emu_settings> emuSettings, std::shared_ptr<persistent_settings> persistent_settings, QWidget *parent = 0);
|
||||
explicit main_window(std::shared_ptr<gui_settings> gui_settings, std::shared_ptr<emu_settings> emu_settings, std::shared_ptr<persistent_settings> persistent_settings, QWidget *parent = 0);
|
||||
void Init();
|
||||
~main_window();
|
||||
QIcon GetAppIcon();
|
||||
|
||||
Q_SIGNALS:
|
||||
void RequestLanguageChange(const QString& language);
|
||||
void RequestGlobalStylesheetChange(const QString& sheetFilePath);
|
||||
void RequestGlobalStylesheetChange(const QString& stylesheet_path);
|
||||
void RequestTrophyManagerRepaint();
|
||||
void NotifyEmuSettingsChange();
|
||||
|
||||
@@ -146,21 +146,21 @@ private:
|
||||
QString GetCurrentTitle();
|
||||
|
||||
q_pair_list m_rg_entries;
|
||||
QList<QAction*> m_recentGameActs;
|
||||
QList<QAction*> m_recent_game_acts;
|
||||
|
||||
std::shared_ptr<gui_game_info> m_selected_game;
|
||||
|
||||
QActionGroup* m_iconSizeActGroup = nullptr;
|
||||
QActionGroup* m_listModeActGroup = nullptr;
|
||||
QActionGroup* m_categoryVisibleActGroup = nullptr;
|
||||
QActionGroup* m_icon_size_act_group = nullptr;
|
||||
QActionGroup* m_list_mode_act_group = nullptr;
|
||||
QActionGroup* m_category_visible_act_group = nullptr;
|
||||
|
||||
// Dockable widget frames
|
||||
QMainWindow *m_mw = nullptr;
|
||||
log_frame* m_logFrame = nullptr;
|
||||
debugger_frame* m_debuggerFrame = nullptr;
|
||||
game_list_frame* m_gameListFrame = nullptr;
|
||||
std::shared_ptr<gui_settings> guiSettings;
|
||||
std::shared_ptr<emu_settings> emuSettings;
|
||||
log_frame* m_log_frame = nullptr;
|
||||
debugger_frame* m_debugger_frame = nullptr;
|
||||
game_list_frame* m_game_list_frame = nullptr;
|
||||
std::shared_ptr<gui_settings> m_gui_settings;
|
||||
std::shared_ptr<emu_settings> m_emu_settings;
|
||||
std::shared_ptr<persistent_settings> m_persistent_settings;
|
||||
|
||||
update_manager m_updater;
|
||||
|
||||
Reference in New Issue
Block a user