I’m very new to PyQt and Python, so hopefully this question makes sense.
I have a QTreeView, QListView and QTextEdit set next to one another in a column like format. As a user, lets say I’d like to alter the width of one of the columns. How do I go about achieving this? If you’re a user of Maya, imagine a paneLayout, this is what I’m trying to achieve.
Example:
[1][2][3]
[ 1 ][2][3]
[1][ 2 ][ 3 ]
…rather than just resizing the whole window. I hope this makes sense…!
Thanks to anyone who can help!
I’m not a Maya user so I don’t know what a paneLayout is, but it sounds like what you’re looking for can be achieved with a QSplitter (see here or here).
Here’s a quick example: