PDA

View Full Version : QWidget in QWidget



Sashabn
19th February 2016, 21:25
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.

d_stranz
20th February 2016, 17:09
Use a QGraphicsView as the view for your application. Use a QGraphicsScene and add QGraphicsPixmapItem instances to represent the icons.