Results 1 to 3 of 3

Thread: Movable Widgets and QGraphicsWidget

  1. #1
    Join Date
    May 2011
    Posts
    11
    Qt products
    Qt4
    Thanks
    3

    Default Movable Widgets and QGraphicsWidget

    Hi all,

    I'm working on a application. In this application will have QWidgets that I want to be able to move freely within the application per drag'n'drop and I want to be able to resize them. My current aproach is to implement these QWidgets as QGraphicsWidget and place them in a QGraphicsScene. Before I put too much time into this, what do you think?

    Do you think it would work? Should I rely on other classes? Can you suggest something else?

    Thanks in advance!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Movable Widgets and QGraphicsWidget

    How about QMdiArea?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    ts66 (30th October 2012)

  4. #3
    Join Date
    May 2011
    Posts
    11
    Qt products
    Qt4
    Thanks
    3

    Default Re: Movable Widgets and QGraphicsWidget

    This looks very good, thank you wysota.

Similar Threads

  1. Replies: 0
    Last Post: 14th February 2012, 12:03
  2. QGraphicsItem Movable
    By QbelcorT in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2009, 12:56
  3. QWidget movable
    By Pragya in forum Qt Programming
    Replies: 4
    Last Post: 30th March 2007, 09:39
  4. How to create a movable border between two widgets?
    By Teuniz in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2007, 09:45
  5. How to movable dock widgets?
    By becond in forum Qt Tools
    Replies: 3
    Last Post: 21st February 2006, 20:57

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.