API Documentation
|
A dial and information text that shows the current status of a connection. Typically shown when a connection is being attempted to keep the user informed on the status of the connection attempt. More...
#include <ConnectionStatusWidget.h>
Public Member Functions | |
void | cancelConnection () |
void | clearConnectionStatus () |
ConnectionStatusWidget (QWidget *parent=nullptr) | |
void | endCancelConnection () |
void | setActAsLog (bool act_like_log) |
void | setColor (RGBColor color) |
void | setConnectionState (ConnectionState state) |
void | setCustomTitle (const TranslatedString &custom_title) |
void | setHorizontal (bool horizontal) |
virtual void | setProgress (fltp04 progress) override |
void | setSensor (Connection *sensor) |
Public Member Functions inherited from LogStream | |
virtual void | addMessages (const Buffer< LogMessage > &messages) |
virtual void | allowCancel (bool) |
virtual void | attach (ProgressInfo *stream) |
void | clearLinks () |
virtual void | detach (ProgressInfo *stream) |
bool | ignoringMessages () const |
void | setIgnoreMessages (bool ignore) |
virtual | ~LogStream () |
Protected Slots | |
void | connectionStateUpdatedSlot (ConnectionState state) |
void | deletedSlot () |
Protected Member Functions | |
virtual void | addMessage (const LogMessage &message) override |
void | init () |
void | updateTitle () |
Protected Attributes | |
bool | m_act_like_log = false |
ConnectionState | m_connection_state = ConnectionState::e_no_connection |
TranslatedString | m_custom_title |
bool | m_has_connection_object = false |
bool | m_is_horizontal |
Log * | m_log |
bool | m_owns_log = false |
fltp04 | m_pending_progress = Constant<fltp04>::Invalid |
ProgressWidget * | m_progress_widget |
QPointer< Connection > | m_sensor |
QCustomLabel * | m_status_label |
QCustomLabel * | m_title_label |
Protected Attributes inherited from LogStream | |
bool | m_ignore_message = false |
Buffer< ProgressInfo * > | m_linked_logs |
A dial and information text that shows the current status of a connection. Typically shown when a connection is being attempted to keep the user informed on the status of the connection attempt.
|
explicit |
|
overrideprotectedvirtual |
Implements LogStream.
void cancelConnection | ( | ) |
void clearConnectionStatus | ( | ) |
|
protectedslot |
|
protectedslot |
void endCancelConnection | ( | ) |
|
protected |
void setActAsLog | ( | bool | act_like_log | ) |
void setColor | ( | RGBColor | color | ) |
void setConnectionState | ( | ConnectionState | state | ) |
void setCustomTitle | ( | const TranslatedString & | custom_title | ) |
void setHorizontal | ( | bool | horizontal | ) |
void setSensor | ( | Connection * | sensor | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |