Added a Live status indicator to tabs
This commit is contained in:
@@ -39,6 +39,7 @@ public:
|
||||
bool isSelected() const;
|
||||
void setSelected(bool value);
|
||||
|
||||
void setLive(bool isLive);
|
||||
void setHighlightState(HighlightState style);
|
||||
void setHighlightsEnabled(const bool &newVal);
|
||||
bool hasHighlightsEnabled() const;
|
||||
@@ -88,6 +89,8 @@ private:
|
||||
bool highlightEnabled_ = true;
|
||||
QAction *highlightNewMessagesAction_;
|
||||
|
||||
bool isLive_{};
|
||||
|
||||
QMenu menu_;
|
||||
|
||||
std::vector<pajlada::Signals::ScopedConnection> managedConnections_;
|
||||
|
||||
Reference in New Issue
Block a user