-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFluxCEN_dialog_base.py
156 lines (147 loc) · 7.5 KB
/
FluxCEN_dialog_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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'FluxCEN_dialog_base.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.setEnabled(True)
Dialog.resize(910, 800)
Dialog.setMinimumSize(QtCore.QSize(910, 800))
Dialog.setMaximumSize(QtCore.QSize(910, 800))
self.comboBox = QtWidgets.QComboBox(Dialog)
self.comboBox.setGeometry(QtCore.QRect(260, 130, 171, 22))
self.comboBox.setEditable(False)
self.comboBox.setCurrentText("")
self.comboBox.setObjectName("comboBox")
self.label_3 = QtWidgets.QLabel(Dialog)
self.label_3.setGeometry(QtCore.QRect(350, 20, 221, 71))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/logo.jpg"))
self.label_3.setScaledContents(True)
self.label_3.setObjectName("label_3")
self.pushButton_2 = QtWidgets.QPushButton(Dialog)
self.pushButton_2.setGeometry(QtCore.QRect(370, 750, 171, 23))
self.pushButton_2.setObjectName("pushButton_2")
self.tableWidget = QtWidgets.QTableWidget(Dialog)
self.tableWidget.setEnabled(True)
self.tableWidget.setGeometry(QtCore.QRect(30, 170, 850, 281))
self.tableWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
self.tableWidget.setObjectName("tableWidget")
self.tableWidget.setColumnCount(0)
self.tableWidget.setRowCount(0)
self.tableWidget_2 = QtWidgets.QTableWidget(Dialog)
self.tableWidget_2.setGeometry(QtCore.QRect(30, 550, 850, 181))
self.tableWidget_2.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
self.tableWidget_2.setObjectName("tableWidget_2")
self.tableWidget_2.setColumnCount(0)
self.tableWidget_2.setRowCount(0)
self.commandLinkButton = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton.setGeometry(QtCore.QRect(400, 470, 61, 61))
self.commandLinkButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/arrow-bottom.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton.setIcon(icon)
self.commandLinkButton.setIconSize(QtCore.QSize(50, 40))
self.commandLinkButton.setObjectName("commandLinkButton")
self.commandLinkButton_2 = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton_2.setGeometry(QtCore.QRect(460, 470, 61, 61))
self.commandLinkButton_2.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/arrow-up.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton_2.setIcon(icon1)
self.commandLinkButton_2.setIconSize(QtCore.QSize(50, 40))
self.commandLinkButton_2.setObjectName("commandLinkButton_2")
self.lineEdit = QtWidgets.QLineEdit(Dialog)
self.lineEdit.setEnabled(True)
self.lineEdit.setGeometry(QtCore.QRect(480, 130, 171, 21))
self.lineEdit.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit.setReadOnly(False)
self.lineEdit.setClearButtonEnabled(True)
self.lineEdit.setObjectName("lineEdit")
self.commandLinkButton_3 = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton_3.setGeometry(QtCore.QRect(750, 20, 131, 41))
font = QtGui.QFont()
font.setFamily("Segoe UI")
font.setPointSize(9)
self.commandLinkButton_3.setFont(font)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/globe.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton_3.setIcon(icon2)
self.commandLinkButton_3.setIconSize(QtCore.QSize(20, 20))
self.commandLinkButton_3.setObjectName("commandLinkButton_3")
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(40, 150, 161, 16))
font = QtGui.QFont()
font.setFamily("Calibri")
font.setPointSize(10)
font.setItalic(False)
self.label.setFont(font)
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(Dialog)
self.label_2.setGeometry(QtCore.QRect(30, 530, 171, 16))
font = QtGui.QFont()
font.setFamily("Calibri")
font.setPointSize(10)
font.setItalic(False)
self.label_2.setFont(font)
self.label_2.setObjectName("label_2")
self.commandLinkButton_4 = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton_4.setGeometry(QtCore.QRect(750, 60, 131, 41))
font = QtGui.QFont()
font.setFamily("Segoe UI")
font.setPointSize(9)
self.commandLinkButton_4.setFont(font)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/orthos.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton_4.setIcon(icon3)
self.commandLinkButton_4.setIconSize(QtCore.QSize(20, 20))
self.commandLinkButton_4.setObjectName("commandLinkButton_4")
self.commandLinkButton_5 = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton_5.setGeometry(QtCore.QRect(860, 750, 41, 41))
font = QtGui.QFont()
font.setFamily("Segoe UI")
font.setPointSize(9)
self.commandLinkButton_5.setFont(font)
self.commandLinkButton_5.setText("")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton_5.setIcon(icon4)
self.commandLinkButton_5.setIconSize(QtCore.QSize(25, 25))
self.commandLinkButton_5.setObjectName("commandLinkButton_5")
self.commandLinkButton_6 = QtWidgets.QCommandLinkButton(Dialog)
self.commandLinkButton_6.setGeometry(QtCore.QRect(820, 750, 41, 41))
font = QtGui.QFont()
font.setFamily("Segoe UI")
font.setPointSize(9)
self.commandLinkButton_6.setFont(font)
self.commandLinkButton_6.setText("")
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/plugins/FluxCEN/icons/dataviz.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.commandLinkButton_6.setIcon(icon5)
self.commandLinkButton_6.setIconSize(QtCore.QSize(25, 25))
self.commandLinkButton_6.setObjectName("commandLinkButton_6")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "FluxCEN"))
self.pushButton_2.setText(_translate("Dialog", "Charger les couches"))
self.tableWidget.setSortingEnabled(True)
self.lineEdit.setText(_translate("Dialog", "Recherche par mots-clés"))
self.commandLinkButton_3.setText(_translate("Dialog", "OSM"))
self.label.setText(_translate("Dialog", "Liste des flux disponibles :"))
self.label_2.setText(_translate("Dialog", "Flux sélectionné(s) à charger :"))
self.commandLinkButton_4.setText(_translate("Dialog", "Google sat\'"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())