<table><tr><td style="">ahmadsamir updated this revision to Diff 80989.<br />ahmadsamir marked 2 inline comments as done.<br />ahmadsamir retitled this revision from "[KFontChooser] Add a DisplayFlag to allow not showing fixedOnly checkbox" to "[KFontChooser] Add new DisplayFlag; modify how flags are used".<br />ahmadsamir edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-74y4pgjdzbmrsbg/">(Show Details)</a><br />ahmadsamir added a comment.
</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/D29065">View Revision</a></tr></table><br /><div><div><p>Verbatim</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">This is useful for apps that only want users to select monospaced fonts,</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Add a DisplayFlag to allow users of KFontChooser to disable showing the<br />
checkbox that toggles listing only monospaced fonts. This is useful for</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">and </span>apps that embed KFontChooser, e.g. Konsole that has its own checkbox<div style="padding: 8px 0;">...</div>each other).<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
In ShowDifferences mode, call setEnabled(false) on the list views and co.<br />
after checking "flags & ShowDifferences", using XOR "flags ^ ShowDifferences"<br />
would fail if another flag was set.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R236 KWidgetsAddons</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D29065?vs=80988&id=80989">https://phabricator.kde.org/D29065?vs=80988&id=80989</a></div></div><br /><div><strong>BRANCH</strong><div><div>l-kfontchooser-onlyfixed-display-flag (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29065">https://phabricator.kde.org/D29065</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kfontchooser.cpp<br />
src/kfontchooser.h<br />
tests/kfontchooserdialogtest.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Frameworks, dfaure, cfeck, bport<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>