|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ConfigurationPages/IconsPage.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_IconsPage(object): |
|
13 def setupUi(self, IconsPage): |
|
14 IconsPage.setObjectName("IconsPage") |
|
15 IconsPage.resize(591, 606) |
|
16 self.verticalLayout_2 = QtWidgets.QVBoxLayout(IconsPage) |
|
17 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
18 self.headerLabel = QtWidgets.QLabel(parent=IconsPage) |
|
19 self.headerLabel.setObjectName("headerLabel") |
|
20 self.verticalLayout_2.addWidget(self.headerLabel) |
|
21 self.line10 = QtWidgets.QFrame(parent=IconsPage) |
|
22 self.line10.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
23 self.line10.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
24 self.line10.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
25 self.line10.setObjectName("line10") |
|
26 self.verticalLayout_2.addWidget(self.line10) |
|
27 self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
|
28 self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
29 self.label_5 = QtWidgets.QLabel(parent=IconsPage) |
|
30 self.label_5.setObjectName("label_5") |
|
31 self.horizontalLayout_4.addWidget(self.label_5) |
|
32 self.iconSizeComboBox = QtWidgets.QComboBox(parent=IconsPage) |
|
33 self.iconSizeComboBox.setObjectName("iconSizeComboBox") |
|
34 self.horizontalLayout_4.addWidget(self.iconSizeComboBox) |
|
35 spacerItem = QtWidgets.QSpacerItem(396, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
36 self.horizontalLayout_4.addItem(spacerItem) |
|
37 self.verticalLayout_2.addLayout(self.horizontalLayout_4) |
|
38 self.TextLabel1_2_2_2 = QtWidgets.QLabel(parent=IconsPage) |
|
39 self.TextLabel1_2_2_2.setObjectName("TextLabel1_2_2_2") |
|
40 self.verticalLayout_2.addWidget(self.TextLabel1_2_2_2) |
|
41 self.vectorIconsCheckBox = QtWidgets.QCheckBox(parent=IconsPage) |
|
42 self.vectorIconsCheckBox.setObjectName("vectorIconsCheckBox") |
|
43 self.verticalLayout_2.addWidget(self.vectorIconsCheckBox) |
|
44 self.groupBox_2 = QtWidgets.QGroupBox(parent=IconsPage) |
|
45 self.groupBox_2.setObjectName("groupBox_2") |
|
46 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_2) |
|
47 self.verticalLayout.setObjectName("verticalLayout") |
|
48 self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
49 self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
50 self.defaultAutomaticButton = QtWidgets.QRadioButton(parent=self.groupBox_2) |
|
51 self.defaultAutomaticButton.setChecked(True) |
|
52 self.defaultAutomaticButton.setObjectName("defaultAutomaticButton") |
|
53 self.horizontalLayout_3.addWidget(self.defaultAutomaticButton) |
|
54 self.defaultBreezeLightButton = QtWidgets.QRadioButton(parent=self.groupBox_2) |
|
55 self.defaultBreezeLightButton.setObjectName("defaultBreezeLightButton") |
|
56 self.horizontalLayout_3.addWidget(self.defaultBreezeLightButton) |
|
57 self.defaultBreezeDarkButton = QtWidgets.QRadioButton(parent=self.groupBox_2) |
|
58 self.defaultBreezeDarkButton.setObjectName("defaultBreezeDarkButton") |
|
59 self.horizontalLayout_3.addWidget(self.defaultBreezeDarkButton) |
|
60 self.verticalLayout.addLayout(self.horizontalLayout_3) |
|
61 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
62 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
63 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
64 self.horizontalLayout_2.addItem(spacerItem1) |
|
65 self.showDefaultIconsButton = QtWidgets.QPushButton(parent=self.groupBox_2) |
|
66 self.showDefaultIconsButton.setObjectName("showDefaultIconsButton") |
|
67 self.horizontalLayout_2.addWidget(self.showDefaultIconsButton) |
|
68 spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
69 self.horizontalLayout_2.addItem(spacerItem2) |
|
70 self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
71 self.verticalLayout_2.addWidget(self.groupBox_2) |
|
72 self.groupBox = QtWidgets.QGroupBox(parent=IconsPage) |
|
73 self.groupBox.setObjectName("groupBox") |
|
74 self.gridLayout = QtWidgets.QGridLayout(self.groupBox) |
|
75 self.gridLayout.setObjectName("gridLayout") |
|
76 self.iconDirectoryList = QtWidgets.QListWidget(parent=self.groupBox) |
|
77 self.iconDirectoryList.setAlternatingRowColors(True) |
|
78 self.iconDirectoryList.setObjectName("iconDirectoryList") |
|
79 self.gridLayout.addWidget(self.iconDirectoryList, 0, 0, 1, 1) |
|
80 self.vboxlayout = QtWidgets.QVBoxLayout() |
|
81 self.vboxlayout.setObjectName("vboxlayout") |
|
82 spacerItem3 = QtWidgets.QSpacerItem(20, 209, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
83 self.vboxlayout.addItem(spacerItem3) |
|
84 self.upButton = QtWidgets.QPushButton(parent=self.groupBox) |
|
85 self.upButton.setEnabled(False) |
|
86 self.upButton.setObjectName("upButton") |
|
87 self.vboxlayout.addWidget(self.upButton) |
|
88 self.downButton = QtWidgets.QPushButton(parent=self.groupBox) |
|
89 self.downButton.setEnabled(False) |
|
90 self.downButton.setObjectName("downButton") |
|
91 self.vboxlayout.addWidget(self.downButton) |
|
92 spacerItem4 = QtWidgets.QSpacerItem(20, 170, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
93 self.vboxlayout.addItem(spacerItem4) |
|
94 self.gridLayout.addLayout(self.vboxlayout, 0, 1, 1, 1) |
|
95 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
96 self.horizontalLayout.setObjectName("horizontalLayout") |
|
97 self.deleteIconDirectoryButton = QtWidgets.QPushButton(parent=self.groupBox) |
|
98 self.deleteIconDirectoryButton.setEnabled(False) |
|
99 self.deleteIconDirectoryButton.setObjectName("deleteIconDirectoryButton") |
|
100 self.horizontalLayout.addWidget(self.deleteIconDirectoryButton) |
|
101 self.addIconDirectoryButton = QtWidgets.QPushButton(parent=self.groupBox) |
|
102 self.addIconDirectoryButton.setEnabled(False) |
|
103 self.addIconDirectoryButton.setObjectName("addIconDirectoryButton") |
|
104 self.horizontalLayout.addWidget(self.addIconDirectoryButton) |
|
105 self.iconDirectoryPicker = EricPathPicker(parent=self.groupBox) |
|
106 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
107 sizePolicy.setHorizontalStretch(0) |
|
108 sizePolicy.setVerticalStretch(0) |
|
109 sizePolicy.setHeightForWidth(self.iconDirectoryPicker.sizePolicy().hasHeightForWidth()) |
|
110 self.iconDirectoryPicker.setSizePolicy(sizePolicy) |
|
111 self.iconDirectoryPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
112 self.iconDirectoryPicker.setObjectName("iconDirectoryPicker") |
|
113 self.horizontalLayout.addWidget(self.iconDirectoryPicker) |
|
114 self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1) |
|
115 self.showIconsButton = QtWidgets.QPushButton(parent=self.groupBox) |
|
116 self.showIconsButton.setEnabled(False) |
|
117 self.showIconsButton.setObjectName("showIconsButton") |
|
118 self.gridLayout.addWidget(self.showIconsButton, 1, 1, 1, 1) |
|
119 self.verticalLayout_2.addWidget(self.groupBox) |
|
120 |
|
121 self.retranslateUi(IconsPage) |
|
122 QtCore.QMetaObject.connectSlotsByName(IconsPage) |
|
123 IconsPage.setTabOrder(self.iconSizeComboBox, self.vectorIconsCheckBox) |
|
124 IconsPage.setTabOrder(self.vectorIconsCheckBox, self.defaultAutomaticButton) |
|
125 IconsPage.setTabOrder(self.defaultAutomaticButton, self.defaultBreezeLightButton) |
|
126 IconsPage.setTabOrder(self.defaultBreezeLightButton, self.defaultBreezeDarkButton) |
|
127 IconsPage.setTabOrder(self.defaultBreezeDarkButton, self.showDefaultIconsButton) |
|
128 IconsPage.setTabOrder(self.showDefaultIconsButton, self.iconDirectoryList) |
|
129 IconsPage.setTabOrder(self.iconDirectoryList, self.iconDirectoryPicker) |
|
130 IconsPage.setTabOrder(self.iconDirectoryPicker, self.addIconDirectoryButton) |
|
131 IconsPage.setTabOrder(self.addIconDirectoryButton, self.showIconsButton) |
|
132 IconsPage.setTabOrder(self.showIconsButton, self.deleteIconDirectoryButton) |
|
133 IconsPage.setTabOrder(self.deleteIconDirectoryButton, self.upButton) |
|
134 IconsPage.setTabOrder(self.upButton, self.downButton) |
|
135 |
|
136 def retranslateUi(self, IconsPage): |
|
137 _translate = QtCore.QCoreApplication.translate |
|
138 self.headerLabel.setText(_translate("IconsPage", "<b>Configure icons</b>")) |
|
139 self.label_5.setText(_translate("IconsPage", "Icon Size:")) |
|
140 self.iconSizeComboBox.setToolTip(_translate("IconsPage", "Select the icon size")) |
|
141 self.TextLabel1_2_2_2.setText(_translate("IconsPage", "<font color=\"#FF0000\"><b>Note:</b> All settings below are activated at the next startup of the application.</font>")) |
|
142 self.vectorIconsCheckBox.setToolTip(_translate("IconsPage", "Select this in order to prefer vector based SVG icons (pixel based icons as fallback). If unchecked pixel based are prefered.")) |
|
143 self.vectorIconsCheckBox.setText(_translate("IconsPage", "Prefer Vector Icons (SVG Icons)")) |
|
144 self.groupBox_2.setTitle(_translate("IconsPage", "Default Icons")) |
|
145 self.defaultAutomaticButton.setToolTip(_translate("IconsPage", "Select to select between Breeze (dark) and Breeze (light) based on the window lightness")) |
|
146 self.defaultAutomaticButton.setText(_translate("IconsPage", "Automatic")) |
|
147 self.defaultBreezeLightButton.setToolTip(_translate("IconsPage", "Select to use the Breeze vector icons for light window background")) |
|
148 self.defaultBreezeLightButton.setText(_translate("IconsPage", "Breeze (light)")) |
|
149 self.defaultBreezeDarkButton.setToolTip(_translate("IconsPage", "Select to use the Breeze vector icons for dark window background")) |
|
150 self.defaultBreezeDarkButton.setText(_translate("IconsPage", "Breeze (dark)")) |
|
151 self.showDefaultIconsButton.setToolTip(_translate("IconsPage", "Press to show a dialog with a preview of the selected default icon set")) |
|
152 self.showDefaultIconsButton.setText(_translate("IconsPage", "Show")) |
|
153 self.groupBox.setTitle(_translate("IconsPage", "Custom Icon Directories")) |
|
154 self.iconDirectoryList.setToolTip(_translate("IconsPage", "List of icon directories")) |
|
155 self.upButton.setText(_translate("IconsPage", "Up")) |
|
156 self.downButton.setText(_translate("IconsPage", "Down")) |
|
157 self.deleteIconDirectoryButton.setToolTip(_translate("IconsPage", "Press to delete the selected directory from the list")) |
|
158 self.deleteIconDirectoryButton.setText(_translate("IconsPage", "Delete")) |
|
159 self.addIconDirectoryButton.setToolTip(_translate("IconsPage", "Press to add the entered directory to the list")) |
|
160 self.addIconDirectoryButton.setText(_translate("IconsPage", "Add")) |
|
161 self.showIconsButton.setText(_translate("IconsPage", "Show")) |
|
162 from eric7.EricWidgets.EricPathPicker import EricPathPicker |