|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/AdBlock/AdBlockDialog.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_AdBlockDialog(object): |
|
13 def setupUi(self, AdBlockDialog): |
|
14 AdBlockDialog.setObjectName("AdBlockDialog") |
|
15 AdBlockDialog.resize(650, 600) |
|
16 AdBlockDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout_2 = QtWidgets.QVBoxLayout(AdBlockDialog) |
|
18 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
19 self.adBlockGroup = QtWidgets.QGroupBox(parent=AdBlockDialog) |
|
20 self.adBlockGroup.setCheckable(True) |
|
21 self.adBlockGroup.setObjectName("adBlockGroup") |
|
22 self.verticalLayout = QtWidgets.QVBoxLayout(self.adBlockGroup) |
|
23 self.verticalLayout.setObjectName("verticalLayout") |
|
24 self.gridLayout = QtWidgets.QGridLayout() |
|
25 self.gridLayout.setHorizontalSpacing(20) |
|
26 self.gridLayout.setObjectName("gridLayout") |
|
27 self.iconLabel = QtWidgets.QLabel(parent=self.adBlockGroup) |
|
28 self.iconLabel.setMinimumSize(QtCore.QSize(48, 48)) |
|
29 self.iconLabel.setText("Icon") |
|
30 self.iconLabel.setObjectName("iconLabel") |
|
31 self.gridLayout.addWidget(self.iconLabel, 0, 0, 2, 1) |
|
32 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
33 self.gridLayout.addItem(spacerItem, 0, 1, 1, 1) |
|
34 self.searchEdit = QtWidgets.QLineEdit(parent=self.adBlockGroup) |
|
35 self.searchEdit.setClearButtonEnabled(True) |
|
36 self.searchEdit.setObjectName("searchEdit") |
|
37 self.gridLayout.addWidget(self.searchEdit, 1, 1, 1, 1) |
|
38 self.verticalLayout.addLayout(self.gridLayout) |
|
39 self.subscriptionsTabWidget = QtWidgets.QTabWidget(parent=self.adBlockGroup) |
|
40 self.subscriptionsTabWidget.setDocumentMode(True) |
|
41 self.subscriptionsTabWidget.setObjectName("subscriptionsTabWidget") |
|
42 self.verticalLayout.addWidget(self.subscriptionsTabWidget) |
|
43 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
44 self.horizontalLayout.setObjectName("horizontalLayout") |
|
45 self.actionButton = QtWidgets.QToolButton(parent=self.adBlockGroup) |
|
46 self.actionButton.setObjectName("actionButton") |
|
47 self.horizontalLayout.addWidget(self.actionButton) |
|
48 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
49 self.horizontalLayout.addItem(spacerItem1) |
|
50 self.label = QtWidgets.QLabel(parent=self.adBlockGroup) |
|
51 self.label.setObjectName("label") |
|
52 self.horizontalLayout.addWidget(self.label) |
|
53 self.updateSpinBox = QtWidgets.QSpinBox(parent=self.adBlockGroup) |
|
54 self.updateSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
55 self.updateSpinBox.setSuffix("") |
|
56 self.updateSpinBox.setMinimum(1) |
|
57 self.updateSpinBox.setMaximum(14) |
|
58 self.updateSpinBox.setProperty("value", 7) |
|
59 self.updateSpinBox.setObjectName("updateSpinBox") |
|
60 self.horizontalLayout.addWidget(self.updateSpinBox) |
|
61 self.verticalLayout.addLayout(self.horizontalLayout) |
|
62 self.useLimitedEasyListCheckBox = QtWidgets.QCheckBox(parent=self.adBlockGroup) |
|
63 self.useLimitedEasyListCheckBox.setToolTip("") |
|
64 self.useLimitedEasyListCheckBox.setObjectName("useLimitedEasyListCheckBox") |
|
65 self.verticalLayout.addWidget(self.useLimitedEasyListCheckBox) |
|
66 self.verticalLayout_2.addWidget(self.adBlockGroup) |
|
67 self.buttonBox = QtWidgets.QDialogButtonBox(parent=AdBlockDialog) |
|
68 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
69 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
70 self.buttonBox.setObjectName("buttonBox") |
|
71 self.verticalLayout_2.addWidget(self.buttonBox) |
|
72 |
|
73 self.retranslateUi(AdBlockDialog) |
|
74 self.buttonBox.accepted.connect(AdBlockDialog.accept) # type: ignore |
|
75 self.buttonBox.rejected.connect(AdBlockDialog.reject) # type: ignore |
|
76 QtCore.QMetaObject.connectSlotsByName(AdBlockDialog) |
|
77 AdBlockDialog.setTabOrder(self.adBlockGroup, self.searchEdit) |
|
78 AdBlockDialog.setTabOrder(self.searchEdit, self.subscriptionsTabWidget) |
|
79 AdBlockDialog.setTabOrder(self.subscriptionsTabWidget, self.actionButton) |
|
80 AdBlockDialog.setTabOrder(self.actionButton, self.updateSpinBox) |
|
81 AdBlockDialog.setTabOrder(self.updateSpinBox, self.buttonBox) |
|
82 |
|
83 def retranslateUi(self, AdBlockDialog): |
|
84 _translate = QtCore.QCoreApplication.translate |
|
85 AdBlockDialog.setWindowTitle(_translate("AdBlockDialog", "AdBlock Configuration")) |
|
86 self.adBlockGroup.setTitle(_translate("AdBlockDialog", "Enable AdBlock")) |
|
87 self.searchEdit.setToolTip(_translate("AdBlockDialog", "Enter search term for subscriptions and rules")) |
|
88 self.searchEdit.setPlaceholderText(_translate("AdBlockDialog", "Search...")) |
|
89 self.actionButton.setText(_translate("AdBlockDialog", "Actions")) |
|
90 self.label.setText(_translate("AdBlockDialog", "Default Update Period (days):")) |
|
91 self.updateSpinBox.setToolTip(_translate("AdBlockDialog", "Enter the update period (1 to 14 days)")) |
|
92 self.useLimitedEasyListCheckBox.setText(_translate("AdBlockDialog", "Use only essential part of EasyList (for performance reasons)")) |