質問編集履歴

2

タブに\[ python \]を追加しました。

2016/09/07 18:26

投稿

mosquito
mosquito

スコア19

test CHANGED
File without changes
test CHANGED
File without changes

1

誤字の修正をいたしました。申し訳ありません。

2016/09/07 18:26

投稿

mosquito
mosquito

スコア19

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  super().__init__()
24
24
 
25
- def self.createButton(mainwindow)
25
+ self.createButton(mainwindow)
26
26
 
27
27
  def createButton(self, mainwindow):
28
28
 
@@ -30,7 +30,7 @@
30
30
 
31
31
  newFusenTB.setText('+')
32
32
 
33
- newFusenTB.clicked.connect(mainwindow.createNewFusen()) # 問題のコード
33
+ newFusenTB.clicked.connect(lambda: mainwindow.createNewFusen()) # 問題のコード
34
34
 
35
35
  ####Widgetの設定は省略####
36
36