1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Extension_Corba/ExtensionCorba/IdlCompilerOptionsDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.4.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_IdlCompilerOptionsDialog(object): |
|
13 def setupUi(self, IdlCompilerOptionsDialog): |
|
14 IdlCompilerOptionsDialog.setObjectName("IdlCompilerOptionsDialog") |
|
15 IdlCompilerOptionsDialog.resize(450, 600) |
|
16 IdlCompilerOptionsDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout_4 = QtWidgets.QVBoxLayout(IdlCompilerOptionsDialog) |
|
18 self.verticalLayout_4.setObjectName("verticalLayout_4") |
|
19 self.includeDirectoriesGroup = QtWidgets.QGroupBox(IdlCompilerOptionsDialog) |
|
20 self.includeDirectoriesGroup.setObjectName("includeDirectoriesGroup") |
|
21 self.horizontalLayout = QtWidgets.QHBoxLayout(self.includeDirectoriesGroup) |
|
22 self.horizontalLayout.setObjectName("horizontalLayout") |
|
23 self.idList = QtWidgets.QListWidget(self.includeDirectoriesGroup) |
|
24 self.idList.setAlternatingRowColors(True) |
|
25 self.idList.setObjectName("idList") |
|
26 self.horizontalLayout.addWidget(self.idList) |
|
27 self.verticalLayout = QtWidgets.QVBoxLayout() |
|
28 self.verticalLayout.setObjectName("verticalLayout") |
|
29 self.idAddButton = QtWidgets.QToolButton(self.includeDirectoriesGroup) |
|
30 self.idAddButton.setText("") |
|
31 self.idAddButton.setObjectName("idAddButton") |
|
32 self.verticalLayout.addWidget(self.idAddButton) |
|
33 self.idDeleteButton = QtWidgets.QToolButton(self.includeDirectoriesGroup) |
|
34 self.idDeleteButton.setText("") |
|
35 self.idDeleteButton.setObjectName("idDeleteButton") |
|
36 self.verticalLayout.addWidget(self.idDeleteButton) |
|
37 self.idEditButton = QtWidgets.QToolButton(self.includeDirectoriesGroup) |
|
38 self.idEditButton.setText("") |
|
39 self.idEditButton.setObjectName("idEditButton") |
|
40 self.verticalLayout.addWidget(self.idEditButton) |
|
41 spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
42 self.verticalLayout.addItem(spacerItem) |
|
43 self.horizontalLayout.addLayout(self.verticalLayout) |
|
44 self.verticalLayout_4.addWidget(self.includeDirectoriesGroup) |
|
45 self.groupBox = QtWidgets.QGroupBox(IdlCompilerOptionsDialog) |
|
46 self.groupBox.setObjectName("groupBox") |
|
47 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox) |
|
48 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
49 self.dnList = QtWidgets.QTreeWidget(self.groupBox) |
|
50 self.dnList.setAlternatingRowColors(True) |
|
51 self.dnList.setRootIsDecorated(False) |
|
52 self.dnList.setItemsExpandable(False) |
|
53 self.dnList.setAllColumnsShowFocus(True) |
|
54 self.dnList.setObjectName("dnList") |
|
55 self.dnList.header().setDefaultSectionSize(150) |
|
56 self.dnList.header().setSortIndicatorShown(False) |
|
57 self.horizontalLayout_2.addWidget(self.dnList) |
|
58 self.verticalLayout_2 = QtWidgets.QVBoxLayout() |
|
59 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
60 self.dnAddButton = QtWidgets.QToolButton(self.groupBox) |
|
61 self.dnAddButton.setText("") |
|
62 self.dnAddButton.setObjectName("dnAddButton") |
|
63 self.verticalLayout_2.addWidget(self.dnAddButton) |
|
64 self.dnDeleteButton = QtWidgets.QToolButton(self.groupBox) |
|
65 self.dnDeleteButton.setText("") |
|
66 self.dnDeleteButton.setObjectName("dnDeleteButton") |
|
67 self.verticalLayout_2.addWidget(self.dnDeleteButton) |
|
68 self.dnEditButton = QtWidgets.QToolButton(self.groupBox) |
|
69 self.dnEditButton.setText("") |
|
70 self.dnEditButton.setObjectName("dnEditButton") |
|
71 self.verticalLayout_2.addWidget(self.dnEditButton) |
|
72 spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
73 self.verticalLayout_2.addItem(spacerItem1) |
|
74 self.horizontalLayout_2.addLayout(self.verticalLayout_2) |
|
75 self.verticalLayout_4.addWidget(self.groupBox) |
|
76 self.groupBox_2 = QtWidgets.QGroupBox(IdlCompilerOptionsDialog) |
|
77 self.groupBox_2.setObjectName("groupBox_2") |
|
78 self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_2) |
|
79 self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
80 self.unList = QtWidgets.QListWidget(self.groupBox_2) |
|
81 self.unList.setAlternatingRowColors(True) |
|
82 self.unList.setObjectName("unList") |
|
83 self.horizontalLayout_3.addWidget(self.unList) |
|
84 self.verticalLayout_3 = QtWidgets.QVBoxLayout() |
|
85 self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
86 self.unAddButton = QtWidgets.QToolButton(self.groupBox_2) |
|
87 self.unAddButton.setText("") |
|
88 self.unAddButton.setObjectName("unAddButton") |
|
89 self.verticalLayout_3.addWidget(self.unAddButton) |
|
90 self.unDeleteButton = QtWidgets.QToolButton(self.groupBox_2) |
|
91 self.unDeleteButton.setText("") |
|
92 self.unDeleteButton.setObjectName("unDeleteButton") |
|
93 self.verticalLayout_3.addWidget(self.unDeleteButton) |
|
94 self.unEditButton = QtWidgets.QToolButton(self.groupBox_2) |
|
95 self.unEditButton.setText("") |
|
96 self.unEditButton.setObjectName("unEditButton") |
|
97 self.verticalLayout_3.addWidget(self.unEditButton) |
|
98 spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
99 self.verticalLayout_3.addItem(spacerItem2) |
|
100 self.horizontalLayout_3.addLayout(self.verticalLayout_3) |
|
101 self.verticalLayout_4.addWidget(self.groupBox_2) |
|
102 self.buttonBox = QtWidgets.QDialogButtonBox(IdlCompilerOptionsDialog) |
|
103 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
104 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
105 self.buttonBox.setObjectName("buttonBox") |
|
106 self.verticalLayout_4.addWidget(self.buttonBox) |
|
107 |
|
108 self.retranslateUi(IdlCompilerOptionsDialog) |
|
109 self.buttonBox.accepted.connect(IdlCompilerOptionsDialog.accept) # type: ignore |
|
110 self.buttonBox.rejected.connect(IdlCompilerOptionsDialog.reject) # type: ignore |
|
111 QtCore.QMetaObject.connectSlotsByName(IdlCompilerOptionsDialog) |
|
112 IdlCompilerOptionsDialog.setTabOrder(self.idList, self.idAddButton) |
|
113 IdlCompilerOptionsDialog.setTabOrder(self.idAddButton, self.idDeleteButton) |
|
114 IdlCompilerOptionsDialog.setTabOrder(self.idDeleteButton, self.idEditButton) |
|
115 IdlCompilerOptionsDialog.setTabOrder(self.idEditButton, self.dnList) |
|
116 IdlCompilerOptionsDialog.setTabOrder(self.dnList, self.dnAddButton) |
|
117 IdlCompilerOptionsDialog.setTabOrder(self.dnAddButton, self.dnDeleteButton) |
|
118 IdlCompilerOptionsDialog.setTabOrder(self.dnDeleteButton, self.dnEditButton) |
|
119 IdlCompilerOptionsDialog.setTabOrder(self.dnEditButton, self.unList) |
|
120 IdlCompilerOptionsDialog.setTabOrder(self.unList, self.unAddButton) |
|
121 IdlCompilerOptionsDialog.setTabOrder(self.unAddButton, self.unDeleteButton) |
|
122 IdlCompilerOptionsDialog.setTabOrder(self.unDeleteButton, self.unEditButton) |
|
123 |
|
124 def retranslateUi(self, IdlCompilerOptionsDialog): |
|
125 _translate = QtCore.QCoreApplication.translate |
|
126 IdlCompilerOptionsDialog.setWindowTitle(_translate("IdlCompilerOptionsDialog", "IDL Compiler Options")) |
|
127 self.includeDirectoriesGroup.setTitle(_translate("IdlCompilerOptionsDialog", "Include Directories (absolute or project relative)")) |
|
128 self.idList.setSortingEnabled(True) |
|
129 self.idAddButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Add an include directory")) |
|
130 self.idDeleteButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Delete an include directory")) |
|
131 self.idEditButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Edit an include directory")) |
|
132 self.groupBox.setTitle(_translate("IdlCompilerOptionsDialog", "Define Names")) |
|
133 self.dnList.setSortingEnabled(False) |
|
134 self.dnList.headerItem().setText(0, _translate("IdlCompilerOptionsDialog", "Name")) |
|
135 self.dnList.headerItem().setText(1, _translate("IdlCompilerOptionsDialog", "Value")) |
|
136 self.dnAddButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Add a name entry")) |
|
137 self.dnDeleteButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Delete a name entry")) |
|
138 self.dnEditButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Edit a name entry")) |
|
139 self.groupBox_2.setTitle(_translate("IdlCompilerOptionsDialog", "Undefine Names")) |
|
140 self.unList.setSortingEnabled(True) |
|
141 self.unAddButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Add a name entry")) |
|
142 self.unDeleteButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Delete a name entry")) |
|
143 self.unEditButton.setToolTip(_translate("IdlCompilerOptionsDialog", "Edit a name entry")) |
|
144 |
|
145 |
|
146 if __name__ == "__main__": |
|
147 import sys |
|
148 app = QtWidgets.QApplication(sys.argv) |
|
149 IdlCompilerOptionsDialog = QtWidgets.QDialog() |
|
150 ui = Ui_IdlCompilerOptionsDialog() |
|
151 ui.setupUi(IdlCompilerOptionsDialog) |
|
152 IdlCompilerOptionsDialog.show() |
|
153 sys.exit(app.exec()) |
|