API Documentation
Loading...
Searching...
No Matches
NetworkConnectionDialog Class Reference

#include <NetworkConnectionDialog.h>

Inheritance diagram for NetworkConnectionDialog:
[legend]
Collaboration diagram for NetworkConnectionDialog:
[legend]

Public Member Functions

 NetworkConnectionDialog (QWidget *parent=nullptr)
 
 ~NetworkConnectionDialog ()
 
void setFixedProtocol (const String &mode)
 
void clearFixedProtocol ()
 
virtual void clear () override
 
virtual ConnectionInfo connectionInfo () const override
 
virtual void setConnectionInfo (const ConnectionInfo &connection) override
 
virtual bool handlesConnection (const ConnectionInfo &connection) override
 
void setAllowPingLogic (bool allow_ping)
 
void setAllowLocalButton (bool allow_local)
 
bool checkIfValid () const
 
String protocol () const
 
- Public Member Functions inherited from ConnectionDialog
 ConnectionDialog (QWidget *parent=nullptr)
 
virtual ConnectioncreateConnection (const Model &model) const
 

Protected Slots

void updateFromDialog ()
 

Protected Member Functions

void refreshPingVisible ()
 

Protected Attributes

String m_fixed_protocol
 
Ui::NetworkConnectionUI * ui
 
bool m_allow_ping_logic = true
 
bool m_allow_local_button = true
 

Additional Inherited Members

- Signals inherited from ConnectionDialog
void acceptedSignal ()
 
void cancelSignal ()
 

Constructor & Destructor Documentation

◆ NetworkConnectionDialog()

NetworkConnectionDialog ( QWidget * parent = nullptr)
explicit

◆ ~NetworkConnectionDialog()

Member Function Documentation

◆ checkIfValid()

bool checkIfValid ( ) const

◆ clear()

void clear ( )
overridevirtual

Implements ConnectionDialog.

◆ clearFixedProtocol()

void clearFixedProtocol ( )

◆ connectionInfo()

ConnectionInfo connectionInfo ( ) const
overridevirtual

Implements ConnectionDialog.

◆ handlesConnection()

bool handlesConnection ( const ConnectionInfo & connection)
overridevirtual

Implements ConnectionDialog.

◆ protocol()

String protocol ( ) const

◆ refreshPingVisible()

void refreshPingVisible ( )
protected

◆ setAllowLocalButton()

void setAllowLocalButton ( bool allow_local)

◆ setAllowPingLogic()

void setAllowPingLogic ( bool allow_ping)

◆ setConnectionInfo()

void setConnectionInfo ( const ConnectionInfo & connection)
overridevirtual

Implements ConnectionDialog.

◆ setFixedProtocol()

void setFixedProtocol ( const String & mode)

◆ updateFromDialog

void updateFromDialog ( )
protectedslot

Member Data Documentation

◆ m_allow_local_button

bool m_allow_local_button = true
protected

◆ m_allow_ping_logic

bool m_allow_ping_logic = true
protected

◆ m_fixed_protocol

String m_fixed_protocol
protected

◆ ui

Ui::NetworkConnectionUI* ui
protected

The documentation for this class was generated from the following files: