2020-05-09 20:44:45 +00:00
|
|
|
// Copyright 2020 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-05-09 20:44:45 +00:00
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|