| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <QWidget> |
| 7 |
|
| 8 |
class ConfigBool; |
| 9 |
class ConfigChoice; |
| 10 |
class QCheckBox; |
| 11 |
class QPushButton; |
| 12 |
class ToolTipCheckBox; |
| 13 |
|
| 14 |
class FreeLookWidget final : public QWidget |
| 15 |
{ |
| 16 |
Q_OBJECT |
| 17 |
public: |
| 18 |
explicit FreeLookWidget(QWidget* parent); |
| 19 |
|
| 20 |
private: |
| 21 |
void CreateLayout(); |
| 22 |
void ConnectWidgets(); |
| 23 |
|
| 24 |
void OnFreeLookControllerConfigured(); |
| 25 |
void LoadSettings(); |
| 26 |
void SaveSettings(); |
| 27 |
|
| 28 |
ConfigBool* m_enable_freelook; |
| 29 |
ConfigChoice* m_freelook_control_type; |
| 30 |
QPushButton* m_freelook_controller_configure_button; |
| 31 |
QCheckBox* m_freelook_background_input; |
| 32 |
}; |