Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. moving

    Log in to post
    • All categories
    • F

      Unsolved Proper way to snap widget to mouse and ensure fluent movement.
      General and Desktop • moving widget mouse • • frogi16

      1
      0
      Votes
      1
      Posts
      446
      Views

      No one has replied

    • L

      Solved How do I make objects in Qt3D move?
      Game Development • qt3d qttransform moving • • Lias

      6
      0
      Votes
      6
      Posts
      4747
      Views

      L

      @Neosw Thanks for your help. I tried this by myself two days ago and it worked!

    • Ganou_R

      Solved How to set a moving background (images) into my QWidget
      General and Desktop • moving background qwidget qgraphicsscene • • Ganou_R

      5
      0
      Votes
      5
      Posts
      4609
      Views

      Ganou_R

      @VRonin
      Hi
      Oh yeah, I didn't think about a .gif ! That will spare me the complication of trying to find a way to make the scene recurrent. Thank you !

    • S

      Move a QGraphicsPixmapItem through keyboard
      Game Development • graphics scene game qgraphicsitem keyboard moving • • swapnilp96

      3
      0
      Votes
      3
      Posts
      2242
      Views

      SGaist

      Just saw that you already posted the same question here

      Please, don't post the same questions multiple times in different sub forum. One is enough.

      Closing it.

    • H

      How to move rectangle with mouse ?
      QML and Qt Quick • qt quick moving • • halil sogut

      3
      0
      Votes
      3
      Posts
      3275
      Views

      Pradeep P N

      @halil-sogut

      Hi,
      Just add MouseArea and make target of rectangle which you want to drag. Use drag property and just set X and Y of the mouse to the Rectangle's X and Y.

    • M

      MouseArea moves under cursor position
      QML and Qt Quick • containsmouse listview mousearea moving • • maxsivkov

      4
      0
      Votes
      4
      Posts
      1938
      Views

      p3c0

      @maxsivkov

      Scenario is to have several elements (images with attached mouseareas (to change image source when mouse is inside the image)
      and also show hints (tooltips) for listview's item.

      So its better no to do it when the ListView scrolls and only when user hovers mouse over that particular Item

      To show tooltip my idea was to sit on a onPositionChanged event and restart timer, stop it in onExited event.

      I think better to use onEntered and onExited. Using onPositionChanged will continuously restart it as mouse moves. Also hide it after a particular timeout instead of only in onExited.