def add_tab_errors(self):
     if not self._listErrors:
         self._listErrors = errors_lists.ErrorsWidget()
         self.addTab(self._listErrors, self.tr("Errors"))
         self.connect(self._listErrors, SIGNAL("pep8Activated(bool)"),
                      self.__ide.mainContainer.reset_pep8_warnings)
         self.connect(self._listErrors, SIGNAL("lintActivated(bool)"),
                      self.__ide.mainContainer.reset_lint_warnings)
Beispiel #2
0
 def add_tab_errors(self):
     if not self._listErrors:
         self._listErrors = errors_lists.ErrorsWidget()
         self.addTab(self._listErrors, self.tr("Errors"))
         self.connect(self._listErrors, SIGNAL("pep8Activated(bool)"),
             lambda b: self.emit(SIGNAL("pep8Activated(bool)"), b))
         self.connect(self._listErrors, SIGNAL("lintActivated(bool)"),
             lambda b: self.emit(SIGNAL("lintActivated(bool)"), b))
Beispiel #3
0
 def add_tab_errors(self):
     if not self._listErrors:
         self._listErrors = errors_lists.ErrorsWidget()
         self.addTab(self._listErrors, self.tr("Errors"))