python - 列出组合框中的数据框/属性行
问题描述
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 根据上图获取输入,然后我需要在 Combobox_1、Combobox_2 中列出 Well_no Latitude Longitude Years EC_GEN 像这些。请给你的建议...
解决方案
推荐阅读
- ssis - 将大约 600 个表中的数据从一个数据库移动到另一个数据库
- oracle - 如何在嵌套表中使用 PL/SQL 记录数据类型?
- twilio - 我可以在收到新电子邮件时生成 Twilio SMS(电子邮件 -> SMS)吗?
- c - 为什么这个 #define STMT ( 0 || g() ) 会产生编译器错误 [-Werror=unused-value]?
- python - 短路和浮动
- php - 来自 url 的 Laravel 访问 id
- php - 将大数组数组转换为无循环关联数组
- python - 我可以打印并清除一行吗?
- android - 如何在 firebase 数据库中添加值并存储总数
- isabelle - Isabelle/HOL 中类型的语法缩写?