|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/ExtractDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.3.1 |
|
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_ExtractDialog(object): |
|
13 def setupUi(self, ExtractDialog): |
|
14 ExtractDialog.setObjectName("ExtractDialog") |
|
15 ExtractDialog.resize(500, 123) |
|
16 ExtractDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(ExtractDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.hboxlayout = QtWidgets.QHBoxLayout() |
|
20 self.hboxlayout.setObjectName("hboxlayout") |
|
21 self.label = QtWidgets.QLabel(ExtractDialog) |
|
22 self.label.setObjectName("label") |
|
23 self.hboxlayout.addWidget(self.label) |
|
24 self.newNameEdit = QtWidgets.QLineEdit(ExtractDialog) |
|
25 self.newNameEdit.setClearButtonEnabled(True) |
|
26 self.newNameEdit.setObjectName("newNameEdit") |
|
27 self.hboxlayout.addWidget(self.newNameEdit) |
|
28 self.verticalLayout.addLayout(self.hboxlayout) |
|
29 self.similarCheckBox = QtWidgets.QCheckBox(ExtractDialog) |
|
30 self.similarCheckBox.setChecked(True) |
|
31 self.similarCheckBox.setObjectName("similarCheckBox") |
|
32 self.verticalLayout.addWidget(self.similarCheckBox) |
|
33 self.globalCheckBox = QtWidgets.QCheckBox(ExtractDialog) |
|
34 self.globalCheckBox.setObjectName("globalCheckBox") |
|
35 self.verticalLayout.addWidget(self.globalCheckBox) |
|
36 self.buttonBox = QtWidgets.QDialogButtonBox(ExtractDialog) |
|
37 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
38 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
39 self.buttonBox.setObjectName("buttonBox") |
|
40 self.verticalLayout.addWidget(self.buttonBox) |
|
41 |
|
42 self.retranslateUi(ExtractDialog) |
|
43 self.buttonBox.rejected.connect(ExtractDialog.reject) # type: ignore |
|
44 QtCore.QMetaObject.connectSlotsByName(ExtractDialog) |
|
45 ExtractDialog.setTabOrder(self.newNameEdit, self.similarCheckBox) |
|
46 ExtractDialog.setTabOrder(self.similarCheckBox, self.buttonBox) |
|
47 |
|
48 def retranslateUi(self, ExtractDialog): |
|
49 _translate = QtCore.QCoreApplication.translate |
|
50 ExtractDialog.setWindowTitle(_translate("ExtractDialog", "Extract")) |
|
51 self.label.setText(_translate("ExtractDialog", "New Name:")) |
|
52 self.newNameEdit.setToolTip(_translate("ExtractDialog", "Enter the new name")) |
|
53 self.similarCheckBox.setText(_translate("ExtractDialog", "Extract similar expressions/statements")) |
|
54 self.globalCheckBox.setText(_translate("ExtractDialog", "Make the extracted object global")) |
|
55 |
|
56 |
|
57 if __name__ == "__main__": |
|
58 import sys |
|
59 app = QtWidgets.QApplication(sys.argv) |
|
60 ExtractDialog = QtWidgets.QDialog() |
|
61 ui = Ui_ExtractDialog() |
|
62 ui.setupUi(ExtractDialog) |
|
63 ExtractDialog.show() |
|
64 sys.exit(app.exec()) |