RefactoringRope/Ui_IntroduceFactoryDialog.py

branch
eric7
changeset 423
9dfc89a5aadf
parent 422
f98253eed7f0
equal deleted inserted replaced
422:f98253eed7f0 423:9dfc89a5aadf
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/IntroduceFactoryDialog.ui' 1 # Form implementation generated from reading ui file 'RefactoringRope/IntroduceFactoryDialog.ui'
2 # 2 #
3 # Created by: PyQt6 UI code generator 6.3.1 3 # Created by: PyQt6 UI code generator 6.7.1
4 # 4 #
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is 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. 6 # run again. Do not edit this file unless you know what you are doing.
7 7
8 8
17 self.vboxlayout = QtWidgets.QVBoxLayout(IntroduceFactoryDialog) 17 self.vboxlayout = QtWidgets.QVBoxLayout(IntroduceFactoryDialog)
18 self.vboxlayout.setContentsMargins(6, 6, 6, 6) 18 self.vboxlayout.setContentsMargins(6, 6, 6, 6)
19 self.vboxlayout.setObjectName("vboxlayout") 19 self.vboxlayout.setObjectName("vboxlayout")
20 self.hboxlayout = QtWidgets.QHBoxLayout() 20 self.hboxlayout = QtWidgets.QHBoxLayout()
21 self.hboxlayout.setObjectName("hboxlayout") 21 self.hboxlayout.setObjectName("hboxlayout")
22 self.label = QtWidgets.QLabel(IntroduceFactoryDialog) 22 self.label = QtWidgets.QLabel(parent=IntroduceFactoryDialog)
23 self.label.setObjectName("label") 23 self.label.setObjectName("label")
24 self.hboxlayout.addWidget(self.label) 24 self.hboxlayout.addWidget(self.label)
25 self.nameEdit = QtWidgets.QLineEdit(IntroduceFactoryDialog) 25 self.nameEdit = QtWidgets.QLineEdit(parent=IntroduceFactoryDialog)
26 self.nameEdit.setClearButtonEnabled(True) 26 self.nameEdit.setClearButtonEnabled(True)
27 self.nameEdit.setObjectName("nameEdit") 27 self.nameEdit.setObjectName("nameEdit")
28 self.hboxlayout.addWidget(self.nameEdit) 28 self.hboxlayout.addWidget(self.nameEdit)
29 self.vboxlayout.addLayout(self.hboxlayout) 29 self.vboxlayout.addLayout(self.hboxlayout)
30 self.staticButton = QtWidgets.QRadioButton(IntroduceFactoryDialog) 30 self.staticButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog)
31 self.staticButton.setChecked(True) 31 self.staticButton.setChecked(True)
32 self.staticButton.setObjectName("staticButton") 32 self.staticButton.setObjectName("staticButton")
33 self.vboxlayout.addWidget(self.staticButton) 33 self.vboxlayout.addWidget(self.staticButton)
34 self.globalButton = QtWidgets.QRadioButton(IntroduceFactoryDialog) 34 self.globalButton = QtWidgets.QRadioButton(parent=IntroduceFactoryDialog)
35 self.globalButton.setObjectName("globalButton") 35 self.globalButton.setObjectName("globalButton")
36 self.vboxlayout.addWidget(self.globalButton) 36 self.vboxlayout.addWidget(self.globalButton)
37 self.buttonBox = QtWidgets.QDialogButtonBox(IntroduceFactoryDialog) 37 self.buttonBox = QtWidgets.QDialogButtonBox(parent=IntroduceFactoryDialog)
38 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) 38 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
39 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) 39 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
40 self.buttonBox.setObjectName("buttonBox") 40 self.buttonBox.setObjectName("buttonBox")
41 self.vboxlayout.addWidget(self.buttonBox) 41 self.vboxlayout.addWidget(self.buttonBox)
42 42
54 self.nameEdit.setToolTip(_translate("IntroduceFactoryDialog", "Enter the name of the factory method")) 54 self.nameEdit.setToolTip(_translate("IntroduceFactoryDialog", "Enter the name of the factory method"))
55 self.staticButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a static method")) 55 self.staticButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a static method"))
56 self.staticButton.setText(_translate("IntroduceFactoryDialog", "Use static method")) 56 self.staticButton.setText(_translate("IntroduceFactoryDialog", "Use static method"))
57 self.globalButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a global function")) 57 self.globalButton.setToolTip(_translate("IntroduceFactoryDialog", "Select to make the factory method a global function"))
58 self.globalButton.setText(_translate("IntroduceFactoryDialog", "Use global function")) 58 self.globalButton.setText(_translate("IntroduceFactoryDialog", "Use global function"))
59
60
61 if __name__ == "__main__":
62 import sys
63 app = QtWidgets.QApplication(sys.argv)
64 IntroduceFactoryDialog = QtWidgets.QDialog()
65 ui = Ui_IntroduceFactoryDialog()
66 ui.setupUi(IntroduceFactoryDialog)
67 IntroduceFactoryDialog.show()
68 sys.exit(app.exec())

eric ide

mercurial