|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/IconsPreviewDialog.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_IconsPreviewDialog(object): |
|
13 def setupUi(self, IconsPreviewDialog): |
|
14 IconsPreviewDialog.setObjectName("IconsPreviewDialog") |
|
15 IconsPreviewDialog.resize(596, 541) |
|
16 IconsPreviewDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(IconsPreviewDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout.setObjectName("horizontalLayout") |
|
21 self.label = QtWidgets.QLabel(parent=IconsPreviewDialog) |
|
22 self.label.setObjectName("label") |
|
23 self.horizontalLayout.addWidget(self.label) |
|
24 self.directoryCombo = QtWidgets.QComboBox(parent=IconsPreviewDialog) |
|
25 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
26 sizePolicy.setHorizontalStretch(0) |
|
27 sizePolicy.setVerticalStretch(0) |
|
28 sizePolicy.setHeightForWidth(self.directoryCombo.sizePolicy().hasHeightForWidth()) |
|
29 self.directoryCombo.setSizePolicy(sizePolicy) |
|
30 self.directoryCombo.setObjectName("directoryCombo") |
|
31 self.horizontalLayout.addWidget(self.directoryCombo) |
|
32 self.verticalLayout.addLayout(self.horizontalLayout) |
|
33 self.iconView = QtWidgets.QListWidget(parent=IconsPreviewDialog) |
|
34 self.iconView.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection) |
|
35 self.iconView.setMovement(QtWidgets.QListView.Movement.Free) |
|
36 self.iconView.setFlow(QtWidgets.QListView.Flow.LeftToRight) |
|
37 self.iconView.setGridSize(QtCore.QSize(100, 50)) |
|
38 self.iconView.setViewMode(QtWidgets.QListView.ViewMode.IconMode) |
|
39 self.iconView.setObjectName("iconView") |
|
40 self.verticalLayout.addWidget(self.iconView) |
|
41 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
42 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
43 self.invertButton = QtWidgets.QPushButton(parent=IconsPreviewDialog) |
|
44 self.invertButton.setCheckable(True) |
|
45 self.invertButton.setObjectName("invertButton") |
|
46 self.horizontalLayout_2.addWidget(self.invertButton) |
|
47 self.refreshButton = QtWidgets.QPushButton(parent=IconsPreviewDialog) |
|
48 self.refreshButton.setObjectName("refreshButton") |
|
49 self.horizontalLayout_2.addWidget(self.refreshButton) |
|
50 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
51 self.horizontalLayout_2.addItem(spacerItem) |
|
52 self.buttonBox = QtWidgets.QDialogButtonBox(parent=IconsPreviewDialog) |
|
53 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
54 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
55 self.buttonBox.setObjectName("buttonBox") |
|
56 self.horizontalLayout_2.addWidget(self.buttonBox) |
|
57 self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
58 |
|
59 self.retranslateUi(IconsPreviewDialog) |
|
60 self.buttonBox.rejected.connect(IconsPreviewDialog.reject) # type: ignore |
|
61 QtCore.QMetaObject.connectSlotsByName(IconsPreviewDialog) |
|
62 IconsPreviewDialog.setTabOrder(self.directoryCombo, self.iconView) |
|
63 IconsPreviewDialog.setTabOrder(self.iconView, self.invertButton) |
|
64 IconsPreviewDialog.setTabOrder(self.invertButton, self.refreshButton) |
|
65 |
|
66 def retranslateUi(self, IconsPreviewDialog): |
|
67 _translate = QtCore.QCoreApplication.translate |
|
68 IconsPreviewDialog.setWindowTitle(_translate("IconsPreviewDialog", "Icons Preview")) |
|
69 self.label.setText(_translate("IconsPreviewDialog", "Directory:")) |
|
70 self.directoryCombo.setToolTip(_translate("IconsPreviewDialog", "Select the icons directory to be shown")) |
|
71 self.invertButton.setToolTip(_translate("IconsPreviewDialog", "Select to invert the background color")) |
|
72 self.invertButton.setText(_translate("IconsPreviewDialog", "Invert Background")) |
|
73 self.refreshButton.setToolTip(_translate("IconsPreviewDialog", "Select to refresh the icons display")) |
|
74 self.refreshButton.setText(_translate("IconsPreviewDialog", "Refresh")) |