Thanks for the quick reply. I tried extending a QWidget after failing with QDockWidget. I wasn't sure if I sure promote to a Dock or a DockArea. (Looks like I can't get there from here yet anyway though.) I'll wait and see how your PR shakes out.
On Tuesday, August 9, 2016 at 2:47:35 PM UTC-4, Daniel Lidstrom wrote: > > The DockArea doesn't extend QDockWidget, only QWidget. So you could > promote a QWidget, except for the fact that this assumes the constructor > can take a single non-keyword argument and assume it to be its parent, > which is not the case for DockArea. I've got a PR to fix this here: > https://github.com/pyqtgraph/pyqtgraph/pull/158 > > > On Tuesday, August 9, 2016 at 12:36:49 PM UTC-6, Tim Williams wrote: >> >> Hi. >> >> Very new to both PyQt and pyqtgraph. Is there a way to promote a >> QDockWidget to a Dock widget in pyqtgraph? I've seen the example in >> >> >> http://www.pyqtgraph.org/documentation/how_to_use.html#embedding-widgets-inside-pyqt-applications >> >> but I don't see how to do this for Docks. I want to be able to use >> QtDesigner to set up a *.ui file, but also be able to use the more capable >> Docks in pyqtgraph. >> >> Thanks for any help. >> >> -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/d680a131-6129-449f-9788-5ea6e8f2d2c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
