Important: Please read the Qt Code of Conduct -

Implementation of gui designer

  • I'm interested in making my own small gui designer for learning purposes in Qt. Just basic drag and drop from left panel which would have controls, to right panel on which they could be selected, moved, resized and have their properties changed (name and such) and eventually (if selected) be lined up.

    I would use QGraphicsScene as the right panel cause it already has selecting and moving implemented. But how would I implement resizing? And then how would I generate a QWidget class with controls at same positions? Or is there an easier way?

    What would be the best way to implement all of this? All suggestions are welcome and keep in mind that it won't be complex as Qt designer.

Log in to reply