[Qgis-developer] removeDockWidget - patch

Martin Dobias wonder.sk at gmail.com
Mon Mar 16 10:24:18 EDT 2009


On Sat, Mar 7, 2009 at 2:54 PM, Andrej Krutak <andree at andree.sk> wrote:
> Hi boys & girls,
>
> The qgis interface is missing removeDockWidget method. Do you (some of
> developers) think, it could be added? If yes, I've created a patch (against
> revision 10264), it's really just trivial few lines of code - it's
> attached... Only adds the method and python bindings for it...

I've applied the patch to trunk in r10286.

(in C++ it's fairly simple to remove a dock widget just by deleting
it, but in Python the widget is owned by main window, so it's more
tricky to get rid of it without removeDockWidget function).

Martin


More information about the Qgis-developer mailing list