|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Preferences/ToolConfigurationDialog.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_ToolConfigurationDialog(object): |
|
13 def setupUi(self, ToolConfigurationDialog): |
|
14 ToolConfigurationDialog.setObjectName("ToolConfigurationDialog") |
|
15 ToolConfigurationDialog.resize(591, 487) |
|
16 ToolConfigurationDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout_2 = QtWidgets.QVBoxLayout(ToolConfigurationDialog) |
|
18 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
19 self.gridLayout_2 = QtWidgets.QGridLayout() |
|
20 self.gridLayout_2.setObjectName("gridLayout_2") |
|
21 self.toolsList = QtWidgets.QListWidget(parent=ToolConfigurationDialog) |
|
22 self.toolsList.setObjectName("toolsList") |
|
23 self.gridLayout_2.addWidget(self.toolsList, 0, 0, 1, 1) |
|
24 self.verticalLayout = QtWidgets.QVBoxLayout() |
|
25 self.verticalLayout.setObjectName("verticalLayout") |
|
26 self.newButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
27 self.newButton.setObjectName("newButton") |
|
28 self.verticalLayout.addWidget(self.newButton) |
|
29 self.addButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
30 self.addButton.setObjectName("addButton") |
|
31 self.verticalLayout.addWidget(self.addButton) |
|
32 self.changeButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
33 self.changeButton.setEnabled(False) |
|
34 self.changeButton.setObjectName("changeButton") |
|
35 self.verticalLayout.addWidget(self.changeButton) |
|
36 self.deleteButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
37 self.deleteButton.setEnabled(False) |
|
38 self.deleteButton.setObjectName("deleteButton") |
|
39 self.verticalLayout.addWidget(self.deleteButton) |
|
40 self.upButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
41 self.upButton.setEnabled(False) |
|
42 self.upButton.setObjectName("upButton") |
|
43 self.verticalLayout.addWidget(self.upButton) |
|
44 self.downButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
45 self.downButton.setEnabled(False) |
|
46 self.downButton.setObjectName("downButton") |
|
47 self.verticalLayout.addWidget(self.downButton) |
|
48 self.line = QtWidgets.QFrame(parent=ToolConfigurationDialog) |
|
49 self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
50 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
51 self.line.setObjectName("line") |
|
52 self.verticalLayout.addWidget(self.line) |
|
53 self.separatorButton = QtWidgets.QPushButton(parent=ToolConfigurationDialog) |
|
54 self.separatorButton.setObjectName("separatorButton") |
|
55 self.verticalLayout.addWidget(self.separatorButton) |
|
56 spacerItem = QtWidgets.QSpacerItem(105, 22, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
57 self.verticalLayout.addItem(spacerItem) |
|
58 self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1) |
|
59 self.gridLayout = QtWidgets.QGridLayout() |
|
60 self.gridLayout.setObjectName("gridLayout") |
|
61 self.TextLabel2 = QtWidgets.QLabel(parent=ToolConfigurationDialog) |
|
62 self.TextLabel2.setObjectName("TextLabel2") |
|
63 self.gridLayout.addWidget(self.TextLabel2, 0, 0, 1, 1) |
|
64 self.menuEdit = QtWidgets.QLineEdit(parent=ToolConfigurationDialog) |
|
65 self.menuEdit.setObjectName("menuEdit") |
|
66 self.gridLayout.addWidget(self.menuEdit, 0, 1, 1, 1) |
|
67 self.label = QtWidgets.QLabel(parent=ToolConfigurationDialog) |
|
68 self.label.setObjectName("label") |
|
69 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
|
70 self.iconPicker = EricPathPicker(parent=ToolConfigurationDialog) |
|
71 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
72 sizePolicy.setHorizontalStretch(0) |
|
73 sizePolicy.setVerticalStretch(0) |
|
74 sizePolicy.setHeightForWidth(self.iconPicker.sizePolicy().hasHeightForWidth()) |
|
75 self.iconPicker.setSizePolicy(sizePolicy) |
|
76 self.iconPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
77 self.iconPicker.setObjectName("iconPicker") |
|
78 self.gridLayout.addWidget(self.iconPicker, 1, 1, 1, 1) |
|
79 self.TextLabel1 = QtWidgets.QLabel(parent=ToolConfigurationDialog) |
|
80 self.TextLabel1.setObjectName("TextLabel1") |
|
81 self.gridLayout.addWidget(self.TextLabel1, 2, 0, 1, 1) |
|
82 self.executablePicker = EricPathPicker(parent=ToolConfigurationDialog) |
|
83 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
84 sizePolicy.setHorizontalStretch(0) |
|
85 sizePolicy.setVerticalStretch(0) |
|
86 sizePolicy.setHeightForWidth(self.executablePicker.sizePolicy().hasHeightForWidth()) |
|
87 self.executablePicker.setSizePolicy(sizePolicy) |
|
88 self.executablePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
89 self.executablePicker.setObjectName("executablePicker") |
|
90 self.gridLayout.addWidget(self.executablePicker, 2, 1, 1, 1) |
|
91 self.TextLabel3 = QtWidgets.QLabel(parent=ToolConfigurationDialog) |
|
92 self.TextLabel3.setObjectName("TextLabel3") |
|
93 self.gridLayout.addWidget(self.TextLabel3, 3, 0, 1, 1) |
|
94 self.argumentsEdit = QtWidgets.QLineEdit(parent=ToolConfigurationDialog) |
|
95 self.argumentsEdit.setObjectName("argumentsEdit") |
|
96 self.gridLayout.addWidget(self.argumentsEdit, 3, 1, 1, 1) |
|
97 self.label_2 = QtWidgets.QLabel(parent=ToolConfigurationDialog) |
|
98 self.label_2.setObjectName("label_2") |
|
99 self.gridLayout.addWidget(self.label_2, 4, 0, 1, 1) |
|
100 self.redirectCombo = QtWidgets.QComboBox(parent=ToolConfigurationDialog) |
|
101 self.redirectCombo.setObjectName("redirectCombo") |
|
102 self.gridLayout.addWidget(self.redirectCombo, 4, 1, 1, 1) |
|
103 self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 2) |
|
104 self.verticalLayout_2.addLayout(self.gridLayout_2) |
|
105 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ToolConfigurationDialog) |
|
106 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
107 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
108 self.buttonBox.setObjectName("buttonBox") |
|
109 self.verticalLayout_2.addWidget(self.buttonBox) |
|
110 self.TextLabel2.setBuddy(self.menuEdit) |
|
111 self.label.setBuddy(self.iconPicker) |
|
112 self.TextLabel1.setBuddy(self.executablePicker) |
|
113 self.TextLabel3.setBuddy(self.argumentsEdit) |
|
114 self.label_2.setBuddy(self.redirectCombo) |
|
115 |
|
116 self.retranslateUi(ToolConfigurationDialog) |
|
117 self.buttonBox.accepted.connect(ToolConfigurationDialog.accept) # type: ignore |
|
118 self.buttonBox.rejected.connect(ToolConfigurationDialog.reject) # type: ignore |
|
119 QtCore.QMetaObject.connectSlotsByName(ToolConfigurationDialog) |
|
120 ToolConfigurationDialog.setTabOrder(self.toolsList, self.menuEdit) |
|
121 ToolConfigurationDialog.setTabOrder(self.menuEdit, self.iconPicker) |
|
122 ToolConfigurationDialog.setTabOrder(self.iconPicker, self.executablePicker) |
|
123 ToolConfigurationDialog.setTabOrder(self.executablePicker, self.argumentsEdit) |
|
124 ToolConfigurationDialog.setTabOrder(self.argumentsEdit, self.redirectCombo) |
|
125 ToolConfigurationDialog.setTabOrder(self.redirectCombo, self.newButton) |
|
126 ToolConfigurationDialog.setTabOrder(self.newButton, self.addButton) |
|
127 ToolConfigurationDialog.setTabOrder(self.addButton, self.changeButton) |
|
128 ToolConfigurationDialog.setTabOrder(self.changeButton, self.deleteButton) |
|
129 ToolConfigurationDialog.setTabOrder(self.deleteButton, self.upButton) |
|
130 ToolConfigurationDialog.setTabOrder(self.upButton, self.downButton) |
|
131 ToolConfigurationDialog.setTabOrder(self.downButton, self.separatorButton) |
|
132 |
|
133 def retranslateUi(self, ToolConfigurationDialog): |
|
134 _translate = QtCore.QCoreApplication.translate |
|
135 ToolConfigurationDialog.setWindowTitle(_translate("ToolConfigurationDialog", "Configure Tools Menu")) |
|
136 self.newButton.setToolTip(_translate("ToolConfigurationDialog", "Clear all entry fields")) |
|
137 self.newButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>New</b>\n" |
|
138 "<p>Clear all entry fields for entering a new tools entry.</p>")) |
|
139 self.newButton.setText(_translate("ToolConfigurationDialog", "&New")) |
|
140 self.newButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+N")) |
|
141 self.addButton.setToolTip(_translate("ToolConfigurationDialog", "Add a new tools entry")) |
|
142 self.addButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Add</b>\n" |
|
143 "<p>Add a new tools entry with the values entered below.</p>")) |
|
144 self.addButton.setText(_translate("ToolConfigurationDialog", "&Add")) |
|
145 self.addButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+A")) |
|
146 self.changeButton.setToolTip(_translate("ToolConfigurationDialog", "Change the values of the selected entry")) |
|
147 self.changeButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Change</b>\n" |
|
148 "<p>Change the values of the selected entry.</p>")) |
|
149 self.changeButton.setText(_translate("ToolConfigurationDialog", "C&hange")) |
|
150 self.changeButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+H")) |
|
151 self.deleteButton.setToolTip(_translate("ToolConfigurationDialog", "Delete the selected entry")) |
|
152 self.deleteButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Delete</b>\n" |
|
153 "<p>Delete the selected entry.</p>")) |
|
154 self.deleteButton.setText(_translate("ToolConfigurationDialog", "&Delete")) |
|
155 self.deleteButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+D")) |
|
156 self.upButton.setToolTip(_translate("ToolConfigurationDialog", "Move up")) |
|
157 self.upButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Move Up</b>\n" |
|
158 "<p>Move the selected entry up.</p>")) |
|
159 self.upButton.setText(_translate("ToolConfigurationDialog", "&Up")) |
|
160 self.upButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+U")) |
|
161 self.downButton.setToolTip(_translate("ToolConfigurationDialog", "Move down")) |
|
162 self.downButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Move Down</b>\n" |
|
163 "<p>Move the selected entry down.</p>")) |
|
164 self.downButton.setText(_translate("ToolConfigurationDialog", "Do&wn")) |
|
165 self.downButton.setShortcut(_translate("ToolConfigurationDialog", "Alt+W")) |
|
166 self.separatorButton.setToolTip(_translate("ToolConfigurationDialog", "Add a separator")) |
|
167 self.separatorButton.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Add separator</b><p>Add a separator for the menu.</p>")) |
|
168 self.separatorButton.setText(_translate("ToolConfigurationDialog", "Add &Separator")) |
|
169 self.TextLabel2.setText(_translate("ToolConfigurationDialog", "&Menu text:")) |
|
170 self.menuEdit.setToolTip(_translate("ToolConfigurationDialog", "Enter the menu text")) |
|
171 self.menuEdit.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Menu text</b>\n" |
|
172 "<p>Enter the menu text. Precede the accelerator key with an & character.</p>")) |
|
173 self.label.setText(_translate("ToolConfigurationDialog", "&Icon file:")) |
|
174 self.iconPicker.setToolTip(_translate("ToolConfigurationDialog", "Enter the filename of the icon")) |
|
175 self.iconPicker.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Icon</b>\n" |
|
176 "<p>Enter the filename of the icon.</p>")) |
|
177 self.TextLabel1.setText(_translate("ToolConfigurationDialog", "&Executable file:")) |
|
178 self.executablePicker.setToolTip(_translate("ToolConfigurationDialog", "Enter the filename of the executable")) |
|
179 self.executablePicker.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Executable</b>\n" |
|
180 "<p>Enter the filename of the executable.</p>")) |
|
181 self.TextLabel3.setText(_translate("ToolConfigurationDialog", "Ar&guments:")) |
|
182 self.argumentsEdit.setToolTip(_translate("ToolConfigurationDialog", "Enter the arguments for the executable")) |
|
183 self.argumentsEdit.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Arguments</b>\n" |
|
184 "<p>Enter the arguments for the executable.</p>")) |
|
185 self.label_2.setText(_translate("ToolConfigurationDialog", "&Redirect output")) |
|
186 self.redirectCombo.setToolTip(_translate("ToolConfigurationDialog", "Select the output redirection mode")) |
|
187 self.redirectCombo.setWhatsThis(_translate("ToolConfigurationDialog", "<b>Redirect output<b><p>Select the output redirection mode. The standard error channel is either not redirected or shown in the log viewer.</p>")) |
|
188 from eric7.EricWidgets.EricPathPicker import EricPathPicker |