[PyQt] Problems with DockWidgets
Phil Thompson
phil at riverbankcomputing.com
Wed Jun 11 14:38:26 BST 2008
On Wednesday 11 June 2008 1:43:36 pm Gustavo A. Díaz wrote:
> Hi guys, i was creating a QDockWidget only widget to integrate it on my
> application. So, I've created from Qt Designer and exported to .py as well.
>
> When i execute my App, i have:
>
> File "gui/ui_workstationDockWidget.py", line 16, in setupUi
> workstationDockWidget.setFloating(False)
> AttributeError: setFloating
>
> I am ataching the ui.
>
> Cheers.
Looks like the widget you are passing to setupUi() isn't a QDockWidget.
Phil
More information about the PyQt
mailing list