mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Qt/WiimoteControllersWidget: Refresh GUI on settings change and refactor a bit.
This commit is contained in:
@ -16,6 +16,11 @@ class QLabel;
|
||||
class QPushButton;
|
||||
class QRadioButton;
|
||||
|
||||
namespace Core
|
||||
{
|
||||
enum class State;
|
||||
}
|
||||
|
||||
class WiimoteControllersWidget final : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -23,17 +28,15 @@ public:
|
||||
explicit WiimoteControllersWidget(QWidget* parent);
|
||||
|
||||
private:
|
||||
void OnWiimoteModeChanged();
|
||||
void UpdateDisabledWiimoteControls();
|
||||
void SaveSettings();
|
||||
void OnBluetoothPassthroughSyncPressed();
|
||||
void OnBluetoothPassthroughResetPressed();
|
||||
void OnWiimoteRefreshPressed();
|
||||
void OnWiimoteConfigure();
|
||||
void OnWiimoteConfigure(size_t index);
|
||||
|
||||
void CreateLayout();
|
||||
void ConnectWidgets();
|
||||
void LoadSettings();
|
||||
void LoadSettings(Core::State state);
|
||||
|
||||
QGroupBox* m_wiimote_box;
|
||||
QGridLayout* m_wiimote_layout;
|
||||
|
Reference in New Issue
Block a user