Results 1 to 2 of 2

Thread: QWidget in QWidget

  1. #1
    Join Date
    Feb 2015
    Posts
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default QWidget in QWidget

    Hi, how can i put QWidget in QWidget to act like my icons in my desktop. I Want to make simulation of desktop, where i have icons and windows who cant leave QWidget area.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,342
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: QWidget in QWidget

    Use a QGraphicsView as the view for your application. Use a QGraphicsScene and add QGraphicsPixmapItem instances to represent the icons.

Similar Threads

  1. Replies: 1
    Last Post: 30th May 2014, 18:09
  2. Replies: 1
    Last Post: 16th September 2010, 16:57
  3. Replies: 1
    Last Post: 12th April 2010, 13:55
  4. Replies: 3
    Last Post: 2nd April 2010, 00:56
  5. Replies: 1
    Last Post: 2nd May 2006, 22:11

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.