src/eric7/Project/CreateDialogCodeDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
80 self.slotsView.header().hide() 80 self.slotsView.header().hide()
81 81
82 self.project = project 82 self.project = project
83 83
84 self.formFile = formName 84 self.formFile = formName
85 filename, ext = os.path.splitext(self.formFile) 85 filename, _ext = os.path.splitext(self.formFile)
86 self.srcFile = "{0}{1}".format( 86 self.srcFile = "{0}{1}".format(
87 filename, self.project.getDefaultSourceExtension() 87 filename, self.project.getDefaultSourceExtension()
88 ) 88 )
89 89
90 self.slotsModel = QStandardItemModel() 90 self.slotsModel = QStandardItemModel()
614 return 614 return
615 615
616 self.project.appendFile(fn) 616 self.project.appendFile(fn)
617 617
618 @pyqtSlot(int) 618 @pyqtSlot(int)
619 def on_classNameCombo_activated(self, index): 619 def on_classNameCombo_activated(self, _index):
620 """ 620 """
621 Private slot to handle the activated signal of the classname combo. 621 Private slot to handle the activated signal of the classname combo.
622 622
623 @param index index of the activated item 623 @param _index index of the activated item (unused)
624 @type int 624 @type int
625 """ 625 """
626 self.okButton.setEnabled(True) 626 self.okButton.setEnabled(True)
627 self.__updateSlotsModel() 627 self.__updateSlotsModel()
628 628

eric ide

mercurial