PluginManager/PluginInstallDialog.py

changeset 465
c20e25deb33a
parent 415
59a0f9e90768
child 564
b3d966393ba9
equal deleted inserted replaced
464:a2b1d1770ef0 465:c20e25deb33a
525 self.cw = PluginInstallWidget(pluginManager, pluginFileNames, self) 525 self.cw = PluginInstallWidget(pluginManager, pluginFileNames, self)
526 size = self.cw.size() 526 size = self.cw.size()
527 self.__layout.addWidget(self.cw) 527 self.__layout.addWidget(self.cw)
528 self.resize(size) 528 self.resize(size)
529 529
530 self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.accept) 530 self.cw.buttonBox.accepted[()].connect(self.accept)
531 self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.reject) 531 self.cw.buttonBox.rejected[()].connect(self.reject)
532 532
533 def restartNeeded(self): 533 def restartNeeded(self):
534 """ 534 """
535 Public method to check, if a restart of the IDE is required. 535 Public method to check, if a restart of the IDE is required.
536 536
554 self.cw = PluginInstallWidget(None, pluginFileNames, self) 554 self.cw = PluginInstallWidget(None, pluginFileNames, self)
555 size = self.cw.size() 555 size = self.cw.size()
556 self.setCentralWidget(self.cw) 556 self.setCentralWidget(self.cw)
557 self.resize(size) 557 self.resize(size)
558 558
559 self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.close) 559 self.cw.buttonBox.accepted[()].connect(self.close)
560 self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) 560 self.cw.buttonBox.rejected[()].connect(self.close)

eric ide

mercurial