[SOLVED] re-sizing QTreeWidget
My program interface contains two QTreeWidgets and one QLabel.
I want update automatically re-size other widgets when user re-sizes any of these widgets.
Updating whole window and maintaining aspect ratio seems bit tricky to me
How can I do that? Any idea/help is ppreciated.
bq. I want update automatically re-size other widgets when user re-sizes any of these widgets.
How will user re-size one widget?
I want to add standard re-size functionality by mouse-left button pressed and movement.
Mouse left button pressed and dragged left/right to increase/decrease size of the widget.
I want to maintain aspect ratio of the other widgets in the whole main window.
Using Mouse...no in-built Qt layout can do this, you need to write a your own custom widget and a custom layout manager, and handle all resize events, and move events manually, with very minimal support from inbuilt layout manager.