PySide : adjustable panels/widgets

49 views
Skip to first unread message

Todd Widup

unread,
Jul 9, 2015, 1:01:57 AM7/9/15
to python_in...@googlegroups.com
hey guys..
thinking about incorporating an adjustable sections in this GUI..to allow the user to stretch one treeView out a bit more.  is there anything built into PySide for hanlding this or would it be the following :

create button
create a mouseEvent to register the mouse movement and then adjust the side of the panel based on that

I am currently not using a layout as I couldn't find any that would match what I needed.

cheers
-todd

--
Todd Widup
Creature TD / Technical Artist
to...@toddwidup.com
todd....@gmail.com
www.toddwidup.com

Justin Israel

unread,
Jul 9, 2015, 4:21:59 AM7/9/15
to python_in...@googlegroups.com

Take a look at QSplitter. It is made for laying N number of widgets, vertically or horizontally, with adjustable splitter bars between them.

http://doc.qt.io/qt-4.8/qsplitter.html


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABBPk36LChGytWnDhO6QKOn-aLb2A-nrv5CtJ%2BuNW2E%3Dfhb-Cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Todd Widup

unread,
Jul 9, 2015, 9:40:18 AM7/9/15
to python_in...@googlegroups.com
thanks Justin, much appreciated


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages