Mercurial > minori
diff include/gui/window.h @ 315:34347fd2a2de
session: allow printing status messages
...!
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 11 Jun 2024 14:16:40 -0400 |
parents | 9a88e1725fd2 |
children |
line wrap: on
line diff
--- a/include/gui/window.h Tue Jun 11 13:29:45 2024 -0400 +++ b/include/gui/window.h Tue Jun 11 14:16:40 2024 -0400 @@ -27,6 +27,7 @@ /* ... :) */ Q_DECLARE_METATYPE(std::vector<std::string>); +Q_DECLARE_METATYPE(std::string); class MainWindowPlayingThread final : public QThread { Q_OBJECT @@ -84,6 +85,9 @@ void showEvent(QShowEvent* event) override; void closeEvent(QCloseEvent* event) override; +public slots: + void SetStatusMessage(const std::string& message); + private: QWidget main_widget_; QStackedWidget stack_;