D22609: Add spacers as a customization option for toolbars

Felix Ernst noreply at phabricator.kde.org
Sun Jul 21 12:49:43 BST 2019


felixernst created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
felixernst requested review of this revision.

REVISION SUMMARY
  This commit adds spacers to the kxmlgui framework so all applications
  using it will be able to use any amount of spacers in their toolbar(s).
  
  KEditToolbar gets the --- spacer --- entry by default. This entry is
  modified to allow any amount of spacers to be put into the toolbars
  (just like separators).
  The xml scheme is changed to allow "<Spacer name="spacer_0" />" nodes
  (just like separators).
  KXmlGuiBuilder then builds the simple spacer by itself.

REPOSITORY
  R263 KXmlGui

BRANCH
  master

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

AFFECTED FILES
  src/kedittoolbar.cpp
  src/kedittoolbar.h
  src/kxmlgui.xsd
  src/kxmlguibuilder.cpp

To: felixernst
Cc: kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190721/d566d7ad/attachment.html>


More information about the Kde-frameworks-devel mailing list