diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2020-05-09 15:44:45 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2020-07-17 14:53:39 -0500 |
| commit | 58aa0150e1d3d391d5fd4e04ab402afb10a60fcc (patch) | |
| tree | adcca627f92d26bf324eea6e8d73dbaaf149aa1d /Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h | |
| parent | a98df567b11758c9581b23dc72cb1ee9afaf79ce (diff) | |
DolphinQt / InputCommon: Support multiple DSU servers
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h')
| -rw-r--r-- | Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h b/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h new file mode 100644 index 0000000000..c7b91f45c4 --- /dev/null +++ b/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h @@ -0,0 +1,29 @@ +// Copyright 2020 Dolphin Emulator Project +// Licensed under GPLv2+ +// Refer to the license.txt file included. + +#pragma once + +#include <QDialog> + +class QDialogButtonBox; +class QGridLayout; +class QLineEdit; +class QSpinBox; + +class DualShockUDPClientAddServerDialog final : public QDialog +{ + Q_OBJECT +public: + explicit DualShockUDPClientAddServerDialog(QWidget* parent); + +private: + void CreateWidgets(); + void OnServerAdded(); + + QDialogButtonBox* m_buttonbox; + QGridLayout* m_main_layout; + QLineEdit* m_description; + QLineEdit* m_server_address; + QSpinBox* m_server_port; +}; |
