Helpviewer/HelpTabWidget.py

changeset 1539
b2d98c2e2e43
parent 1509
c0b5e693b0eb
child 1636
6a25bb84e2a3
child 1646
26e064833700
equal deleted inserted replaced
1538:c14a5ecdb6f4 1539:b2d98c2e2e43
586 anim = self.animationLabel( 586 anim = self.animationLabel(
587 index, os.path.join(getConfig("ericPixDir"), "loading.gif")) 587 index, os.path.join(getConfig("ericPixDir"), "loading.gif"))
588 if not anim: 588 if not anim:
589 loading = QIcon(os.path.join(getConfig("ericPixDir"), "loading.gif")) 589 loading = QIcon(os.path.join(getConfig("ericPixDir"), "loading.gif"))
590 self.setTabIcon(index, loading) 590 self.setTabIcon(index, loading)
591 else:
592 self.setTabIcon(index, QIcon())
593 self.setTabText(index, self.trUtf8("Loading..."))
594 self.setTabToolTip(index, self.trUtf8("Loading..."))
591 self.showMessage.emit(self.trUtf8("Loading...")) 595 self.showMessage.emit(self.trUtf8("Loading..."))
592 596
593 self.__mainWindow.setLoadingActions(True) 597 self.__mainWindow.setLoadingActions(True)
594 598
595 def __loadFinished(self, ok): 599 def __loadFinished(self, ok):

eric ide

mercurial