mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-06 03:01:10 -04:00
33 lines
710 B
C++
33 lines
710 B
C++
// 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;
|
|
};
|