src/eric7/IconEditor/Ui_IconSizeDialog.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/IconEditor/IconSizeDialog.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_IconSizeDialog(object):
13 def setupUi(self, IconSizeDialog):
14 IconSizeDialog.setObjectName("IconSizeDialog")
15 IconSizeDialog.resize(232, 78)
16 IconSizeDialog.setSizeGripEnabled(True)
17 self.gridLayout = QtWidgets.QGridLayout(IconSizeDialog)
18 self.gridLayout.setObjectName("gridLayout")
19 self.label = QtWidgets.QLabel(parent=IconSizeDialog)
20 self.label.setObjectName("label")
21 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
22 self.widthSpin = QtWidgets.QSpinBox(parent=IconSizeDialog)
23 self.widthSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
24 self.widthSpin.setMinimum(1)
25 self.widthSpin.setMaximum(256)
26 self.widthSpin.setProperty("value", 32)
27 self.widthSpin.setObjectName("widthSpin")
28 self.gridLayout.addWidget(self.widthSpin, 0, 1, 1, 1)
29 self.label_2 = QtWidgets.QLabel(parent=IconSizeDialog)
30 self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
31 self.label_2.setObjectName("label_2")
32 self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
33 self.heightSpin = QtWidgets.QSpinBox(parent=IconSizeDialog)
34 self.heightSpin.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
35 self.heightSpin.setMinimum(1)
36 self.heightSpin.setMaximum(256)
37 self.heightSpin.setProperty("value", 32)
38 self.heightSpin.setObjectName("heightSpin")
39 self.gridLayout.addWidget(self.heightSpin, 0, 3, 1, 1)
40 spacerItem = QtWidgets.QSpacerItem(42, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
41 self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
42 self.buttonBox = QtWidgets.QDialogButtonBox(parent=IconSizeDialog)
43 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
44 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
45 self.buttonBox.setObjectName("buttonBox")
46 self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 5)
47
48 self.retranslateUi(IconSizeDialog)
49 self.buttonBox.accepted.connect(IconSizeDialog.accept) # type: ignore
50 self.buttonBox.rejected.connect(IconSizeDialog.reject) # type: ignore
51 QtCore.QMetaObject.connectSlotsByName(IconSizeDialog)
52 IconSizeDialog.setTabOrder(self.widthSpin, self.heightSpin)
53 IconSizeDialog.setTabOrder(self.heightSpin, self.buttonBox)
54
55 def retranslateUi(self, IconSizeDialog):
56 _translate = QtCore.QCoreApplication.translate
57 IconSizeDialog.setWindowTitle(_translate("IconSizeDialog", "Icon Size"))
58 self.label.setText(_translate("IconSizeDialog", "Size:"))
59 self.widthSpin.setToolTip(_translate("IconSizeDialog", "Enter the width of the icon"))
60 self.label_2.setText(_translate("IconSizeDialog", "X"))
61 self.heightSpin.setToolTip(_translate("IconSizeDialog", "Enter the height of the icon"))

eric ide

mercurial