问题描述
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
使用线条
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.
例如,我通过 ComboBox 按照上图获取输入,然后我需要列出 嗯_不 纬度 经度 年 EC_GEN 像 ComboBox_1、ComboBox_2 中的这些。 请给你的建议...
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)