summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.h
blob: 0cf130bbbd5785df6b45e61fab65e80e50d38b18 (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
// Copyright 2020 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#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;
};