[PyQt] split a layout in half to add a widget at runtime.
pshinners at blizzard.com
Wed Aug 26 17:06:34 BST 2009
These are pictures of Houdini btw, not Maya. I've written this type of interface a couple times before. My best success was moving away from "nested splitters" and moving to a "flat" layout of a bunch of panel widgets.
This required me to handle all the dragging myself, but that was a fairly easy part to write. Then I could do things like drag at the intersections to move in both directions. Best of all it freed my layout from each panel having an arbitrary "depth", which will imply small restrictions on the types of splits you can make.
From: pyqt-bounces at riverbankcomputing.com [mailto:pyqt-bounces at riverbankcomputing.com] On Behalf Of tabish-->
Sent: Wednesday, August 26, 2009 12:03 AM
To: pyqt at riverbankcomputing.com
Subject: [PyQt] split a layout in half to add a widget at runtime.
split a layout in half to add a widget at runtime.
it should work similar to split ofr Qdockwiget.
please check the image below to get an idea about it, please help me out i
this is before the split of the window, and please note that all the widget
this is after the split.
View this message in context: http://www.nabble.com/split-a-layout-in-half-to-add-a-widget-at-runtime.-tp25147662p25147662.html
Sent from the PyQt mailing list archive at Nabble.com.
PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt