src/eric7/Project/Ui_FiletypeAssociationDialog.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/Project/FiletypeAssociationDialog.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_FiletypeAssociationDialog(object):
13 def setupUi(self, FiletypeAssociationDialog):
14 FiletypeAssociationDialog.setObjectName("FiletypeAssociationDialog")
15 FiletypeAssociationDialog.resize(600, 573)
16 FiletypeAssociationDialog.setSizeGripEnabled(True)
17 self._2 = QtWidgets.QVBoxLayout(FiletypeAssociationDialog)
18 self._2.setObjectName("_2")
19 self.filetypeAssociationList = QtWidgets.QTreeWidget(parent=FiletypeAssociationDialog)
20 self.filetypeAssociationList.setAlternatingRowColors(True)
21 self.filetypeAssociationList.setRootIsDecorated(False)
22 self.filetypeAssociationList.setItemsExpandable(False)
23 self.filetypeAssociationList.setObjectName("filetypeAssociationList")
24 self._2.addWidget(self.filetypeAssociationList)
25 self._3 = QtWidgets.QGridLayout()
26 self._3.setObjectName("_3")
27 self.deleteAssociationButton = QtWidgets.QPushButton(parent=FiletypeAssociationDialog)
28 self.deleteAssociationButton.setEnabled(False)
29 self.deleteAssociationButton.setObjectName("deleteAssociationButton")
30 self._3.addWidget(self.deleteAssociationButton, 1, 2, 1, 1)
31 self.filetypeCombo = QtWidgets.QComboBox(parent=FiletypeAssociationDialog)
32 self.filetypeCombo.setObjectName("filetypeCombo")
33 self._3.addWidget(self.filetypeCombo, 1, 1, 1, 1)
34 self.textLabel3_3 = QtWidgets.QLabel(parent=FiletypeAssociationDialog)
35 self.textLabel3_3.setObjectName("textLabel3_3")
36 self._3.addWidget(self.textLabel3_3, 1, 0, 1, 1)
37 self.filePatternEdit = QtWidgets.QLineEdit(parent=FiletypeAssociationDialog)
38 self.filePatternEdit.setObjectName("filePatternEdit")
39 self._3.addWidget(self.filePatternEdit, 0, 1, 1, 1)
40 self.textLabel2_6 = QtWidgets.QLabel(parent=FiletypeAssociationDialog)
41 self.textLabel2_6.setObjectName("textLabel2_6")
42 self._3.addWidget(self.textLabel2_6, 0, 0, 1, 1)
43 self.addAssociationButton = QtWidgets.QPushButton(parent=FiletypeAssociationDialog)
44 self.addAssociationButton.setEnabled(False)
45 self.addAssociationButton.setObjectName("addAssociationButton")
46 self._3.addWidget(self.addAssociationButton, 0, 2, 1, 1)
47 self._2.addLayout(self._3)
48 self.buttonBox = QtWidgets.QDialogButtonBox(parent=FiletypeAssociationDialog)
49 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
50 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
51 self.buttonBox.setObjectName("buttonBox")
52 self._2.addWidget(self.buttonBox)
53
54 self.retranslateUi(FiletypeAssociationDialog)
55 self.buttonBox.accepted.connect(FiletypeAssociationDialog.accept) # type: ignore
56 self.buttonBox.rejected.connect(FiletypeAssociationDialog.reject) # type: ignore
57 QtCore.QMetaObject.connectSlotsByName(FiletypeAssociationDialog)
58 FiletypeAssociationDialog.setTabOrder(self.filetypeAssociationList, self.filePatternEdit)
59 FiletypeAssociationDialog.setTabOrder(self.filePatternEdit, self.filetypeCombo)
60 FiletypeAssociationDialog.setTabOrder(self.filetypeCombo, self.addAssociationButton)
61 FiletypeAssociationDialog.setTabOrder(self.addAssociationButton, self.deleteAssociationButton)
62
63 def retranslateUi(self, FiletypeAssociationDialog):
64 _translate = QtCore.QCoreApplication.translate
65 FiletypeAssociationDialog.setWindowTitle(_translate("FiletypeAssociationDialog", "Filetype Associations"))
66 self.filetypeAssociationList.setSortingEnabled(True)
67 self.filetypeAssociationList.headerItem().setText(0, _translate("FiletypeAssociationDialog", "Filename Pattern"))
68 self.filetypeAssociationList.headerItem().setText(1, _translate("FiletypeAssociationDialog", "Filetype"))
69 self.deleteAssociationButton.setToolTip(_translate("FiletypeAssociationDialog", "Press to delete the selected association"))
70 self.deleteAssociationButton.setText(_translate("FiletypeAssociationDialog", "Delete"))
71 self.filetypeCombo.setToolTip(_translate("FiletypeAssociationDialog", "Select the filetype to associate"))
72 self.textLabel3_3.setText(_translate("FiletypeAssociationDialog", "Filetype:"))
73 self.filePatternEdit.setToolTip(_translate("FiletypeAssociationDialog", "Enter the filename pattern to be associated"))
74 self.textLabel2_6.setText(_translate("FiletypeAssociationDialog", "Filename Pattern:"))
75 self.addAssociationButton.setToolTip(_translate("FiletypeAssociationDialog", "Press to add or change the entered association"))
76 self.addAssociationButton.setText(_translate("FiletypeAssociationDialog", "Add/Change"))

eric ide

mercurial