| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QWidget> |
| 7 |
|
| 8 |
class QCheckBox; |
| 9 |
class QGroupBox; |
| 10 |
class QVBoxLayout; |
| 11 |
class QPushButton; |
| 12 |
|
| 13 |
class CommonControllersWidget final : public QWidget |
| 14 |
{ |
| 15 |
Q_OBJECT |
| 16 |
public: |
| 17 |
explicit CommonControllersWidget(QWidget* parent); |
| 18 |
|
| 19 |
private: |
| 20 |
void OnControllerInterfaceConfigure(); |
| 21 |
void OnSDLHintConfigure(); |
| 22 |
|
| 23 |
void CreateLayout(); |
| 24 |
void ConnectWidgets(); |
| 25 |
|
| 26 |
void LoadSettings(); |
| 27 |
void SaveSettings(); |
| 28 |
|
| 29 |
QGroupBox* m_common_box; |
| 30 |
QVBoxLayout* m_common_layout; |
| 31 |
QCheckBox* m_common_bg_input; |
| 32 |
QPushButton* m_common_configure_controller_interface; |
| 33 |
QPushButton* m_common_configure_sdl_hints; |
| 34 |
}; |