Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Help with QGraphicsScene, QGraphicsView

$
0
0
Hi All! I’m trying to develop a project for which I want to split the mainwindow into multiple layouts so that I can add widgets to these layouts at a later stage without having to worry about its positioning. The mainwindow layouts must look something like, Layout 1 Layout 2 Layout 3 I will be adding widgets onto this layout to display the UI on those widgets. Which is the best method to accomplish this? Should I use QGraphicsScene and QGraphicsView combo or QDockWidget? I’m not so sure about QDockWidget because I don’t want the widgets to be moved. I tried setting layouts on a widget that was the centralwidget of the mainwindow but it wasn’t so easy to add and delete widgets as needed. I had to reset the layouts each time. Does anybody have any ideas? Thanks. P.S. : I tries reading this [qt-project.org] Would it be an ideal solution for me?

Viewing all articles
Browse latest Browse all 18427

Trending Articles