Bug 429758

Summary: Menu to save and load pages
Product: [Applications] plasma-systemmonitor Reporter: Richard Llom <richard.llom>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, kde, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Llom 2020-11-28 13:57:16 UTC
There is currently no way to save (to disk) and load pages in system monitor, like
we have in ksysguard.

With all these page configuration options it only makes sense to provide the user with an easy way to store (backup) and restore pages.
Comment 1 Arjen Hiemstra 2021-01-22 11:31:45 UTC
Good point. We have support for loading pages from store.kde.org but it should be simple enough to also support local files.
Comment 2 David Redondo 2021-03-01 11:02:16 UTC
Git commit a4fc2686753f1749001f80a8b98ff85d15135bbc by David Redondo.
Committed on 01/03/2021 at 10:51.
Pushed by davidre into branch 'master'.

Add ability to import pages

The new action can be accessed in the main menu.

M  +23   -0    src/main.qml
M  +14   -0    src/page/PagesModel.cpp
M  +1    -0    src/page/PagesModel.h

https://invent.kde.org/plasma/plasma-systemmonitor/commit/a4fc2686753f1749001f80a8b98ff85d15135bbc
Comment 3 David Redondo 2021-03-01 11:02:24 UTC
Git commit 8a69730b5411dd77cea2b545262c517ce5118960 by David Redondo.
Committed on 01/03/2021 at 10:51.
Pushed by davidre into branch 'master'.

Add adbility to export a page

Adds an action to export a page. It's enabled when edit mode is not active.

M  +20   -0    src/main.qml
M  +8    -0    src/page/PageDataObject.cpp
M  +1    -0    src/page/PageDataObject.h

https://invent.kde.org/plasma/plasma-systemmonitor/commit/8a69730b5411dd77cea2b545262c517ce5118960