81 self.TRPreviewerLayout.addWidget(self.preview) |
81 self.TRPreviewerLayout.addWidget(self.preview) |
82 self.preview.lastWidgetClosed.connect(self.__updateActions) |
82 self.preview.lastWidgetClosed.connect(self.__updateActions) |
83 |
83 |
84 self.setCentralWidget(self.cw) |
84 self.setCentralWidget(self.cw) |
85 |
85 |
86 self.languageComboactivated[str].connect(self.setTranslation) |
86 self.languageCombo.activated[str].connect(self.setTranslation) |
87 |
87 |
88 self.translations = TranslationsDict(self.languageCombo, self) |
88 self.translations = TranslationsDict(self.languageCombo, self) |
89 self.translations.translationChanged.connect(self.preview.rebuildWidgets) |
89 self.translations.translationChanged.connect(self.preview.rebuildWidgets) |
90 |
90 |
91 self.__initActions() |
91 self.__initActions() |
706 Specialized workspace to show the loaded widgets. |
706 Specialized workspace to show the loaded widgets. |
707 |
707 |
708 @signal lastWidgetClosed() emitted after last widget was closed |
708 @signal lastWidgetClosed() emitted after last widget was closed |
709 """ |
709 """ |
710 lastWidgetClosed = pyqtSignal() |
710 lastWidgetClosed = pyqtSignal() |
|
711 rebuildWidgets = pyqtSignal() |
711 |
712 |
712 def __init__(self, parent = None): |
713 def __init__(self, parent = None): |
713 """ |
714 """ |
714 Constructor |
715 Constructor |
715 |
716 |