┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/information/informationpanel.h
diff options
context:
space:
mode:
authorBenedikt Thiemer <[email protected]>2024-03-15 16:28:35 +0000
committerFelix Ernst <[email protected]>2024-03-15 16:28:35 +0000
commit1d4355f619ca8098d12f330741017e417a756083 (patch)
treeefd68ed68014947d7bd6dd415408cb0a7bf5d42e /src/panels/information/informationpanel.h
parent89822d3ff22d7694baa6659824b53f5dd3f0ccb2 (diff)
Add settings page for Panels
For now this just includes the settings for the information panel. Prior to this commit the options for configuring the information panel were only exposed via right clicking the information panel. This was not discoverable enough. Our guidelines also state that much. See: https://community.kde.org/Get_Involved/Design/Frequently_Discussed_Topics#Context_menus_are_not_enough The settings page is missing the "Configure" button for the entries in the information panel, which can only be found in the context menu. This is because I thought it would be weird to move it to the settings page. (The "configure" button is used to select the entries for the information panel) BUG: 480243 FIXED-IN: 24.05
Diffstat (limited to 'src/panels/information/informationpanel.h')
-rw-r--r--src/panels/information/informationpanel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h
index ee405cb39..eda70759a 100644
--- a/src/panels/information/informationpanel.h
+++ b/src/panels/information/informationpanel.h
@@ -28,6 +28,12 @@ public:
explicit InformationPanel(QWidget *parent = nullptr);
~InformationPanel() override;
+ /**
+ * Refreshes the view to get synchronized with the settings (e.g. icons size,
+ * font, ...).
+ */
+ void readSettings() override;
+
Q_SIGNALS:
void urlActivated(const QUrl &url);