i'm working on a QGIS-plugin and want to move the default LayerPanel/Dockwidget to somewhere else programmatically. More specific: i want to move it into a tab of my tabwidget. Is this possible? How can i get access to that specic dockwidget out of python?
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
Unfortunately the QDockWidgets that display a title of "Layers" and "Layer Order" both have an objectName of "Legend". This code will gain access to the right widget:
It can then be placed by calling |
|||
|
|