-
Notifications
You must be signed in to change notification settings - Fork 3
/
FieldDialog_base.py
48 lines (41 loc) · 2.16 KB
/
FieldDialog_base.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'FieldDialog.ui'
#
# Created by: PyQt5 UI code generator 5.9
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from qgis.gui import QgsMapLayerComboBox
class Ui_Targetselection(QtWidgets.QDialog):
def setupUi(self, Targetselection):
Targetselection.setObjectName("Targetselection")
Targetselection.resize(438, 328)
Targetselection.setModal(True)
self.verticalLayout = QtWidgets.QVBoxLayout(Targetselection)
self.verticalLayout.setObjectName("verticalLayout")
self.layerLabel = QtWidgets.QLabel(Targetselection)
self.layerLabel.setObjectName("layerLabel")
self.verticalLayout.addWidget(self.layerLabel)
self.targetLayerComboBox = QgsMapLayerComboBox(Targetselection)
self.targetLayerComboBox.setObjectName("targetLayerComboBox")
self.verticalLayout.addWidget(self.targetLayerComboBox)
self.fieldTable = QtWidgets.QTableWidget(Targetselection)
self.fieldTable.setColumnCount(2)
self.fieldTable.setObjectName("fieldTable")
self.fieldTable.setRowCount(0)
self.fieldTable.horizontalHeader().setVisible(False)
self.fieldTable.horizontalHeader().setStretchLastSection(True)
self.verticalLayout.addWidget(self.fieldTable)
self.buttonBox = QtWidgets.QDialogButtonBox(Targetselection)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout.addWidget(self.buttonBox)
self.verticalLayout.setStretch(2, 1)
self.retranslateUi(Targetselection)
self.buttonBox.rejected.connect(Targetselection.reject)
QtCore.QMetaObject.connectSlotsByName(Targetselection)
def retranslateUi(self, Targetselection):
_translate = QtCore.QCoreApplication.translate
Targetselection.setWindowTitle(_translate("Targetselection", "Dialog"))
self.layerLabel.setText(_translate("Targetselection", "Target layer:"))