Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2404
cba0ff902c2b
child 2574
9d6b6cf31ec6
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a simple Python syntax checker. 7 Module implementing a simple Python syntax checker.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import os 12 import os
11 import fnmatch 13 import fnmatch
12 14
13 from PyQt4.QtCore import pyqtSlot, Qt 15 from PyQt4.QtCore import pyqtSlot, Qt
37 """ 39 """
38 Constructor 40 Constructor
39 41
40 @param parent The parent widget. (QWidget) 42 @param parent The parent widget. (QWidget)
41 """ 43 """
42 super().__init__(parent) 44 super(SyntaxCheckerDialog, self).__init__(parent)
43 self.setupUi(self) 45 self.setupUi(self)
44 46
45 self.showButton = self.buttonBox.addButton( 47 self.showButton = self.buttonBox.addButton(
46 self.trUtf8("Show"), QDialogButtonBox.ActionRole) 48 self.trUtf8("Show"), QDialogButtonBox.ActionRole)
47 self.showButton.setToolTip( 49 self.showButton.setToolTip(

eric ide

mercurial