You'll want to use a QgsMapLayerComboBox. If you're just after quick and dirty, you can show the combobox alone in a window using: w=qgis.gui.
確定! 回上一頁