D5490: Only follow mouse when moved (Fixes Bug #372635)

Lukas F├╝rmetz noreply at phabricator.kde.org
Tue Apr 18 13:39:01 UTC 2017


lfurmetz added a comment.


  In https://phabricator.kde.org/D5490#103053, @anthonyfieroni wrote:
  
  > You can do this:
  >
  >   property bool moved: false
  >   onMovedChanged: if (moved) {
  >       listView.currentIndex = index
  >   }
  >   onPositionChanged: {
  >   ...
  >   moved = true;
  >   }
  >
  
  
  I tried this, but onPositionChanged doesn't fire for me at all in qt 4.8.0.. Is this a bug?
  
  Is it possible to attach the property __moved to the parent ListView dynamically, so it can be checked by all delegates?

REPOSITORY
  R112 Milou

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

To: leszeklesner, broulik
Cc: lfurmetz, anthonyfieroni, davidedmundson, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170418/f48a17af/attachment.html>


More information about the Plasma-devel mailing list