Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGraphicsView - dragMove items - signal/slot ?
QtWS25 Last Chance

QGraphicsView - dragMove items - signal/slot ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qgraphicsviewqgraphicsitem
2 Posts 2 Posters 332 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dariusz
    wrote on 14 Jul 2019, 19:14 last edited by Dariusz
    #1

    Hey

    I'd like to send some signals/perform some actions while I drag my item in QGraphicsView, which signal/slot/function should I hock up to, to use the Qt's native system?

    TIA

    Just found :
    QVariant itemChange(GraphicsItemChange change, const QVariant &value);
    Perhaps its that? o.O

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Jul 2019, 21:34 last edited by
      #2

      Hi,

      Without more details form you side, it looks like that's the function you are looking for.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      14 Jul 2019, 21:34

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved