37#include <NDEVR/Connection.h>
42 class WebNetworkConnectionUI;
74 Ui::WebNetworkConnectionUI*
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
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
A ConnectionDialogFactory which allows for the creation of a WebSocketConnectionDialog.
Definition WebSocketConnectionDialog.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 that allows the user to modify a WebSocketConnection.
Definition WebSocketConnectionDialog.h:53
Ui::WebNetworkConnectionUI * ui
Definition WebSocketConnectionDialog.h:74
virtual ConnectionInfo connectionInfo() const override
void setAllowLocalButton(bool allow_local)
void setAllowPingLogic(bool allow_ping)
String m_fixed_protocol
Definition WebSocketConnectionDialog.h:73
void setFixedProtocol(const String &mode)
void refreshPingVisible()
virtual void clear() override
~WebSocketConnectionDialog()
WebSocketConnectionDialog(QWidget *parent=nullptr)
bool checkIfValid() const
virtual void setConnectionInfo(const ConnectionInfo &connection) override
void clearFixedProtocol()
virtual bool handlesConnection(const ConnectionInfo &connection) override
Definition FontEditor.h:6
A structure designed to store information about a specific Connection.
Definition Connection.h:97