37#include <NDEVR/Connection.h>
42 class NetworkConnectionUI;
74 Ui::NetworkConnectionUI*
ui;
75 bool m_allow_ping_logic =
true;
76 bool m_allow_local_button =
true;
Used to, given a Connection, generate an appropriate ConnectionDialog to allow adjustment of paramete...
Definition ConnectionDialog.h:31
A virtual dialog that provides an interface that allows the user to adjust certain parameters for a C...
Definition ConnectionDialog.h:13
A ConnectionDialogFactory which allows for the creation of a NetworkConnectionDialog.
Definition NetworkConnectionDialog.h:82
virtual bool handlesType(const String &connection) const override
virtual String icon() const override
virtual ConnectionDialog * createConnectionDialog() const override
virtual TranslatedString title() const override
A ConnectionDialog allowing the user to edit a TCP/UDP style connection.
Definition NetworkConnectionDialog.h:53
virtual ConnectionInfo connectionInfo() const override
void setAllowLocalButton(bool allow_local)
void setAllowPingLogic(bool allow_ping)
String m_fixed_protocol
Definition NetworkConnectionDialog.h:73
void setFixedProtocol(const String &mode)
void refreshPingVisible()
virtual void clear() override
bool checkIfValid() const
Ui::NetworkConnectionUI * ui
Definition NetworkConnectionDialog.h:74
~NetworkConnectionDialog()
virtual void setConnectionInfo(const ConnectionInfo &connection) override
void clearFixedProtocol()
NetworkConnectionDialog(QWidget *parent=nullptr)
virtual bool handlesConnection(const ConnectionInfo &connection) override
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
Definition FontEditor.h:6
A structure designed to store information about a specific Connection.
Definition Connection.h:97