|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/ViewManager/BookmarkedFilesDialog.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_BookmarkedFilesDialog(object): |
|
13 def setupUi(self, BookmarkedFilesDialog): |
|
14 BookmarkedFilesDialog.setObjectName("BookmarkedFilesDialog") |
|
15 BookmarkedFilesDialog.resize(475, 391) |
|
16 BookmarkedFilesDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(BookmarkedFilesDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.gridLayout = QtWidgets.QGridLayout() |
|
20 self.gridLayout.setObjectName("gridLayout") |
|
21 self.filesList = QtWidgets.QListWidget(parent=BookmarkedFilesDialog) |
|
22 self.filesList.setAlternatingRowColors(True) |
|
23 self.filesList.setObjectName("filesList") |
|
24 self.gridLayout.addWidget(self.filesList, 0, 0, 6, 2) |
|
25 self.addButton = QtWidgets.QPushButton(parent=BookmarkedFilesDialog) |
|
26 self.addButton.setEnabled(False) |
|
27 self.addButton.setObjectName("addButton") |
|
28 self.gridLayout.addWidget(self.addButton, 0, 2, 1, 1) |
|
29 self.changeButton = QtWidgets.QPushButton(parent=BookmarkedFilesDialog) |
|
30 self.changeButton.setEnabled(False) |
|
31 self.changeButton.setObjectName("changeButton") |
|
32 self.gridLayout.addWidget(self.changeButton, 1, 2, 1, 1) |
|
33 self.deleteButton = QtWidgets.QPushButton(parent=BookmarkedFilesDialog) |
|
34 self.deleteButton.setEnabled(False) |
|
35 self.deleteButton.setObjectName("deleteButton") |
|
36 self.gridLayout.addWidget(self.deleteButton, 2, 2, 1, 1) |
|
37 self.upButton = QtWidgets.QPushButton(parent=BookmarkedFilesDialog) |
|
38 self.upButton.setEnabled(False) |
|
39 self.upButton.setObjectName("upButton") |
|
40 self.gridLayout.addWidget(self.upButton, 3, 2, 1, 1) |
|
41 self.downButton = QtWidgets.QPushButton(parent=BookmarkedFilesDialog) |
|
42 self.downButton.setEnabled(False) |
|
43 self.downButton.setObjectName("downButton") |
|
44 self.gridLayout.addWidget(self.downButton, 4, 2, 1, 1) |
|
45 spacerItem = QtWidgets.QSpacerItem(87, 118, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
46 self.gridLayout.addItem(spacerItem, 5, 2, 1, 1) |
|
47 self.TextLabel1 = QtWidgets.QLabel(parent=BookmarkedFilesDialog) |
|
48 self.TextLabel1.setObjectName("TextLabel1") |
|
49 self.gridLayout.addWidget(self.TextLabel1, 6, 0, 1, 1) |
|
50 self.filePicker = EricPathPicker(parent=BookmarkedFilesDialog) |
|
51 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
52 sizePolicy.setHorizontalStretch(0) |
|
53 sizePolicy.setVerticalStretch(0) |
|
54 sizePolicy.setHeightForWidth(self.filePicker.sizePolicy().hasHeightForWidth()) |
|
55 self.filePicker.setSizePolicy(sizePolicy) |
|
56 self.filePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
57 self.filePicker.setObjectName("filePicker") |
|
58 self.gridLayout.addWidget(self.filePicker, 6, 1, 1, 1) |
|
59 self.verticalLayout.addLayout(self.gridLayout) |
|
60 self.buttonBox = QtWidgets.QDialogButtonBox(parent=BookmarkedFilesDialog) |
|
61 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
62 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
63 self.buttonBox.setObjectName("buttonBox") |
|
64 self.verticalLayout.addWidget(self.buttonBox) |
|
65 self.TextLabel1.setBuddy(self.filePicker) |
|
66 |
|
67 self.retranslateUi(BookmarkedFilesDialog) |
|
68 self.buttonBox.accepted.connect(BookmarkedFilesDialog.accept) # type: ignore |
|
69 self.buttonBox.rejected.connect(BookmarkedFilesDialog.reject) # type: ignore |
|
70 QtCore.QMetaObject.connectSlotsByName(BookmarkedFilesDialog) |
|
71 BookmarkedFilesDialog.setTabOrder(self.filesList, self.addButton) |
|
72 BookmarkedFilesDialog.setTabOrder(self.addButton, self.changeButton) |
|
73 BookmarkedFilesDialog.setTabOrder(self.changeButton, self.deleteButton) |
|
74 BookmarkedFilesDialog.setTabOrder(self.deleteButton, self.upButton) |
|
75 BookmarkedFilesDialog.setTabOrder(self.upButton, self.downButton) |
|
76 |
|
77 def retranslateUi(self, BookmarkedFilesDialog): |
|
78 _translate = QtCore.QCoreApplication.translate |
|
79 BookmarkedFilesDialog.setWindowTitle(_translate("BookmarkedFilesDialog", "Configure Bookmarked Files Menu")) |
|
80 self.addButton.setToolTip(_translate("BookmarkedFilesDialog", "Add a new bookmarked file")) |
|
81 self.addButton.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>Add</b>\n" |
|
82 "<p>Add a new bookmarked file with the value entered below.</p>")) |
|
83 self.addButton.setText(_translate("BookmarkedFilesDialog", "&Add")) |
|
84 self.addButton.setShortcut(_translate("BookmarkedFilesDialog", "Alt+A")) |
|
85 self.changeButton.setToolTip(_translate("BookmarkedFilesDialog", "Change the value of the selected entry")) |
|
86 self.changeButton.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>Change</b>\n" |
|
87 "<p>Change the value of the selected entry.</p>")) |
|
88 self.changeButton.setText(_translate("BookmarkedFilesDialog", "C&hange")) |
|
89 self.changeButton.setShortcut(_translate("BookmarkedFilesDialog", "Alt+H")) |
|
90 self.deleteButton.setToolTip(_translate("BookmarkedFilesDialog", "Delete the selected entry")) |
|
91 self.deleteButton.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>Delete</b>\n" |
|
92 "<p>Delete the selected entry.</p>")) |
|
93 self.deleteButton.setText(_translate("BookmarkedFilesDialog", "&Delete")) |
|
94 self.deleteButton.setShortcut(_translate("BookmarkedFilesDialog", "Alt+D")) |
|
95 self.upButton.setToolTip(_translate("BookmarkedFilesDialog", "Move up")) |
|
96 self.upButton.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>Move Up</b>\n" |
|
97 "<p>Move the selected entry up.</p>")) |
|
98 self.upButton.setText(_translate("BookmarkedFilesDialog", "&Up")) |
|
99 self.upButton.setShortcut(_translate("BookmarkedFilesDialog", "Alt+U")) |
|
100 self.downButton.setToolTip(_translate("BookmarkedFilesDialog", "Move down")) |
|
101 self.downButton.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>Move Down</b>\n" |
|
102 "<p>Move the selected entry down.</p>")) |
|
103 self.downButton.setText(_translate("BookmarkedFilesDialog", "&Down")) |
|
104 self.downButton.setShortcut(_translate("BookmarkedFilesDialog", "Alt+D")) |
|
105 self.TextLabel1.setText(_translate("BookmarkedFilesDialog", "&File:")) |
|
106 self.filePicker.setToolTip(_translate("BookmarkedFilesDialog", "Enter the filename of the file")) |
|
107 self.filePicker.setWhatsThis(_translate("BookmarkedFilesDialog", "<b>File</b>\n" |
|
108 "<p>Enter the filename of the bookmarked file.</p>")) |
|
109 from eric7.EricWidgets.EricPathPicker import EricPathPicker |