blob: c29c77349da9838e697a7501885a903272dd9b83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright 2020 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <optional>
#include <QDialog>
class QDialogButtonBox;
class QGridLayout;
class QLineEdit;
class QSpinBox;
class DualShockUDPClientEditServerDialog final : public QDialog
{
Q_OBJECT
public:
explicit DualShockUDPClientEditServerDialog(QWidget* parent,
std::optional<size_t> existing_index);
private:
void CreateWidgets();
void OnServerFinished();
std::optional<size_t> m_existing_index;
QDialogButtonBox* m_buttonbox;
QGridLayout* m_main_layout;
QLineEdit* m_description;
QLineEdit* m_server_address;
QSpinBox* m_server_port;
};
|