mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
ChanViewer: Fetch the list of boards and allow switching the board
We put the list of boards in a combo box and allow the user to switch boards that way. :^)
This commit is contained in:
parent
6311a617be
commit
7a63277115
6 changed files with 145 additions and 1 deletions
|
@ -25,8 +25,11 @@ public:
|
|||
virtual GVariant data(const GModelIndex&, Role = Role::Display) const override;
|
||||
virtual void update() override;
|
||||
|
||||
void set_board(const String&);
|
||||
|
||||
private:
|
||||
ThreadCatalogModel();
|
||||
|
||||
String m_board { "g" };
|
||||
JsonArray m_catalog;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue