mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:07:34 +00:00
ChanViewer: Add a status bar to show loading status
Also update the window title with the current board after loading. :^)
This commit is contained in:
parent
fdcaf2d2b5
commit
cd08c8e1bf
3 changed files with 30 additions and 2 deletions
|
@ -25,8 +25,12 @@ public:
|
|||
virtual GVariant data(const GModelIndex&, Role = Role::Display) const override;
|
||||
virtual void update() override;
|
||||
|
||||
const String& board() const { return m_board; }
|
||||
void set_board(const String&);
|
||||
|
||||
Function<void()> on_load_started;
|
||||
Function<void(bool success)> on_load_finished;
|
||||
|
||||
private:
|
||||
ThreadCatalogModel();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue