API Documentation
|
A small widget that can be shown that allows the user to attempt a connection, disconnect, or even define a connection. More...
#include <ConnectionWidget.h>
Signals | |
void | connectionModifiedSignal () |
void | connectionRequested () |
Public Member Functions | |
void | clearConnection () |
ConnectionInfo | connectionInfo () const |
ConnectionWidget (QWidget *parent=nullptr) | |
void | setAllowClearButton (bool show) |
void | setAllowConnect (bool allow_connect) |
void | setAllowDisconnect (bool allow_disconnect) |
void | setButtonState (Button::ButtonState button_state) |
void | setConnection (const ConnectionInfo &sensor) |
void | setShowBluetoothSettingsButton (bool show) |
void | setShowWiFiSettingsButton (bool show) |
Protected Slots | |
void | updatedSlot () |
Protected Member Functions | |
void | updateLayout () |
Protected Attributes | |
bool | m_allow_clear_button = false |
bool | m_allow_connect = false |
bool | m_allow_disconnect = false |
Button * | m_clear_button = nullptr |
ConnectionInfo | m_connection_info |
Button * | m_connection_setup_button = nullptr |
Button * | m_connection_state_button = nullptr |
ConnectionSetupWidget * | m_setup_widget = nullptr |
A small widget that can be shown that allows the user to attempt a connection, disconnect, or even define a connection.
|
explicit |
void clearConnection | ( | ) |
|
inline |
|
signal |
|
signal |
void setAllowClearButton | ( | bool | show | ) |
void setAllowConnect | ( | bool | allow_connect | ) |
void setAllowDisconnect | ( | bool | allow_disconnect | ) |
void setButtonState | ( | Button::ButtonState | button_state | ) |
void setConnection | ( | const ConnectionInfo & | sensor | ) |
void setShowBluetoothSettingsButton | ( | bool | show | ) |
void setShowWiFiSettingsButton | ( | bool | show | ) |
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |