|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/IntroduceParameterDialog.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_IntroduceParameterDialog(object): |
|
13 def setupUi(self, IntroduceParameterDialog): |
|
14 IntroduceParameterDialog.setObjectName("IntroduceParameterDialog") |
|
15 IntroduceParameterDialog.resize(500, 66) |
|
16 IntroduceParameterDialog.setSizeGripEnabled(True) |
|
17 self.vboxlayout = QtWidgets.QVBoxLayout(IntroduceParameterDialog) |
|
18 self.vboxlayout.setContentsMargins(6, 6, 6, 6) |
|
19 self.vboxlayout.setSpacing(6) |
|
20 self.vboxlayout.setObjectName("vboxlayout") |
|
21 self.hboxlayout = QtWidgets.QHBoxLayout() |
|
22 self.hboxlayout.setObjectName("hboxlayout") |
|
23 self.label = QtWidgets.QLabel(IntroduceParameterDialog) |
|
24 self.label.setObjectName("label") |
|
25 self.hboxlayout.addWidget(self.label) |
|
26 self.nameEdit = QtWidgets.QLineEdit(IntroduceParameterDialog) |
|
27 self.nameEdit.setClearButtonEnabled(True) |
|
28 self.nameEdit.setObjectName("nameEdit") |
|
29 self.hboxlayout.addWidget(self.nameEdit) |
|
30 self.vboxlayout.addLayout(self.hboxlayout) |
|
31 self.buttonBox = QtWidgets.QDialogButtonBox(IntroduceParameterDialog) |
|
32 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
33 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
34 self.buttonBox.setObjectName("buttonBox") |
|
35 self.vboxlayout.addWidget(self.buttonBox) |
|
36 |
|
37 self.retranslateUi(IntroduceParameterDialog) |
|
38 self.buttonBox.rejected.connect(IntroduceParameterDialog.reject) # type: ignore |
|
39 QtCore.QMetaObject.connectSlotsByName(IntroduceParameterDialog) |
|
40 |
|
41 def retranslateUi(self, IntroduceParameterDialog): |
|
42 _translate = QtCore.QCoreApplication.translate |
|
43 IntroduceParameterDialog.setWindowTitle(_translate("IntroduceParameterDialog", "Introduce Parameter")) |
|
44 self.label.setText(_translate("IntroduceParameterDialog", "New Parameter Name:")) |
|
45 |
|
46 |
|
47 if __name__ == "__main__": |
|
48 import sys |
|
49 app = QtWidgets.QApplication(sys.argv) |
|
50 IntroduceParameterDialog = QtWidgets.QDialog() |
|
51 ui = Ui_IntroduceParameterDialog() |
|
52 ui.setupUi(IntroduceParameterDialog) |
|
53 IntroduceParameterDialog.show() |
|
54 sys.exit(app.exec()) |