[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi/cool_main_window-staniek6] src/kexiutils/style: Cool main window for KEXI 3.2
From:       Jaroslaw Staniek <null () kde ! org>
Date:       2018-05-11 21:17:58
Message-ID: E1fHFQM-0001qF-Q7 () code ! kde ! org
[Download RAW message or body]

Git commit ebdabee77e64dec91dbe13641f68a2a41bdda8db by Jaroslaw Staniek.
Committed on 29/03/2018 at 09:20.
Pushed by staniek into branch 'cool_main_window-staniek6'.

Cool main window for KEXI 3.2

Summary:
Cool main main window as described at https://blogs.kde.org/2016/06/01/kexi-3

- Qt-Creator like global view selector
- better suited for Mac and Windows versions (native menus are back!)
- superflat style with 1990's paddings removed but with with some "material" touch
- content-is-king approach: darker side panes don't stay in the way
- QWidget-based but styled beyond what QWidgets typically can do
- Breeze style and icons-optimized (planned as the default on all OSes for 100% of \
                portability)
- icons styling beyond Breeze: some icons lighten and get colorful on dark \
                backgrounds
- the Kexi/Create/Design button bar will be replaced with something else

Test Plan: Build and try the new GUI

Reviewers: piggz

Subscribers: #kexi

Tags: #kexi

Differential Revision: https://phabricator.kde.org/D11778

M  +5    -2    src/kexiutils/style/KexiPropertyPaneLineEditStyle.cpp

https://commits.kde.org/kexi/ebdabee77e64dec91dbe13641f68a2a41bdda8db

diff --git a/src/kexiutils/style/KexiPropertyPaneLineEditStyle.cpp \
b/src/kexiutils/style/KexiPropertyPaneLineEditStyle.cpp index 8576acc82..ac3b82a4d \
                100644
--- a/src/kexiutils/style/KexiPropertyPaneLineEditStyle.cpp
+++ b/src/kexiutils/style/KexiPropertyPaneLineEditStyle.cpp
@@ -194,9 +194,12 @@ class KexiPropertyPaneLineEditProxyStyleGlobal
 {
 public:
     void alterStyle(QWidget *w) {
-        KexiPropertyPaneLineEditProxyStyle *s = new \
KexiPropertyPaneLineEditProxyStyle(w->style()); +        if (!style) {
+            KexiPropertyPaneLineEditProxyStyle *s = new \
KexiPropertyPaneLineEditProxyStyle(w->style()); +            style.reset(s);
+        }
         (void)new Filter(w);
-        w->setStyle(s);
+        w->setStyle(style.data());
     }
     QScopedPointer<KexiPropertyPaneLineEditProxyStyle> style;
 };


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic