D25520: GridViewKCM expose a property to disable the GridView in a KCM without disabling the whole KCM

Kevin Ottens noreply at phabricator.kde.org
Tue Nov 26 10:35:17 GMT 2019


ervin added a comment.


  In D25520#567644 <https://phabricator.kde.org/D25520#567644>, @davidedmundson wrote:
  
  > Throwing out an alternative suggestion
  >
  >   readonly property alias gridContainer: scroll 
  >
  >
  > (and then your code calling gridContainer.enabled = whatever)
  >
  > It's more generic for any future stuff, and it solves the issue of trying to convey the difference between "view.enabled" and "viewEnabled"
  
  
  I has the downside of throwing any possibility of encapsulation through the window though... Your call I'd say but that's something to keep in mind.

REPOSITORY
  R296 KDeclarative

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

To: crossi, #plasma, ervin, bport, mart, davidedmundson
Cc: broulik, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191126/88a84233/attachment.html>


More information about the Kde-frameworks-devel mailing list