forked from giscan/gridsforatlas
/
ui_about_window.py
72 lines (66 loc) · 4.65 KB
/
ui_about_window.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
# Form implementation generated from reading ui file 'D:\Alister\Documents\GitHub\coveragebuilder\ui_about_window.ui'
#
# Created by: PyQt6 UI code generator 6.6.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from qgis.PyQt import QtCore, QtGui, QtWidgets
class Ui_About_window(object):
def setupUi(self, About_window):
About_window.setObjectName("About_window")
About_window.resize(490, 213)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Ignored, QtWidgets.QSizePolicy.Policy.Ignored)
sizePolicy.setHorizontalStretch(1)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(About_window.sizePolicy().hasHeightForWidth())
About_window.setSizePolicy(sizePolicy)
self.gridLayout = QtWidgets.QGridLayout(About_window)
self.gridLayout.setObjectName("gridLayout")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetMinimumSize)
self.verticalLayout.setObjectName("verticalLayout")
self.label_2 = QtWidgets.QLabel(parent=About_window)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_2.setFont(font)
self.label_2.setTextFormat(QtCore.Qt.TextFormat.RichText)
self.label_2.setObjectName("label_2")
self.verticalLayout.addWidget(self.label_2)
self.label = QtWidgets.QLabel(parent=About_window)
self.label.setEnabled(True)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setTextFormat(QtCore.Qt.TextFormat.RichText)
self.label.setWordWrap(True)
self.label.setOpenExternalLinks(True)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.buttonBox = QtWidgets.QDialogButtonBox(parent=About_window)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
self.buttonBox.setSizePolicy(sizePolicy)
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Ok)
self.buttonBox.setCenterButtons(True)
self.buttonBox.setObjectName("buttonBox")
self.verticalLayout.addWidget(self.buttonBox)
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
self.retranslateUi(About_window)
self.buttonBox.accepted.connect(About_window.accept) # type: ignore
QtCore.QMetaObject.connectSlotsByName(About_window)
def retranslateUi(self, About_window):
_translate = QtCore.QCoreApplication.translate
About_window.setWindowTitle(_translate("About_window", "About Coverage Builder"))
self.label_2.setText(_translate("About_window", "<html><head/><body><p align=\"center\"><img src=\":/plugins/coveragebuilder/icon.png\"/></p><p align=\"center\">Coverage Builder Version 0.5.1</p></body></html>"))
self.label.setText(_translate("About_window", "<html><head/><body><p align=\"center\">This is an updated version of the "Grids for Atlas" plugin, previously published by:<br/>Experts SIG / <a href=\"https://www.biotope.fr/\"><span style=\" text-decoration: underline; color:#0000ff;\">Biotope</span></a><br/>Bertrand Chaussat<br/>Dmitry Kiselev</p><p align=\"center\">homepage = <a href=\"https://github.com/alisterh/coveragebuilder\"><span style=\" text-decoration: underline; color:#0000ff;\">https://github.com/alisterh/coveragebuilder<br/></span></a>tracker = <a href=\"https://github.com/alisterh/coveragebuilder/issues\"><span style=\" text-decoration: underline; color:#0000ff;\">https://github.com/alisterh/coveragebuilder/issues</span></a></p></body></html>"))