src/eric7/WebBrowser/ZoomManager/Ui_ZoomValuesDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/WebBrowser/ZoomManager/Ui_ZoomValuesDialog.py	Fri Jun 07 10:05:06 2024 +0200
@@ -0,0 +1,82 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/ZoomManager/ZoomValuesDialog.ui'
+#
+# Created by: PyQt6 UI code generator 6.7.0
+#
+# 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 PyQt6 import QtCore, QtGui, QtWidgets
+
+
+class Ui_ZoomValuesDialog(object):
+    def setupUi(self, ZoomValuesDialog):
+        ZoomValuesDialog.setObjectName("ZoomValuesDialog")
+        ZoomValuesDialog.resize(500, 350)
+        ZoomValuesDialog.setSizeGripEnabled(True)
+        self.verticalLayout = QtWidgets.QVBoxLayout(ZoomValuesDialog)
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
+        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.horizontalLayout_2.addItem(spacerItem)
+        self.horizontalLayout = QtWidgets.QHBoxLayout()
+        self.horizontalLayout.setSpacing(0)
+        self.horizontalLayout.setObjectName("horizontalLayout")
+        self.searchEdit = QtWidgets.QLineEdit(parent=ZoomValuesDialog)
+        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
+        sizePolicy.setHorizontalStretch(0)
+        sizePolicy.setVerticalStretch(0)
+        sizePolicy.setHeightForWidth(self.searchEdit.sizePolicy().hasHeightForWidth())
+        self.searchEdit.setSizePolicy(sizePolicy)
+        self.searchEdit.setMinimumSize(QtCore.QSize(300, 0))
+        self.searchEdit.setClearButtonEnabled(True)
+        self.searchEdit.setObjectName("searchEdit")
+        self.horizontalLayout.addWidget(self.searchEdit)
+        self.horizontalLayout_2.addLayout(self.horizontalLayout)
+        self.verticalLayout.addLayout(self.horizontalLayout_2)
+        self.zoomValuesTable = EricTableView(parent=ZoomValuesDialog)
+        self.zoomValuesTable.setAlternatingRowColors(True)
+        self.zoomValuesTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
+        self.zoomValuesTable.setTextElideMode(QtCore.Qt.TextElideMode.ElideMiddle)
+        self.zoomValuesTable.setShowGrid(False)
+        self.zoomValuesTable.setSortingEnabled(True)
+        self.zoomValuesTable.setObjectName("zoomValuesTable")
+        self.verticalLayout.addWidget(self.zoomValuesTable)
+        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
+        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
+        self.removeButton = QtWidgets.QPushButton(parent=ZoomValuesDialog)
+        self.removeButton.setAutoDefault(False)
+        self.removeButton.setObjectName("removeButton")
+        self.horizontalLayout_3.addWidget(self.removeButton)
+        self.removeAllButton = QtWidgets.QPushButton(parent=ZoomValuesDialog)
+        self.removeAllButton.setAutoDefault(False)
+        self.removeAllButton.setObjectName("removeAllButton")
+        self.horizontalLayout_3.addWidget(self.removeAllButton)
+        spacerItem1 = QtWidgets.QSpacerItem(208, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.horizontalLayout_3.addItem(spacerItem1)
+        self.verticalLayout.addLayout(self.horizontalLayout_3)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ZoomValuesDialog)
+        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
+        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
+        self.buttonBox.setObjectName("buttonBox")
+        self.verticalLayout.addWidget(self.buttonBox)
+
+        self.retranslateUi(ZoomValuesDialog)
+        self.buttonBox.accepted.connect(ZoomValuesDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(ZoomValuesDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(ZoomValuesDialog)
+        ZoomValuesDialog.setTabOrder(self.searchEdit, self.zoomValuesTable)
+        ZoomValuesDialog.setTabOrder(self.zoomValuesTable, self.removeButton)
+        ZoomValuesDialog.setTabOrder(self.removeButton, self.removeAllButton)
+        ZoomValuesDialog.setTabOrder(self.removeAllButton, self.buttonBox)
+
+    def retranslateUi(self, ZoomValuesDialog):
+        _translate = QtCore.QCoreApplication.translate
+        ZoomValuesDialog.setWindowTitle(_translate("ZoomValuesDialog", "Saved Zoom Values"))
+        self.searchEdit.setToolTip(_translate("ZoomValuesDialog", "Enter search term"))
+        self.removeButton.setToolTip(_translate("ZoomValuesDialog", "Press to remove the selected entries"))
+        self.removeButton.setText(_translate("ZoomValuesDialog", "&Remove"))
+        self.removeAllButton.setToolTip(_translate("ZoomValuesDialog", "Press to remove all entries"))
+        self.removeAllButton.setText(_translate("ZoomValuesDialog", "Remove &All"))
+from eric7.EricWidgets.EricTableView import EricTableView

eric ide

mercurial