回答編集履歴
1
コード修正(コーディングスタイルのみ)
test
CHANGED
@@ -13,8 +13,6 @@
|
|
13
13
|
from PyQt5.QtWidgets import QApplication, QLineEdit
|
14
14
|
|
15
15
|
|
16
|
-
|
17
|
-
app = QApplication(sys.argv)
|
18
16
|
|
19
17
|
|
20
18
|
|
@@ -56,14 +54,18 @@
|
|
56
54
|
|
57
55
|
|
58
56
|
|
59
|
-
lineEdit = MyLineEdit()
|
60
|
-
|
61
|
-
lineEdit.setText("L_ARM_JNT_001_sss")
|
62
|
-
|
63
|
-
lineEdit.show()
|
64
57
|
|
65
58
|
|
59
|
+
if __name__ == "__main__":
|
66
60
|
|
61
|
+
app = QApplication(sys.argv)
|
62
|
+
|
63
|
+
lineEdit = MyLineEdit()
|
64
|
+
|
65
|
+
lineEdit.setText("L_ARM_JNT_001_sss")
|
66
|
+
|
67
|
+
lineEdit.show()
|
68
|
+
|
67
|
-
app.exec_()
|
69
|
+
app.exec_()
|
68
70
|
|
69
71
|
```
|