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

A ConnectionDialog that allows the user to modify a WebSocketConnection. More...

#include <WebSocketConnectionDialog.h>

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

Public Member Functions

bool checkIfValid () const
 
virtual void clear () override
 
void clearFixedProtocol ()
 
virtual ConnectionInfo connectionInfo () const override
 
virtual bool handlesConnection (const ConnectionInfo &connection) override
 
String protocol () const
 
void setAllowLocalButton (bool allow_local)
 
void setAllowPingLogic (bool allow_ping)
 
virtual void setConnectionInfo (const ConnectionInfo &connection) override
 
void setFixedProtocol (const String &mode)
 
 WebSocketConnectionDialog (QWidget *parent=nullptr)
 
 ~WebSocketConnectionDialog ()
 
- 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

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

Additional Inherited Members

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

Detailed Description

A ConnectionDialog that allows the user to modify a WebSocketConnection.


Constructor & Destructor Documentation

◆ WebSocketConnectionDialog()

WebSocketConnectionDialog ( QWidget * parent = nullptr)
explicit

◆ ~WebSocketConnectionDialog()

Member Function Documentation

◆ checkIfValid()

bool checkIfValid ( ) const

◆ clear()

virtual void clear ( )
overridevirtual

Implements ConnectionDialog.

◆ clearFixedProtocol()

void clearFixedProtocol ( )

◆ connectionInfo()

virtual ConnectionInfo connectionInfo ( ) const
overridevirtual

Implements ConnectionDialog.

◆ handlesConnection()

virtual 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()

virtual 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::WebNetworkConnectionUI* ui
protected

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