mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
SystemMonitor: Save configuration of columns
Save the columns configuration from the last run in the respective config file, and add a function to check whether a column should be visible by default.
This commit is contained in:
parent
290920222a
commit
d8474805e8
3 changed files with 32 additions and 10 deletions
|
@ -71,6 +71,7 @@ public:
|
|||
virtual Vector<GUI::ModelIndex> matches(StringView, unsigned = MatchesFlag::AllMatching, GUI::ModelIndex const& = GUI::ModelIndex()) override;
|
||||
virtual bool is_column_sortable(int column_index) const override { return column_index != Column::Icon; }
|
||||
void update();
|
||||
bool is_default_column(int index) const;
|
||||
|
||||
struct CpuInfo {
|
||||
u32 id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue