Helpviewer/HelpTabWidget.py

branch
5_1_x
changeset 1541
7fb08da8080a
parent 1510
e75ecf2bd9dd
equal deleted inserted replaced
1540:3b0b478a3416 1541:7fb08da8080a
578 anim = self.animationLabel( 578 anim = self.animationLabel(
579 index, os.path.join(getConfig("ericPixDir"), "loading.gif")) 579 index, os.path.join(getConfig("ericPixDir"), "loading.gif"))
580 if not anim: 580 if not anim:
581 loading = QIcon(os.path.join(getConfig("ericPixDir"), "loading.gif")) 581 loading = QIcon(os.path.join(getConfig("ericPixDir"), "loading.gif"))
582 self.setTabIcon(index, loading) 582 self.setTabIcon(index, loading)
583 else:
584 self.setTabIcon(index, QIcon())
585 self.setTabText(index, self.trUtf8("Loading..."))
586 self.setTabToolTip(index, self.trUtf8("Loading..."))
583 self.showMessage.emit(self.trUtf8("Loading...")) 587 self.showMessage.emit(self.trUtf8("Loading..."))
584 588
585 self.__mainWindow.setLoadingActions(True) 589 self.__mainWindow.setLoadingActions(True)
586 590
587 def __loadFinished(self, ok): 591 def __loadFinished(self, ok):

eric ide

mercurial