[PyQt] how to create a sub widget that is horizontally resizable (with resizable borders) within the main widget?

Islam, Tanim S. islam5 at llnl.gov
Wed Sep 21 00:01:28 BST 2016


Hello,

I apologize for attaching a figure, but I think this would be the clearest way to describe my issue, which I do not have the vocabulary to describe right now.
[cid:12DD9C01-A4F1-4BEB-B48C-8FAD94270A69]

Basically, how do I construct (with perhaps QWidgets and QLayouts), a main window where I could shrink or expand the relative sizes of two sub widgets, by moving the horizontal line separating them from each other up and down? Would I have to implement a special QTableView to do so?

Thanks,

Tanim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160920/fc846ec8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_resizing[1].png
Type: image/png
Size: 105016 bytes
Desc: example_resizing[1].png
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160920/fc846ec8/attachment-0001.png>


More information about the PyQt mailing list