D29065: [KFontChooser] Add a DisplayFlag to allow not showing fixedOnly checkbox

Ahmad Samir noreply at phabricator.kde.org
Tue Apr 21 17:56:30 BST 2020


ahmadsamir created this revision.
ahmadsamir added reviewers: Frameworks, dfaure, cfeck, bport.
Herald added a project: Frameworks.
ahmadsamir requested review of this revision.

REVISION SUMMARY
  This is useful for apps that only want users to select monospaced fonts,
  and apps that embed KFontChooser, e.g. Konsole that has its own checkbox
  and an accompanying "warning" button (in fact the checkbox in KFontChooser
  was inspired by the one in Konsole, and we don't want the font widget
  there to suffer by having two checkboxes doing the opposite function of
  each other).

TEST PLAN
  See the kfontchooserdialogtest app

REPOSITORY
  R236 KWidgetsAddons

BRANCH
  l-kfontchooser-onlyfixed-display-flag (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D29065

AFFECTED FILES
  src/kfontchooser.cpp
  src/kfontchooser.h
  tests/kfontchooserdialogtest.cpp

To: ahmadsamir, #frameworks, dfaure, cfeck, bport
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200421/3040e0c9/attachment.html>


More information about the Kde-frameworks-devel mailing list