微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

列出组合框中的数据框/属性行

如何解决列出组合框中的数据框/属性行

    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.

enter image description here

enter image description here

例如,我通过 ComboBox 按照上图获取输入,然后我需要列出 嗯_不 纬度 经度 年 EC_GEN 像 ComboBox_1、ComboBox_2 中的这些。 请给你的建议...

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。