diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-12 16:16:17 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-12 16:16:17 -0400 |
| commit | a418d028b209ab8e6b75b77b405e9babe48a19dd (patch) | |
| tree | 3344d8ecaab8cf3aeeb43787237e9e3b9930d49a /src/statusbar.h | |
| parent | dc8256bae1f62cf3fad3b7dd60f4befc60edca03 (diff) | |
max width for progress bar
notification icon in status bar
Diffstat (limited to 'src/statusbar.h')
| -rw-r--r-- | src/statusbar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/statusbar.h b/src/statusbar.h index 99de8f16..bf14ba57 100644 --- a/src/statusbar.h +++ b/src/statusbar.h @@ -11,16 +11,17 @@ class Settings; class StatusBar { public: - StatusBar(QStatusBar* bar); + StatusBar(QStatusBar* bar, QAction* notifications); void setProgress(int percent); + void setHasNotifications(bool b); void updateAPI(const APIStats& stats, const APIUserAccount& user); void checkSettings(const Settings& settings); private: QStatusBar* m_bar; - QLabel* m_notifications; QProgressBar* m_progress; + QToolButton* m_notifications; QLabel* m_api; }; |
