35#include <NDEVR/ConnectionDialog.h>
36#include <NDEVR/Connection.h>
37#include <NDEVR/Dictionary.h>
41 class NetworkConnectionUI;
51 class NDEVR_NETWORK_PROTOCOLS_API NetworkConnectionDialog :
public ConnectionDialog
59 explicit NetworkConnectionDialog(QWidget* parent =
nullptr);
60 ~NetworkConnectionDialog();
65 void setFixedProtocol(
const StringView& mode);
69 void clearFixedProtocol();
73 virtual void clear()
override;
78 virtual ConnectionInfo connectionInfo()
const override;
83 virtual void setConnectionInfo(
const ConnectionInfo& connection)
override;
89 virtual bool handlesConnection(
const ConnectionInfo& connection)
override;
94 void setAllowPingLogic(
bool allow_ping);
99 void setAllowLocalButton(
bool allow_local);
104 bool checkIfValid()
const;
109 String protocol()
const;
114 void updateFromDialog();
119 void refreshPingVisible();
121 String m_fixed_protocol;
122 Ui::NetworkConnectionUI* ui;
123 bool m_allow_ping_logic =
true;
124 bool m_allow_local_button =
true;
137 virtual bool handlesType(
const StringView& connection)
const override;
142 virtual TranslatedString title()
const override;
147 virtual StringView
icon()
const override;
152 virtual ConnectionDialog* createConnectionDialog()
const override;
Defines cross-platform DLL export/import macros for the NDEVRNetworkProtocols module.
Used to, given a Connection, generate an appropriate ConnectionDialog to allow adjustment of paramete...
A virtual dialog that provides an interface that allows the user to adjust certain parameters for a C...
A standard interface for all types of connections that allow transmitting and receiving of data betwe...
A light-weight base class for Log that allows processes to update, without the need for additional in...
The default thread class for executing concurrent sequences in the NDEVR API.
The primary namespace for the NDEVR SDK.
@ icon
Icon identifier for the object.