<table><tr><td style="">marten created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D4740" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This change improves the layout of the font hinting sub-dialogue of this KCM.  Previously there was no spacing around or between the GUI elements and the combo boxes did not line up:</p>

<p><a href="https://phabricator.kde.org/F2542184" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2542184: fontskcm-hinting-settings-Dx-before.png</a></p>

<p>Now the dialogue uses a QFormLayout (but left aligned as discussed in <a href="https://phabricator.kde.org/D2853" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;" rel="noreferrer">D2853</a>) with style default spacing:</p>

<p><a href="https://phabricator.kde.org/F2542188" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F2542188: fontskcm-hinting-settings-Dx-after.png</a></p>

<p>In addition some porting away from KDE4 support is done:</p>

<p>KDialog -> QDialog<br />
KApplication -> QApplication<br />
KProcess -> QProcess<br />
KStandardDirs -> KSharedConfig<br />
KDoubleNumInput -> QDoubleSpinBox</p>

<p>There is, however, some KDE4 porting still remaining to be done, since I'm not sure whether there are Frameworks equivalents to these at the moment:</p>

<p>KGlobalSettings::emitChange(KGlobalSettings::FontChanged);<br />
KFontDialog::getFontDiff()</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built plasma-desktop with  these changes, checked correct appearance and operation of Fonts KCM.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4740" rel="noreferrer">https://phabricator.kde.org/D4740</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/fonts/fonts.cpp<br />
kcms/fonts/fonts.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>marten, Plasma<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>