質問編集履歴

3

コードの場所変更

2021/01/11 02:19

投稿

hachimitu
hachimitu

スコア36

test CHANGED
File without changes
test CHANGED
@@ -112,6 +112,96 @@
112
112
 
113
113
 
114
114
 
115
+ ```python
116
+
117
+ # -*- coding: utf-8 -*-
118
+
119
+
120
+
121
+ # Form implementation generated from reading ui file 'AK003_V1001ui_test.ui'
122
+
123
+ #
124
+
125
+ # Created by: PyQt5 UI code generator 5.9.2
126
+
127
+ #
128
+
129
+ # WARNING! All changes made in this file will be lost!
130
+
131
+
132
+
133
+ from PyQt5 import QtCore, QtGui, QtWidgets
134
+
135
+
136
+
137
+ class Ui_MainWindow(object):
138
+
139
+ def setupUi(self, MainWindow):
140
+
141
+ MainWindow.setObjectName("MainWindow")
142
+
143
+ MainWindow.resize(227, 142)
144
+
145
+ self.centralwidget = QtWidgets.QWidget(MainWindow)
146
+
147
+ self.centralwidget.setObjectName("centralwidget")
148
+
149
+ self.pushButton__execute = QtWidgets.QPushButton(self.centralwidget)
150
+
151
+ self.pushButton__execute.setGeometry(QtCore.QRect(50, 60, 111, 23))
152
+
153
+ font = QtGui.QFont()
154
+
155
+ font.setFamily("Segoe UI")
156
+
157
+ self.pushButton__execute.setFont(font)
158
+
159
+ self.pushButton__execute.setObjectName("pushButton__execute")
160
+
161
+ MainWindow.setCentralWidget(self.centralwidget)
162
+
163
+ self.menubar = QtWidgets.QMenuBar(MainWindow)
164
+
165
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 227, 21))
166
+
167
+ self.menubar.setObjectName("menubar")
168
+
169
+ MainWindow.setMenuBar(self.menubar)
170
+
171
+ self.statusbar = QtWidgets.QStatusBar(MainWindow)
172
+
173
+ self.statusbar.setObjectName("statusbar")
174
+
175
+ MainWindow.setStatusBar(self.statusbar)
176
+
177
+
178
+
179
+ self.retranslateUi(MainWindow)
180
+
181
+ self.pushButton__execute.clicked.connect(MainWindow.click_execute)
182
+
183
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
184
+
185
+
186
+
187
+ def retranslateUi(self, MainWindow):
188
+
189
+ _translate = QtCore.QCoreApplication.translate
190
+
191
+ MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
192
+
193
+ self.pushButton__execute.setText(_translate("MainWindow", "Execute"))
194
+
195
+
196
+
197
+
198
+
199
+ ```
200
+
201
+
202
+
203
+
204
+
115
205
 
116
206
 
117
207
  #問題
@@ -148,92 +238,6 @@
148
238
 
149
239
 
150
240
 
151
- ```python
152
-
153
- # -*- coding: utf-8 -*-
154
-
155
-
156
-
157
- # Form implementation generated from reading ui file 'AK003_V1001ui_test.ui'
158
-
159
- #
160
-
161
- # Created by: PyQt5 UI code generator 5.9.2
162
-
163
- #
164
-
165
- # WARNING! All changes made in this file will be lost!
166
-
167
-
168
-
169
- from PyQt5 import QtCore, QtGui, QtWidgets
170
-
171
-
172
-
173
- class Ui_MainWindow(object):
174
-
175
- def setupUi(self, MainWindow):
176
-
177
- MainWindow.setObjectName("MainWindow")
178
-
179
- MainWindow.resize(227, 142)
180
-
181
- self.centralwidget = QtWidgets.QWidget(MainWindow)
182
-
183
- self.centralwidget.setObjectName("centralwidget")
184
-
185
- self.pushButton__execute = QtWidgets.QPushButton(self.centralwidget)
186
-
187
- self.pushButton__execute.setGeometry(QtCore.QRect(50, 60, 111, 23))
188
-
189
- font = QtGui.QFont()
190
-
191
- font.setFamily("Segoe UI")
192
-
193
- self.pushButton__execute.setFont(font)
194
-
195
- self.pushButton__execute.setObjectName("pushButton__execute")
196
-
197
- MainWindow.setCentralWidget(self.centralwidget)
198
-
199
- self.menubar = QtWidgets.QMenuBar(MainWindow)
200
-
201
- self.menubar.setGeometry(QtCore.QRect(0, 0, 227, 21))
202
-
203
- self.menubar.setObjectName("menubar")
204
-
205
- MainWindow.setMenuBar(self.menubar)
206
-
207
- self.statusbar = QtWidgets.QStatusBar(MainWindow)
208
-
209
- self.statusbar.setObjectName("statusbar")
210
-
211
- MainWindow.setStatusBar(self.statusbar)
212
-
213
-
214
-
215
- self.retranslateUi(MainWindow)
216
-
217
- self.pushButton__execute.clicked.connect(MainWindow.click_execute)
218
-
219
- QtCore.QMetaObject.connectSlotsByName(MainWindow)
220
-
221
-
222
-
223
- def retranslateUi(self, MainWindow):
224
-
225
- _translate = QtCore.QCoreApplication.translate
226
-
227
- MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
228
-
229
- self.pushButton__execute.setText(_translate("MainWindow", "Execute"))
230
-
231
-
232
-
233
-
234
-
235
- ```
236
-
237
241
 
238
242
 
239
243
  #質問

2

コード変更

2021/01/11 02:19

投稿

hachimitu
hachimitu

スコア36

test CHANGED
File without changes
test CHANGED
@@ -110,6 +110,10 @@
110
110
 
111
111
 
112
112
 
113
+
114
+
115
+
116
+
113
117
  #問題
114
118
 
115
119
  デスクトップ画面への切り替わり処理の優先度が下がっている
@@ -144,6 +148,94 @@
144
148
 
145
149
 
146
150
 
151
+ ```python
152
+
153
+ # -*- coding: utf-8 -*-
154
+
155
+
156
+
157
+ # Form implementation generated from reading ui file 'AK003_V1001ui_test.ui'
158
+
159
+ #
160
+
161
+ # Created by: PyQt5 UI code generator 5.9.2
162
+
163
+ #
164
+
165
+ # WARNING! All changes made in this file will be lost!
166
+
167
+
168
+
169
+ from PyQt5 import QtCore, QtGui, QtWidgets
170
+
171
+
172
+
173
+ class Ui_MainWindow(object):
174
+
175
+ def setupUi(self, MainWindow):
176
+
177
+ MainWindow.setObjectName("MainWindow")
178
+
179
+ MainWindow.resize(227, 142)
180
+
181
+ self.centralwidget = QtWidgets.QWidget(MainWindow)
182
+
183
+ self.centralwidget.setObjectName("centralwidget")
184
+
185
+ self.pushButton__execute = QtWidgets.QPushButton(self.centralwidget)
186
+
187
+ self.pushButton__execute.setGeometry(QtCore.QRect(50, 60, 111, 23))
188
+
189
+ font = QtGui.QFont()
190
+
191
+ font.setFamily("Segoe UI")
192
+
193
+ self.pushButton__execute.setFont(font)
194
+
195
+ self.pushButton__execute.setObjectName("pushButton__execute")
196
+
197
+ MainWindow.setCentralWidget(self.centralwidget)
198
+
199
+ self.menubar = QtWidgets.QMenuBar(MainWindow)
200
+
201
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 227, 21))
202
+
203
+ self.menubar.setObjectName("menubar")
204
+
205
+ MainWindow.setMenuBar(self.menubar)
206
+
207
+ self.statusbar = QtWidgets.QStatusBar(MainWindow)
208
+
209
+ self.statusbar.setObjectName("statusbar")
210
+
211
+ MainWindow.setStatusBar(self.statusbar)
212
+
213
+
214
+
215
+ self.retranslateUi(MainWindow)
216
+
217
+ self.pushButton__execute.clicked.connect(MainWindow.click_execute)
218
+
219
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
220
+
221
+
222
+
223
+ def retranslateUi(self, MainWindow):
224
+
225
+ _translate = QtCore.QCoreApplication.translate
226
+
227
+ MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
228
+
229
+ self.pushButton__execute.setText(_translate("MainWindow", "Execute"))
230
+
231
+
232
+
233
+
234
+
235
+ ```
236
+
237
+
238
+
147
239
  #質問
148
240
 
149
241
  本原因がわかるかたいらっしゃいましたらアドバイスいただけますと幸いです。

1

タグ修正

2021/01/10 11:49

投稿

hachimitu
hachimitu

スコア36

test CHANGED
File without changes
test CHANGED
File without changes