<table><tr><td style="">rjvbb retitled this revision from "Provide demo/preview for checkable menu items and colour scheme comparison" to "Provide demo/preview for checkable menu items".<br />rjvbb edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-igawlrqo2xmrjrx/" rel="noreferrer">(Show Details)</a><br />rjvbb edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-66mj7vyfxdkwsgo/" rel="noreferrer">(Show Details)</a><br />rjvbb set the repository for this revision to R113 Oxygen Theme.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5111" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">This is <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">a continuation/transfer of https://git.reviewboard.kde.org/r/128109/ (which still has a few screenshots)</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the remaining changeset of my earlier contributions that extended the oxygen-demo application with widget style and colour scheme pickers, aiming to turn it into a generic look-and-feel explorer.</span><br />
<br />
There currently is no "official" cheap way to preview how checked menu items are rendered as a function of installed widget style<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">, nor an easy/cheap way to compare the look of a given widget style under different colour schemes. I have been annoyed by the fact one has to (re)launch often heavy applications to assess the impact of changes to these look-and-feel aspects</span>.<div style="padding: 8px 0;">...</div>This demo already has menus in the MDI preview. The patch makes the layout items checkable and puts them in a QActionGroup so their mutually exclusive nature is taken into account<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">. It also adds a "right to left" non-exclusive checkable item which is linked to the "Left to Right" checkbox in the demo frame</span>.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">For colour scheme exploration I adapted a thin wrapper around KColorSchemeManager written originally by Alexander Zhigalin for KDevelop;</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">An earlier version added a menu action to toggle the layout direction (mostly to provide a non-exclusive checkable item) and made sure to initialise the layout direction checkbox as a function of the startup direction.</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">it is used to add a button with drop-down menu to the page widget's button box which makes it available in all views</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">The menu item was removed on request but I decided to leave the checkbox initialisation </span>.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">The menu additions have been c</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">C</span>hecked on Linux and Mac OS X with Qt 5.6.0 - 5.8.0 and frameworks 5.22.0 - 5.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">32.0; the colour scheme addition with Qt 5.8.0 and frameworks 5.32</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">35</span>.0 .<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R113 Oxygen Theme</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5111" rel="noreferrer">https://phabricator.kde.org/D5111</a></div></div><br /><div><strong>To: </strong>rjvbb, hpereiradacosta, jriddell, zhigalin, anthonyfieroni<br /><strong>Cc: </strong>ltoscano, kde-mac, Frameworks<br /></div>