Handling Layouts like in Qt Designer
I am working on an designer where I can put different custom widget with custom properties and functionality, All of which is configurable by the user, I would like to add a feature to handle layouts, the same way Qt designer does like
- Specifying a layout for a container (QWidget)
- Highlighting the position where we can drop the widget in a layout. (dark blue line in Qt Designer form)
- Component positioning and resizing.
Any help is highly appreciated,
You can take a look on Qt "designer":http://code.woboq.org/qt5/qttools/src/designer/src/ or QtCreator "designer":http://code.woboq.org/qt5/qt-creator/src/plugins/designer/ plugin sources