src/eric7/WebBrowser/Download/Ui_DownloadAskActionDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/Download/DownloadAskActionDialog.ui'
2 #
3 # Created by: PyQt6 UI code generator 6.7.0
4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6 # run again. Do not edit this file unless you know what you are doing.
7
8
9 from PyQt6 import QtCore, QtGui, QtWidgets
10
11
12 class Ui_DownloadAskActionDialog(object):
13 def setupUi(self, DownloadAskActionDialog):
14 DownloadAskActionDialog.setObjectName("DownloadAskActionDialog")
15 DownloadAskActionDialog.resize(500, 209)
16 DownloadAskActionDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(DownloadAskActionDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.label_3 = QtWidgets.QLabel(parent=DownloadAskActionDialog)
20 self.label_3.setObjectName("label_3")
21 self.verticalLayout.addWidget(self.label_3)
22 self.gridLayout_2 = QtWidgets.QGridLayout()
23 self.gridLayout_2.setObjectName("gridLayout_2")
24 self.label_4 = QtWidgets.QLabel(parent=DownloadAskActionDialog)
25 self.label_4.setText("")
26 self.label_4.setObjectName("label_4")
27 self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
28 self.infoLabel = QtWidgets.QLabel(parent=DownloadAskActionDialog)
29 self.infoLabel.setText("")
30 self.infoLabel.setWordWrap(True)
31 self.infoLabel.setObjectName("infoLabel")
32 self.gridLayout_2.addWidget(self.infoLabel, 0, 1, 1, 2)
33 self.label_5 = QtWidgets.QLabel(parent=DownloadAskActionDialog)
34 self.label_5.setObjectName("label_5")
35 self.gridLayout_2.addWidget(self.label_5, 1, 1, 1, 1)
36 self.typeLabel = QtWidgets.QLabel(parent=DownloadAskActionDialog)
37 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
38 sizePolicy.setHorizontalStretch(0)
39 sizePolicy.setVerticalStretch(0)
40 sizePolicy.setHeightForWidth(self.typeLabel.sizePolicy().hasHeightForWidth())
41 self.typeLabel.setSizePolicy(sizePolicy)
42 self.typeLabel.setText("")
43 self.typeLabel.setObjectName("typeLabel")
44 self.gridLayout_2.addWidget(self.typeLabel, 1, 2, 1, 1)
45 self.label_6 = QtWidgets.QLabel(parent=DownloadAskActionDialog)
46 self.label_6.setObjectName("label_6")
47 self.gridLayout_2.addWidget(self.label_6, 2, 1, 1, 1)
48 self.siteLabel = QtWidgets.QLabel(parent=DownloadAskActionDialog)
49 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
50 sizePolicy.setHorizontalStretch(0)
51 sizePolicy.setVerticalStretch(0)
52 sizePolicy.setHeightForWidth(self.siteLabel.sizePolicy().hasHeightForWidth())
53 self.siteLabel.setSizePolicy(sizePolicy)
54 self.siteLabel.setText("")
55 self.siteLabel.setObjectName("siteLabel")
56 self.gridLayout_2.addWidget(self.siteLabel, 2, 2, 1, 1)
57 self.verticalLayout.addLayout(self.gridLayout_2)
58 self.gridLayout = QtWidgets.QGridLayout()
59 self.gridLayout.setObjectName("gridLayout")
60 self.label_2 = QtWidgets.QLabel(parent=DownloadAskActionDialog)
61 self.label_2.setText("")
62 self.label_2.setObjectName("label_2")
63 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
64 self.openButton = QtWidgets.QRadioButton(parent=DownloadAskActionDialog)
65 self.openButton.setObjectName("openButton")
66 self.gridLayout.addWidget(self.openButton, 1, 1, 1, 1)
67 self.scanButton = QtWidgets.QRadioButton(parent=DownloadAskActionDialog)
68 self.scanButton.setObjectName("scanButton")
69 self.gridLayout.addWidget(self.scanButton, 2, 1, 1, 1)
70 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
71 self.gridLayout.addItem(spacerItem, 2, 2, 2, 1)
72 self.saveButton = QtWidgets.QRadioButton(parent=DownloadAskActionDialog)
73 self.saveButton.setChecked(True)
74 self.saveButton.setObjectName("saveButton")
75 self.gridLayout.addWidget(self.saveButton, 3, 1, 1, 1)
76 self.label = QtWidgets.QLabel(parent=DownloadAskActionDialog)
77 self.label.setObjectName("label")
78 self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
79 self.verticalLayout.addLayout(self.gridLayout)
80 self.buttonBox = QtWidgets.QDialogButtonBox(parent=DownloadAskActionDialog)
81 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
82 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
83 self.buttonBox.setObjectName("buttonBox")
84 self.verticalLayout.addWidget(self.buttonBox)
85
86 self.retranslateUi(DownloadAskActionDialog)
87 self.buttonBox.accepted.connect(DownloadAskActionDialog.accept) # type: ignore
88 self.buttonBox.rejected.connect(DownloadAskActionDialog.reject) # type: ignore
89 QtCore.QMetaObject.connectSlotsByName(DownloadAskActionDialog)
90 DownloadAskActionDialog.setTabOrder(self.openButton, self.scanButton)
91 DownloadAskActionDialog.setTabOrder(self.scanButton, self.saveButton)
92 DownloadAskActionDialog.setTabOrder(self.saveButton, self.buttonBox)
93
94 def retranslateUi(self, DownloadAskActionDialog):
95 _translate = QtCore.QCoreApplication.translate
96 DownloadAskActionDialog.setWindowTitle(_translate("DownloadAskActionDialog", "What to do?"))
97 self.label_3.setText(_translate("DownloadAskActionDialog", "You are about to download this file:"))
98 self.label_5.setText(_translate("DownloadAskActionDialog", "Type:"))
99 self.label_6.setText(_translate("DownloadAskActionDialog", "From:"))
100 self.openButton.setToolTip(_translate("DownloadAskActionDialog", "Select to open the downloaded file"))
101 self.openButton.setText(_translate("DownloadAskActionDialog", "&Open File"))
102 self.scanButton.setStatusTip(_translate("DownloadAskActionDialog", "Select to scan the file with VirusTotal"))
103 self.scanButton.setText(_translate("DownloadAskActionDialog", "Scan with &VirusTotal"))
104 self.saveButton.setToolTip(_translate("DownloadAskActionDialog", "Select to save the file"))
105 self.saveButton.setText(_translate("DownloadAskActionDialog", "&Save File"))
106 self.label.setText(_translate("DownloadAskActionDialog", "<b>What do you want to do?</b>"))

eric ide

mercurial