mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
DolphinQt: Move common controller interface logic to its own widget
This commit is contained in:
parent
caff472dbf
commit
67b9e94e4d
6 changed files with 112 additions and 38 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <array>
|
||||
|
||||
class CommonControllersWidget;
|
||||
class MappingWindow;
|
||||
class QDialogButtonBox;
|
||||
class QCheckBox;
|
||||
|
@ -16,7 +17,6 @@ class QHBoxLayout;
|
|||
class QGridLayout;
|
||||
class QGroupBox;
|
||||
class QLabel;
|
||||
class QVBoxLayout;
|
||||
class QPushButton;
|
||||
class QRadioButton;
|
||||
|
||||
|
@ -36,11 +36,9 @@ private:
|
|||
void OnWiimoteRefreshPressed();
|
||||
void OnGCPadConfigure();
|
||||
void OnWiimoteConfigure();
|
||||
void OnControllerInterfaceConfigure();
|
||||
|
||||
void CreateGamecubeLayout();
|
||||
void CreateWiimoteLayout();
|
||||
void CreateCommonLayout();
|
||||
void CreateMainLayout();
|
||||
void ConnectWidgets();
|
||||
void LoadSettings();
|
||||
|
@ -75,8 +73,5 @@ private:
|
|||
QPushButton* m_wiimote_refresh;
|
||||
|
||||
// Common
|
||||
QGroupBox* m_common_box;
|
||||
QVBoxLayout* m_common_layout;
|
||||
QCheckBox* m_common_bg_input;
|
||||
QPushButton* m_common_configure_controller_interface;
|
||||
CommonControllersWidget* m_common;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue