|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/ZoomManager/ZoomValuesDialog.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_ZoomValuesDialog(object): |
|
13 def setupUi(self, ZoomValuesDialog): |
|
14 ZoomValuesDialog.setObjectName("ZoomValuesDialog") |
|
15 ZoomValuesDialog.resize(500, 350) |
|
16 ZoomValuesDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(ZoomValuesDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
21 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
22 self.horizontalLayout_2.addItem(spacerItem) |
|
23 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
24 self.horizontalLayout.setSpacing(0) |
|
25 self.horizontalLayout.setObjectName("horizontalLayout") |
|
26 self.searchEdit = QtWidgets.QLineEdit(parent=ZoomValuesDialog) |
|
27 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
28 sizePolicy.setHorizontalStretch(0) |
|
29 sizePolicy.setVerticalStretch(0) |
|
30 sizePolicy.setHeightForWidth(self.searchEdit.sizePolicy().hasHeightForWidth()) |
|
31 self.searchEdit.setSizePolicy(sizePolicy) |
|
32 self.searchEdit.setMinimumSize(QtCore.QSize(300, 0)) |
|
33 self.searchEdit.setClearButtonEnabled(True) |
|
34 self.searchEdit.setObjectName("searchEdit") |
|
35 self.horizontalLayout.addWidget(self.searchEdit) |
|
36 self.horizontalLayout_2.addLayout(self.horizontalLayout) |
|
37 self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
38 self.zoomValuesTable = EricTableView(parent=ZoomValuesDialog) |
|
39 self.zoomValuesTable.setAlternatingRowColors(True) |
|
40 self.zoomValuesTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows) |
|
41 self.zoomValuesTable.setTextElideMode(QtCore.Qt.TextElideMode.ElideMiddle) |
|
42 self.zoomValuesTable.setShowGrid(False) |
|
43 self.zoomValuesTable.setSortingEnabled(True) |
|
44 self.zoomValuesTable.setObjectName("zoomValuesTable") |
|
45 self.verticalLayout.addWidget(self.zoomValuesTable) |
|
46 self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
47 self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
48 self.removeButton = QtWidgets.QPushButton(parent=ZoomValuesDialog) |
|
49 self.removeButton.setAutoDefault(False) |
|
50 self.removeButton.setObjectName("removeButton") |
|
51 self.horizontalLayout_3.addWidget(self.removeButton) |
|
52 self.removeAllButton = QtWidgets.QPushButton(parent=ZoomValuesDialog) |
|
53 self.removeAllButton.setAutoDefault(False) |
|
54 self.removeAllButton.setObjectName("removeAllButton") |
|
55 self.horizontalLayout_3.addWidget(self.removeAllButton) |
|
56 spacerItem1 = QtWidgets.QSpacerItem(208, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
57 self.horizontalLayout_3.addItem(spacerItem1) |
|
58 self.verticalLayout.addLayout(self.horizontalLayout_3) |
|
59 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ZoomValuesDialog) |
|
60 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
61 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
62 self.buttonBox.setObjectName("buttonBox") |
|
63 self.verticalLayout.addWidget(self.buttonBox) |
|
64 |
|
65 self.retranslateUi(ZoomValuesDialog) |
|
66 self.buttonBox.accepted.connect(ZoomValuesDialog.accept) # type: ignore |
|
67 self.buttonBox.rejected.connect(ZoomValuesDialog.reject) # type: ignore |
|
68 QtCore.QMetaObject.connectSlotsByName(ZoomValuesDialog) |
|
69 ZoomValuesDialog.setTabOrder(self.searchEdit, self.zoomValuesTable) |
|
70 ZoomValuesDialog.setTabOrder(self.zoomValuesTable, self.removeButton) |
|
71 ZoomValuesDialog.setTabOrder(self.removeButton, self.removeAllButton) |
|
72 ZoomValuesDialog.setTabOrder(self.removeAllButton, self.buttonBox) |
|
73 |
|
74 def retranslateUi(self, ZoomValuesDialog): |
|
75 _translate = QtCore.QCoreApplication.translate |
|
76 ZoomValuesDialog.setWindowTitle(_translate("ZoomValuesDialog", "Saved Zoom Values")) |
|
77 self.searchEdit.setToolTip(_translate("ZoomValuesDialog", "Enter search term")) |
|
78 self.removeButton.setToolTip(_translate("ZoomValuesDialog", "Press to remove the selected entries")) |
|
79 self.removeButton.setText(_translate("ZoomValuesDialog", "&Remove")) |
|
80 self.removeAllButton.setToolTip(_translate("ZoomValuesDialog", "Press to remove all entries")) |
|
81 self.removeAllButton.setText(_translate("ZoomValuesDialog", "Remove &All")) |
|
82 from eric7.EricWidgets.EricTableView import EricTableView |