-
Notifications
You must be signed in to change notification settings - Fork 4
/
ui_R6.py
106 lines (100 loc) · 5.46 KB
/
ui_R6.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_R6.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_R6(object):
def setupUi(self, R6):
R6.setObjectName("R6")
R6.resize(743, 312)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(R6.sizePolicy().hasHeightForWidth())
R6.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(8)
R6.setFont(font)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("images/R6.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
R6.setWindowIcon(icon)
self.verticalLayout = QtWidgets.QVBoxLayout(R6)
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.leR6SpToMatch = QtWidgets.QLineEdit(R6)
self.leR6SpToMatch.setFocusPolicy(QtCore.Qt.ClickFocus)
self.leR6SpToMatch.setObjectName("leR6SpToMatch")
self.horizontalLayout.addWidget(self.leR6SpToMatch)
self.butR6Match = QtWidgets.QPushButton(R6)
self.butR6Match.setObjectName("butR6Match")
self.horizontalLayout.addWidget(self.butR6Match)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.lbR6Select = QtWidgets.QLabel(R6)
self.lbR6Select.setEnabled(False)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lbR6Select.sizePolicy().hasHeightForWidth())
self.lbR6Select.setSizePolicy(sizePolicy)
self.lbR6Select.setMinimumSize(QtCore.QSize(0, 0))
self.lbR6Select.setMaximumSize(QtCore.QSize(200, 16777215))
self.lbR6Select.setObjectName("lbR6Select")
self.horizontalLayout_2.addWidget(self.lbR6Select)
self.cmbSpToMap = QtWidgets.QComboBox(R6)
self.cmbSpToMap.setEnabled(False)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cmbSpToMap.sizePolicy().hasHeightForWidth())
self.cmbSpToMap.setSizePolicy(sizePolicy)
self.cmbSpToMap.setObjectName("cmbSpToMap")
self.horizontalLayout_2.addWidget(self.cmbSpToMap)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.cbIncSpBelow = QtWidgets.QCheckBox(R6)
self.cbIncSpBelow.setEnabled(False)
self.cbIncSpBelow.setObjectName("cbIncSpBelow")
self.verticalLayout.addWidget(self.cbIncSpBelow)
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem)
self.lblBusy = QtWidgets.QLabel(R6)
font = QtGui.QFont()
font.setPointSize(16)
self.lblBusy.setFont(font)
self.lblBusy.setObjectName("lblBusy")
self.horizontalLayout_4.addWidget(self.lblBusy)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout_4)
spacerItem2 = QtWidgets.QSpacerItem(20, 177, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem2)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem3)
self.butGetR6Data = QtWidgets.QPushButton(R6)
self.butGetR6Data.setEnabled(False)
self.butGetR6Data.setObjectName("butGetR6Data")
self.horizontalLayout_3.addWidget(self.butGetR6Data)
self.butCancel = QtWidgets.QPushButton(R6)
self.butCancel.setObjectName("butCancel")
self.horizontalLayout_3.addWidget(self.butCancel)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.retranslateUi(R6)
QtCore.QMetaObject.connectSlotsByName(R6)
def retranslateUi(self, R6):
_translate = QtCore.QCoreApplication.translate
R6.setWindowTitle(_translate("R6", "Get Recorder 6 data"))
self.leR6SpToMatch.setPlaceholderText(_translate("R6", "Enter species search text"))
self.butR6Match.setText(_translate("R6", "Match taxon name..."))
self.lbR6Select.setText(_translate("R6", "Select taxon:"))
self.cbIncSpBelow.setText(_translate("R6", "Include taxa of lower ranks"))
self.lblBusy.setText(_translate("R6", "Retrieving data from Recorder 6..."))
self.butGetR6Data.setText(_translate("R6", "Get R6 data"))
self.butCancel.setText(_translate("R6", "Cancel"))