Python 在组合框中列出数据帧/属性行

Python 在组合框中列出数据帧/属性行,python,plugins,combobox,qgis,pyqgis,Python,Plugins,Combobox,Qgis,Pyqgis,使用线路 Hii I am new to qgis plugin creation.I have create a`enter code here` 3 Combobox like these Combobox,Combobox_1,Combobox_2, I get the data input from Combobox 例如,我通过Combobox获得上述图像的输入,然后我需要列出 嗯,不 纬度 经度 年 欧几根 就像组合框1,组合框2中的这些。 请给出你的建议 layers

使用线路

    Hii I am new to qgis plugin creation.I have create a`enter code here` 3 Combobox like these Combobox,Combobox_1,Combobox_2, I get the data input from Combobox

例如,我通过Combobox获得上述图像的输入,然后我需要列出 嗯,不 纬度 经度 年 欧几根 就像组合框1,组合框2中的这些。 请给出你的建议

layers = QgsProject.instance().layerTreeRoot().children()
self.dlg.comboBox.addItems([layer.name() for layer in layers]) 

   I stucked here itself.Now I need to selected the listed layer from Combobox.Then to list the index of the dataframe in Combobox_1,Combobox_2 which from the Combobox.