src/eric7/Preferences/ConfigurationPages/Ui_EditorAPIsPage.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/Preferences/ConfigurationPages/EditorAPIsPage.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_EditorAPIsPage(object):
13 def setupUi(self, EditorAPIsPage):
14 EditorAPIsPage.setObjectName("EditorAPIsPage")
15 EditorAPIsPage.resize(462, 539)
16 self.verticalLayout = QtWidgets.QVBoxLayout(EditorAPIsPage)
17 self.verticalLayout.setObjectName("verticalLayout")
18 self.headerLabel = QtWidgets.QLabel(parent=EditorAPIsPage)
19 self.headerLabel.setObjectName("headerLabel")
20 self.verticalLayout.addWidget(self.headerLabel)
21 self.line5 = QtWidgets.QFrame(parent=EditorAPIsPage)
22 self.line5.setFrameShape(QtWidgets.QFrame.Shape.HLine)
23 self.line5.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
24 self.line5.setFrameShape(QtWidgets.QFrame.Shape.HLine)
25 self.line5.setObjectName("line5")
26 self.verticalLayout.addWidget(self.line5)
27 self.apiAutoPrepareCheckBox = QtWidgets.QCheckBox(parent=EditorAPIsPage)
28 self.apiAutoPrepareCheckBox.setObjectName("apiAutoPrepareCheckBox")
29 self.verticalLayout.addWidget(self.apiAutoPrepareCheckBox)
30 self.gridLayout_2 = QtWidgets.QGridLayout()
31 self.gridLayout_2.setObjectName("gridLayout_2")
32 self.TextLabel1_3_3 = QtWidgets.QLabel(parent=EditorAPIsPage)
33 self.TextLabel1_3_3.setToolTip("")
34 self.TextLabel1_3_3.setObjectName("TextLabel1_3_3")
35 self.gridLayout_2.addWidget(self.TextLabel1_3_3, 0, 0, 1, 1)
36 self.apiLanguageComboBox = QtWidgets.QComboBox(parent=EditorAPIsPage)
37 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
38 sizePolicy.setHorizontalStretch(0)
39 sizePolicy.setVerticalStretch(0)
40 sizePolicy.setHeightForWidth(self.apiLanguageComboBox.sizePolicy().hasHeightForWidth())
41 self.apiLanguageComboBox.setSizePolicy(sizePolicy)
42 self.apiLanguageComboBox.setObjectName("apiLanguageComboBox")
43 self.gridLayout_2.addWidget(self.apiLanguageComboBox, 0, 1, 1, 1)
44 self.label = QtWidgets.QLabel(parent=EditorAPIsPage)
45 self.label.setObjectName("label")
46 self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1)
47 self.projectTypeComboBox = QtWidgets.QComboBox(parent=EditorAPIsPage)
48 self.projectTypeComboBox.setObjectName("projectTypeComboBox")
49 self.gridLayout_2.addWidget(self.projectTypeComboBox, 1, 1, 1, 1)
50 self.verticalLayout.addLayout(self.gridLayout_2)
51 self.apiGroup = QtWidgets.QGroupBox(parent=EditorAPIsPage)
52 self.apiGroup.setEnabled(False)
53 self.apiGroup.setObjectName("apiGroup")
54 self.gridLayout = QtWidgets.QGridLayout(self.apiGroup)
55 self.gridLayout.setObjectName("gridLayout")
56 self.apiList = QtWidgets.QListWidget(parent=self.apiGroup)
57 self.apiList.setAlternatingRowColors(True)
58 self.apiList.setObjectName("apiList")
59 self.gridLayout.addWidget(self.apiList, 0, 0, 1, 3)
60 self.deleteApiFileButton = QtWidgets.QPushButton(parent=self.apiGroup)
61 self.deleteApiFileButton.setObjectName("deleteApiFileButton")
62 self.gridLayout.addWidget(self.deleteApiFileButton, 1, 0, 1, 1)
63 self.addApiFileButton = QtWidgets.QPushButton(parent=self.apiGroup)
64 self.addApiFileButton.setObjectName("addApiFileButton")
65 self.gridLayout.addWidget(self.addApiFileButton, 1, 1, 1, 1)
66 self.apiFilePicker = EricPathPicker(parent=self.apiGroup)
67 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
68 sizePolicy.setHorizontalStretch(0)
69 sizePolicy.setVerticalStretch(0)
70 sizePolicy.setHeightForWidth(self.apiFilePicker.sizePolicy().hasHeightForWidth())
71 self.apiFilePicker.setSizePolicy(sizePolicy)
72 self.apiFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
73 self.apiFilePicker.setObjectName("apiFilePicker")
74 self.gridLayout.addWidget(self.apiFilePicker, 1, 2, 1, 1)
75 self.addInstalledApiFileButton = QtWidgets.QPushButton(parent=self.apiGroup)
76 self.addInstalledApiFileButton.setObjectName("addInstalledApiFileButton")
77 self.gridLayout.addWidget(self.addInstalledApiFileButton, 2, 1, 1, 2)
78 self.addPluginApiFileButton = QtWidgets.QPushButton(parent=self.apiGroup)
79 self.addPluginApiFileButton.setObjectName("addPluginApiFileButton")
80 self.gridLayout.addWidget(self.addPluginApiFileButton, 3, 1, 1, 2)
81 self.line = QtWidgets.QFrame(parent=self.apiGroup)
82 self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
83 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
84 self.line.setObjectName("line")
85 self.gridLayout.addWidget(self.line, 4, 0, 1, 3)
86 self.prepareApiButton = QtWidgets.QPushButton(parent=self.apiGroup)
87 self.prepareApiButton.setObjectName("prepareApiButton")
88 self.gridLayout.addWidget(self.prepareApiButton, 5, 0, 1, 1)
89 self.prepareApiProgressBar = QtWidgets.QProgressBar(parent=self.apiGroup)
90 self.prepareApiProgressBar.setProperty("value", 0)
91 self.prepareApiProgressBar.setTextVisible(False)
92 self.prepareApiProgressBar.setOrientation(QtCore.Qt.Orientation.Horizontal)
93 self.prepareApiProgressBar.setObjectName("prepareApiProgressBar")
94 self.gridLayout.addWidget(self.prepareApiProgressBar, 5, 1, 1, 2)
95 self.verticalLayout.addWidget(self.apiGroup)
96
97 self.retranslateUi(EditorAPIsPage)
98 QtCore.QMetaObject.connectSlotsByName(EditorAPIsPage)
99 EditorAPIsPage.setTabOrder(self.apiAutoPrepareCheckBox, self.apiLanguageComboBox)
100 EditorAPIsPage.setTabOrder(self.apiLanguageComboBox, self.projectTypeComboBox)
101 EditorAPIsPage.setTabOrder(self.projectTypeComboBox, self.apiList)
102 EditorAPIsPage.setTabOrder(self.apiList, self.deleteApiFileButton)
103 EditorAPIsPage.setTabOrder(self.deleteApiFileButton, self.addApiFileButton)
104 EditorAPIsPage.setTabOrder(self.addApiFileButton, self.apiFilePicker)
105 EditorAPIsPage.setTabOrder(self.apiFilePicker, self.addInstalledApiFileButton)
106 EditorAPIsPage.setTabOrder(self.addInstalledApiFileButton, self.addPluginApiFileButton)
107 EditorAPIsPage.setTabOrder(self.addPluginApiFileButton, self.prepareApiButton)
108
109 def retranslateUi(self, EditorAPIsPage):
110 _translate = QtCore.QCoreApplication.translate
111 self.headerLabel.setText(_translate("EditorAPIsPage", "<b>Configure API files</b>"))
112 self.apiAutoPrepareCheckBox.setToolTip(_translate("EditorAPIsPage", "Select to compile the APIs automatically upon loading"))
113 self.apiAutoPrepareCheckBox.setText(_translate("EditorAPIsPage", "Compile APIs automatically"))
114 self.TextLabel1_3_3.setText(_translate("EditorAPIsPage", "Language:"))
115 self.apiLanguageComboBox.setToolTip(_translate("EditorAPIsPage", "Select the language to be configured."))
116 self.label.setText(_translate("EditorAPIsPage", "Project Type:"))
117 self.projectTypeComboBox.setToolTip(_translate("EditorAPIsPage", "Select the project type to be configured"))
118 self.apiGroup.setTitle(_translate("EditorAPIsPage", "APIs"))
119 self.apiList.setToolTip(_translate("EditorAPIsPage", "List of API files"))
120 self.deleteApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to delete the selected file from the list"))
121 self.deleteApiFileButton.setText(_translate("EditorAPIsPage", "Delete"))
122 self.addApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to add the entered file to the list"))
123 self.addApiFileButton.setText(_translate("EditorAPIsPage", "Add"))
124 self.addInstalledApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to select an API file from the list of installed API files"))
125 self.addInstalledApiFileButton.setText(_translate("EditorAPIsPage", "Add from installed APIs"))
126 self.addPluginApiFileButton.setToolTip(_translate("EditorAPIsPage", "Press to select an API file from the list of API files installed by plugins"))
127 self.addPluginApiFileButton.setText(_translate("EditorAPIsPage", "Add from Plugin APIs"))
128 self.prepareApiButton.setToolTip(_translate("EditorAPIsPage", "Press to compile the selected APIs definition"))
129 self.prepareApiButton.setText(_translate("EditorAPIsPage", "Compile APIs"))
130 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial