mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-26 20:58:28 -05:00
Config: Add Edit button to DSU server menu
Signed-off-by: Ethan Uppal <113849268+ethanuppal@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,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;
|
||||
};
|
||||
Reference in New Issue
Block a user