Hi!
I just wonder if exist solution for runtime layout customization?( moving widgets on layout when app is runnning).
If of course no, then which way is fastest to implement it? Or may be there some solution, which could be a begin for this one?
Hi!
I just wonder if exist solution for runtime layout customization?( moving widgets on layout when app is runnning).
If of course no, then which way is fastest to implement it? Or may be there some solution, which could be a begin for this one?
Yes, you can always use QLayout::addWidget and QLayout:::removeWidget.
No. I mean runtime drag'n'drop
It must be done like in Qt designer(on moving show possible places, snap to other widgets etc ).
Of course it's simple if for instance using gridlayout, but layout must be like "flow layout" in examples.
If you provide drag&drop facilities around the methods I mentioned then yes. But you have to implement it yourself.
Bookmarks