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

#include <ConnectionWidget.h>

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

Signals

void connectionRequested ()
 
void connectionModifiedSignal ()
 

Public Member Functions

 ConnectionWidget (QWidget *parent=nullptr)
 
void setConnection (const ConnectionInfo &sensor)
 
void clearConnection ()
 
void setAllowDisconnect (bool allow_disconnect)
 
void setAllowConnect (bool allow_connect)
 
void setShowBluetoothSettingsButton (bool show)
 
void setShowWiFiSettingsButton (bool show)
 
void setAllowClearButton (bool show)
 
void setButtonState (Button::ButtonState button_state)
 
ConnectionInfo connectionInfo () const
 

Protected Slots

void updatedSlot ()
 

Protected Member Functions

void updateLayout ()
 

Protected Attributes

ConnectionInfo m_connection_info
 
Buttonm_connection_setup_button = nullptr
 
Buttonm_connection_state_button = nullptr
 
Buttonm_clear_button = nullptr
 
ConnectionSetupWidgetm_setup_widget = nullptr
 
bool m_allow_disconnect = false
 
bool m_allow_connect = false
 
bool m_allow_clear_button = false
 

Constructor & Destructor Documentation

◆ ConnectionWidget()

ConnectionWidget ( QWidget * parent = nullptr)
explicit

Member Function Documentation

◆ clearConnection()

void clearConnection ( )

◆ connectionInfo()

ConnectionInfo connectionInfo ( ) const
inline

◆ connectionModifiedSignal

void connectionModifiedSignal ( )
signal

◆ connectionRequested

void connectionRequested ( )
signal

◆ setAllowClearButton()

void setAllowClearButton ( bool show)

◆ setAllowConnect()

void setAllowConnect ( bool allow_connect)

◆ setAllowDisconnect()

void setAllowDisconnect ( bool allow_disconnect)

◆ setButtonState()

void setButtonState ( Button::ButtonState button_state)

◆ setConnection()

void setConnection ( const ConnectionInfo & sensor)

◆ setShowBluetoothSettingsButton()

void setShowBluetoothSettingsButton ( bool show)

◆ setShowWiFiSettingsButton()

void setShowWiFiSettingsButton ( bool show)

◆ updatedSlot

void updatedSlot ( )
protectedslot

◆ updateLayout()

void updateLayout ( )
protected

Member Data Documentation

◆ m_allow_clear_button

bool m_allow_clear_button = false
protected

◆ m_allow_connect

bool m_allow_connect = false
protected

◆ m_allow_disconnect

bool m_allow_disconnect = false
protected

◆ m_clear_button

Button* m_clear_button = nullptr
protected

◆ m_connection_info

ConnectionInfo m_connection_info
protected

◆ m_connection_setup_button

Button* m_connection_setup_button = nullptr
protected

◆ m_connection_state_button

Button* m_connection_state_button = nullptr
protected

◆ m_setup_widget

ConnectionSetupWidget* m_setup_widget = nullptr
protected

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