Results 1 to 3 of 3

Thread: drag and frop widgets

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    60
    Thanks
    21
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default drag and frop widgets

    Hi,
    I have some widgets on top of a widget, How can i drag the top widget and place them in a new position.

    thank you,

    regards,
    sree

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: drag and frop widgets

    Reinplement mouseMoveEvent for needed widget and then move it if before moving was pressed mouse button.
    a life without programming is like an empty bottle

  3. The following user says thank you to zlatko for this useful post:

    sreedhar (16th May 2006)

  4. #3
    Join Date
    Feb 2006
    Posts
    60
    Thanks
    21
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: drag and frop widgets

    thanks a lot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.