API Documentation
|
#include <ConnectionStatusWidget.h>
Public Member Functions | |
ConnectionStatusWidget (QWidget *parent=nullptr) | |
void | setSensor (Connection *sensor) |
void | cancelConnection () |
void | endCancelConnection () |
void | setConnectionState (ConnectionState state) |
void | clearConnectionStatus () |
void | setCustomTitle (const TranslatedString &custom_title) |
void | setHorizontal (bool horizontal) |
void | setActAsLog (bool act_like_log) |
void | setColor (RGBColor color) |
virtual void | setProgress (fltp04 progress) override |
Public Member Functions inherited from LogStream | |
virtual | ~LogStream () |
virtual void | attach (ProgressInfo *stream) |
virtual void | detach (ProgressInfo *stream) |
virtual void | allowCancel (bool) |
virtual void | addMessages (const Buffer< LogMessage > &messages) |
void | clearLinks () |
void | setIgnoreMessages (bool ignore) |
bool | ignoringMessages () const |
Protected Slots | |
void | connectionStateUpdatedSlot (ConnectionState state) |
void | deletedSlot () |
Protected Member Functions | |
void | updateTitle () |
void | init () |
virtual void | addMessage (const LogMessage &message) override |
Protected Attributes | |
QPointer< Connection > | m_sensor |
QCustomLabel * | m_title_label |
QCustomLabel * | m_status_label |
ProgressWidget * | m_progress_widget |
Log * | m_log |
TranslatedString | m_custom_title |
ConnectionState | m_connection_state = ConnectionState::e_no_connection |
fltp04 | m_pending_progress = Constant<fltp04>::NaN |
bool | m_is_horizontal |
bool | m_owns_log = false |
bool | m_has_connection_object = false |
bool | m_act_like_log = false |
Protected Attributes inherited from LogStream | |
Buffer< ProgressInfo * > | m_linked_logs |
bool | m_ignore_message = false |
|
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 |