[Differential] [Commented On] D4792: [Kicker] Property for hiding app categories in RootModel

Eike Hein noreply at phabricator.kde.org
Mon Feb 27 12:54:10 UTC 2017


hein added a comment.


  I totally get your argument, but this two-steps-forward-one-step-back code is still so ugly - we need some sort of new approach to composability here. It's more work but may lead us into a better direction long-term.
  
  QML like this would be nice:
  
  FooModel {
  
    id: foomodel
    RecentUsageModel {}
    RecentAppsModel {}
  
  }
  
  View {
  
    model: foomodel
  
  }
  
  I.e. be able to define your own menu structure in QML by writing a model that adds child objects to its own entry list.

REPOSITORY
  R119 Plasma Desktop

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: subdiff, #plasma
Cc: hein, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170227/4053e471/attachment.html>


More information about the Plasma-devel mailing list