From 02c94b228a3ad9a5d39e850b9708f1c52c713c57 Mon Sep 17 00:00:00 2001 From: Nathaniel Graham Date: Thu, 5 Jul 2018 21:24:27 -0600 Subject: Modernize Settings window Summary: This patch modernizes the appearance of Dolphin's configuration window by following the KDE HIG as much as possible and following design cues from Plasma and System Settings. Test Plan: Tested all settings to make sure they still work; they do. Startup page, before: {F5825313} Startup page, after: {F5918574} View page (Icons), before: {F5825319} View page (Icons) after: {F5918575} View page (Compact), before: {F5825321} View page (Compact) after: {F5918700} View page (Detailed), before: {F5825323} View page: (Detailed), after: {F5918701} Navigation page: no change Trash page, before: {F5858748} Trash page, after: {F5866656} (Provided by {D12986}) General page (behavior), before: {F5825316} General page (behavior) after: {F5918572} General page (confirmations), before: {F5866885} General page (confirmations), after: {F5918702} General page (status bar): no change Reviewers: #dolphin, #vdg, broulik, elvisangelaccio Reviewed By: #dolphin, elvisangelaccio Subscribers: fabianr, cfeck, medhefgo, zzag, rkflx, kfm-devel, elvisangelaccio, abetts Tags: #dolphin Differential Revision: https://phabricator.kde.org/D12571 --- src/global.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index 3b6af43e9..e3c4a1cca 100644 --- a/src/global.h +++ b/src/global.h @@ -41,6 +41,11 @@ namespace Dolphin { * Opens a new Dolphin window */ void openNewWindow(const QList &urls = {}, QWidget *window = nullptr, const OpenNewWindowFlags &flags = OpenNewWindowFlag::None); + + /** + * TODO: Move this somewhere global to all KDE apps, not just Dolphin + */ + const int VERTICAL_SPACER_HEIGHT = 18; } #endif //GLOBAL_H -- cgit v1.3.1