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/c77b57d8-d7f7-483f-b551-6706e916f623%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to