[Qgis-developer] How to add a QDockWidget?
Tim Sutton
tim at linfiniti.com
Thu Jul 3 08:07:20 EDT 2008
Hi Markus
Firstly my apologies for the breakage of your toolbox related code -
we are busy cleaning up the UI for the 1.0 release and unfortunately
the toolbox was dropped. I'm going to change the plugin interface to
expose the addDockWidget call - can you please file a bug and I will
do this (unfortunately it will be ost 0.11.0 release since we are in
feature freeze. If this feature is really important to you and since
its scope is quite small we can put in a request for a last minute
change before 0.11.0 goes out to accommodate your needs.
Regards
Tim
2008/7/3 Markus Havemann <m.havemann at gmx.de>:
> Hello
>
> somewhere between v0.10.0 and now the Legend and Overview Box was
> changed from QToolBox to QDockWidgets.
>
> Before it was possible to add my own ToolBoxItems by calling
> QgisAppInterface::getToolBox() and then adding the items.
>
> Now it should work by preparing QDockWidgets and then calling the
> QgsApp member inherited from QMainWindow addDockWidget(
> Qt::DockWidgetArea area, QDockWidget * dockwidget ). But I can't find
> any Interface member to enable me to do this from a plugin?
>
> Any suggestion, how to do this?
>
> Ciao
> Markus
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Tim Sutton
QGIS Project Steering Committee Member - Release Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
More information about the Qgis-developer
mailing list