src/eric7/Project/Ui_LexerAssociationDialog.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/LexerAssociationDialog.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_LexerAssociationDialog(object):
13 def setupUi(self, LexerAssociationDialog):
14 LexerAssociationDialog.setObjectName("LexerAssociationDialog")
15 LexerAssociationDialog.resize(460, 418)
16 LexerAssociationDialog.setSizeGripEnabled(True)
17 self.verticalLayout = QtWidgets.QVBoxLayout(LexerAssociationDialog)
18 self.verticalLayout.setObjectName("verticalLayout")
19 self.editorLexerList = QtWidgets.QTreeWidget(parent=LexerAssociationDialog)
20 self.editorLexerList.setAlternatingRowColors(True)
21 self.editorLexerList.setRootIsDecorated(False)
22 self.editorLexerList.setObjectName("editorLexerList")
23 self.verticalLayout.addWidget(self.editorLexerList)
24 self.gridLayout = QtWidgets.QGridLayout()
25 self.gridLayout.setObjectName("gridLayout")
26 self.textLabel2_6 = QtWidgets.QLabel(parent=LexerAssociationDialog)
27 self.textLabel2_6.setObjectName("textLabel2_6")
28 self.gridLayout.addWidget(self.textLabel2_6, 0, 0, 1, 1)
29 self.editorFileExtEdit = QtWidgets.QLineEdit(parent=LexerAssociationDialog)
30 self.editorFileExtEdit.setObjectName("editorFileExtEdit")
31 self.gridLayout.addWidget(self.editorFileExtEdit, 0, 1, 1, 1)
32 self.addLexerButton = QtWidgets.QPushButton(parent=LexerAssociationDialog)
33 self.addLexerButton.setObjectName("addLexerButton")
34 self.gridLayout.addWidget(self.addLexerButton, 0, 2, 1, 1)
35 self.textLabel3_3 = QtWidgets.QLabel(parent=LexerAssociationDialog)
36 self.textLabel3_3.setObjectName("textLabel3_3")
37 self.gridLayout.addWidget(self.textLabel3_3, 1, 0, 1, 1)
38 self.editorLexerCombo = QtWidgets.QComboBox(parent=LexerAssociationDialog)
39 self.editorLexerCombo.setObjectName("editorLexerCombo")
40 self.gridLayout.addWidget(self.editorLexerCombo, 1, 1, 1, 1)
41 self.deleteLexerButton = QtWidgets.QPushButton(parent=LexerAssociationDialog)
42 self.deleteLexerButton.setObjectName("deleteLexerButton")
43 self.gridLayout.addWidget(self.deleteLexerButton, 1, 2, 1, 1)
44 self.pygmentsLabel = QtWidgets.QLabel(parent=LexerAssociationDialog)
45 self.pygmentsLabel.setObjectName("pygmentsLabel")
46 self.gridLayout.addWidget(self.pygmentsLabel, 2, 0, 1, 1)
47 self.pygmentsLexerCombo = QtWidgets.QComboBox(parent=LexerAssociationDialog)
48 self.pygmentsLexerCombo.setObjectName("pygmentsLexerCombo")
49 self.gridLayout.addWidget(self.pygmentsLexerCombo, 2, 1, 1, 1)
50 self.verticalLayout.addLayout(self.gridLayout)
51 self.buttonBox = QtWidgets.QDialogButtonBox(parent=LexerAssociationDialog)
52 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
53 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
54 self.buttonBox.setObjectName("buttonBox")
55 self.verticalLayout.addWidget(self.buttonBox)
56 self.textLabel2_6.setBuddy(self.editorFileExtEdit)
57 self.textLabel3_3.setBuddy(self.editorLexerCombo)
58 self.pygmentsLabel.setBuddy(self.pygmentsLexerCombo)
59
60 self.retranslateUi(LexerAssociationDialog)
61 self.buttonBox.accepted.connect(LexerAssociationDialog.accept) # type: ignore
62 self.buttonBox.rejected.connect(LexerAssociationDialog.reject) # type: ignore
63 QtCore.QMetaObject.connectSlotsByName(LexerAssociationDialog)
64 LexerAssociationDialog.setTabOrder(self.editorLexerList, self.editorFileExtEdit)
65 LexerAssociationDialog.setTabOrder(self.editorFileExtEdit, self.editorLexerCombo)
66 LexerAssociationDialog.setTabOrder(self.editorLexerCombo, self.pygmentsLexerCombo)
67 LexerAssociationDialog.setTabOrder(self.pygmentsLexerCombo, self.addLexerButton)
68 LexerAssociationDialog.setTabOrder(self.addLexerButton, self.deleteLexerButton)
69 LexerAssociationDialog.setTabOrder(self.deleteLexerButton, self.buttonBox)
70
71 def retranslateUi(self, LexerAssociationDialog):
72 _translate = QtCore.QCoreApplication.translate
73 LexerAssociationDialog.setWindowTitle(_translate("LexerAssociationDialog", "Project Lexer Associations"))
74 self.editorLexerList.setSortingEnabled(True)
75 self.editorLexerList.headerItem().setText(0, _translate("LexerAssociationDialog", "Filename Pattern"))
76 self.editorLexerList.headerItem().setText(1, _translate("LexerAssociationDialog", "Lexer Language"))
77 self.textLabel2_6.setText(_translate("LexerAssociationDialog", "Filename &Pattern:"))
78 self.editorFileExtEdit.setToolTip(_translate("LexerAssociationDialog", "Enter the filename pattern to be associated"))
79 self.addLexerButton.setToolTip(_translate("LexerAssociationDialog", "Press to add or change the entered association"))
80 self.addLexerButton.setText(_translate("LexerAssociationDialog", "Add/&Change"))
81 self.textLabel3_3.setText(_translate("LexerAssociationDialog", "&Lexer Language:"))
82 self.editorLexerCombo.setToolTip(_translate("LexerAssociationDialog", "Select the lexer language to associate"))
83 self.deleteLexerButton.setToolTip(_translate("LexerAssociationDialog", "Press to delete the selected association"))
84 self.deleteLexerButton.setText(_translate("LexerAssociationDialog", "&Delete"))
85 self.pygmentsLabel.setText(_translate("LexerAssociationDialog", "Alternative Le&xer:"))
86 self.pygmentsLexerCombo.setToolTip(_translate("LexerAssociationDialog", "Select the alternative lexer to associate"))

eric ide

mercurial