src/eric7/WebBrowser/CookieJar/Ui_CookiesExceptionsDialog.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/CookieJar/CookiesExceptionsDialog.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_CookiesExceptionsDialog(object):
13 def setupUi(self, CookiesExceptionsDialog):
14 CookiesExceptionsDialog.setObjectName("CookiesExceptionsDialog")
15 CookiesExceptionsDialog.resize(500, 450)
16 CookiesExceptionsDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(CookiesExceptionsDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.newExceptionGroupBox = QtWidgets.QGroupBox(parent=CookiesExceptionsDialog)
20 self.newExceptionGroupBox.setObjectName("newExceptionGroupBox")
21 self.gridlayout = QtWidgets.QGridLayout(self.newExceptionGroupBox)
22 self.gridlayout.setObjectName("gridlayout")
23 self._2 = QtWidgets.QHBoxLayout()
24 self._2.setObjectName("_2")
25 self.label = QtWidgets.QLabel(parent=self.newExceptionGroupBox)
26 self.label.setObjectName("label")
27 self._2.addWidget(self.label)
28 self.domainEdit = QtWidgets.QLineEdit(parent=self.newExceptionGroupBox)
29 self.domainEdit.setObjectName("domainEdit")
30 self._2.addWidget(self.domainEdit)
31 self.gridlayout.addLayout(self._2, 0, 0, 1, 1)
32 self._3 = QtWidgets.QHBoxLayout()
33 self._3.setObjectName("_3")
34 spacerItem = QtWidgets.QSpacerItem(81, 25, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
35 self._3.addItem(spacerItem)
36 self.blockButton = QtWidgets.QPushButton(parent=self.newExceptionGroupBox)
37 self.blockButton.setEnabled(False)
38 self.blockButton.setAutoDefault(False)
39 self.blockButton.setObjectName("blockButton")
40 self._3.addWidget(self.blockButton)
41 self.allowForSessionButton = QtWidgets.QPushButton(parent=self.newExceptionGroupBox)
42 self.allowForSessionButton.setEnabled(False)
43 self.allowForSessionButton.setAutoDefault(False)
44 self.allowForSessionButton.setObjectName("allowForSessionButton")
45 self._3.addWidget(self.allowForSessionButton)
46 self.allowButton = QtWidgets.QPushButton(parent=self.newExceptionGroupBox)
47 self.allowButton.setEnabled(False)
48 self.allowButton.setAutoDefault(False)
49 self.allowButton.setObjectName("allowButton")
50 self._3.addWidget(self.allowButton)
51 self.gridlayout.addLayout(self._3, 1, 0, 1, 1)
52 self.verticalLayout.addWidget(self.newExceptionGroupBox)
53 self.exceptionsGroup = QtWidgets.QGroupBox(parent=CookiesExceptionsDialog)
54 self.exceptionsGroup.setObjectName("exceptionsGroup")
55 self.gridLayout = QtWidgets.QGridLayout(self.exceptionsGroup)
56 self.gridLayout.setObjectName("gridLayout")
57 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
58 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
59 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
60 self.horizontalLayout_2.addItem(spacerItem1)
61 self.horizontalLayout = QtWidgets.QHBoxLayout()
62 self.horizontalLayout.setSpacing(0)
63 self.horizontalLayout.setObjectName("horizontalLayout")
64 self.searchEdit = QtWidgets.QLineEdit(parent=self.exceptionsGroup)
65 self.searchEdit.setMinimumSize(QtCore.QSize(300, 0))
66 self.searchEdit.setClearButtonEnabled(True)
67 self.searchEdit.setObjectName("searchEdit")
68 self.horizontalLayout.addWidget(self.searchEdit)
69 self.horizontalLayout_2.addLayout(self.horizontalLayout)
70 self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 3)
71 self.exceptionsTable = EricTableView(parent=self.exceptionsGroup)
72 self.exceptionsTable.setAlternatingRowColors(True)
73 self.exceptionsTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
74 self.exceptionsTable.setTextElideMode(QtCore.Qt.TextElideMode.ElideMiddle)
75 self.exceptionsTable.setShowGrid(False)
76 self.exceptionsTable.setSortingEnabled(True)
77 self.exceptionsTable.setObjectName("exceptionsTable")
78 self.exceptionsTable.verticalHeader().setVisible(False)
79 self.gridLayout.addWidget(self.exceptionsTable, 1, 0, 1, 3)
80 self.removeButton = QtWidgets.QPushButton(parent=self.exceptionsGroup)
81 self.removeButton.setAutoDefault(False)
82 self.removeButton.setObjectName("removeButton")
83 self.gridLayout.addWidget(self.removeButton, 2, 0, 1, 1)
84 self.removeAllButton = QtWidgets.QPushButton(parent=self.exceptionsGroup)
85 self.removeAllButton.setAutoDefault(False)
86 self.removeAllButton.setObjectName("removeAllButton")
87 self.gridLayout.addWidget(self.removeAllButton, 2, 1, 1, 1)
88 spacerItem2 = QtWidgets.QSpacerItem(286, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
89 self.gridLayout.addItem(spacerItem2, 2, 2, 1, 1)
90 self.verticalLayout.addWidget(self.exceptionsGroup)
91 self.buttonBox = QtWidgets.QDialogButtonBox(parent=CookiesExceptionsDialog)
92 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
93 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
94 self.buttonBox.setObjectName("buttonBox")
95 self.verticalLayout.addWidget(self.buttonBox)
96 self.label.setBuddy(self.domainEdit)
97
98 self.retranslateUi(CookiesExceptionsDialog)
99 self.buttonBox.accepted.connect(CookiesExceptionsDialog.accept) # type: ignore
100 self.buttonBox.rejected.connect(CookiesExceptionsDialog.reject) # type: ignore
101 QtCore.QMetaObject.connectSlotsByName(CookiesExceptionsDialog)
102 CookiesExceptionsDialog.setTabOrder(self.domainEdit, self.blockButton)
103 CookiesExceptionsDialog.setTabOrder(self.blockButton, self.allowForSessionButton)
104 CookiesExceptionsDialog.setTabOrder(self.allowForSessionButton, self.allowButton)
105 CookiesExceptionsDialog.setTabOrder(self.allowButton, self.searchEdit)
106 CookiesExceptionsDialog.setTabOrder(self.searchEdit, self.exceptionsTable)
107 CookiesExceptionsDialog.setTabOrder(self.exceptionsTable, self.removeButton)
108 CookiesExceptionsDialog.setTabOrder(self.removeButton, self.removeAllButton)
109 CookiesExceptionsDialog.setTabOrder(self.removeAllButton, self.buttonBox)
110
111 def retranslateUi(self, CookiesExceptionsDialog):
112 _translate = QtCore.QCoreApplication.translate
113 CookiesExceptionsDialog.setWindowTitle(_translate("CookiesExceptionsDialog", "Cookie Exceptions"))
114 self.newExceptionGroupBox.setTitle(_translate("CookiesExceptionsDialog", "New Exception"))
115 self.label.setText(_translate("CookiesExceptionsDialog", "&Domain:"))
116 self.domainEdit.setToolTip(_translate("CookiesExceptionsDialog", "Enter the domain name"))
117 self.blockButton.setToolTip(_translate("CookiesExceptionsDialog", "Press to always reject cookies for the domain"))
118 self.blockButton.setText(_translate("CookiesExceptionsDialog", "&Block"))
119 self.allowForSessionButton.setToolTip(_translate("CookiesExceptionsDialog", "Press to accept cookies for the domain for the current session"))
120 self.allowForSessionButton.setText(_translate("CookiesExceptionsDialog", "Allow For &Session"))
121 self.allowButton.setToolTip(_translate("CookiesExceptionsDialog", "Press to always accept cookies for the domain"))
122 self.allowButton.setText(_translate("CookiesExceptionsDialog", "Allo&w"))
123 self.exceptionsGroup.setTitle(_translate("CookiesExceptionsDialog", "Exceptions"))
124 self.searchEdit.setToolTip(_translate("CookiesExceptionsDialog", "Enter search term for exceptions"))
125 self.removeButton.setToolTip(_translate("CookiesExceptionsDialog", "Press to remove the selected entries"))
126 self.removeButton.setText(_translate("CookiesExceptionsDialog", "&Remove"))
127 self.removeAllButton.setToolTip(_translate("CookiesExceptionsDialog", "Press to remove all entries"))
128 self.removeAllButton.setText(_translate("CookiesExceptionsDialog", "Remove &All"))
129 from eric7.EricWidgets.EricTableView import EricTableView

eric ide

mercurial