Qt: Implement "Iterative Input"

This commit is contained in:
spycrab
2018-04-01 16:25:34 +02:00
parent 9be505fde2
commit e0ba2a4aeb
7 changed files with 64 additions and 12 deletions

View File

@ -16,6 +16,7 @@ class EmulatedController;
}
class InputConfig;
class QCheckBox;
class QComboBox;
class QDialogButtonBox;
class QEvent;
@ -50,8 +51,9 @@ public:
int GetPort() const;
std::shared_ptr<ciface::Core::Device> GetDevice() const;
ControllerEmu::EmulatedController* GetController() const;
bool IsIterativeInput() const;
signals:
void Update();
void ClearFields();
@ -77,6 +79,7 @@ private:
ControllerEmu::EmulatedController* m_controller = nullptr;
// Main
QCheckBox* m_iterative_input;
QVBoxLayout* m_main_layout;
QHBoxLayout* m_config_layout;
QDialogButtonBox* m_button_box;