Preferences/ConfigurationPages/EditorCalltipsPage.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the Editor Calltips configuration page. 7 Module implementing the Editor Calltips configuration page.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.Qsci import QsciScintilla 12 from PyQt4.Qsci import QsciScintilla
11 13
12 from QScintilla.QsciScintillaCompat import QSCINTILLA_VERSION 14 from QScintilla.QsciScintillaCompat import QSCINTILLA_VERSION
13 15
23 """ 25 """
24 def __init__(self): 26 def __init__(self):
25 """ 27 """
26 Constructor 28 Constructor
27 """ 29 """
28 super().__init__() 30 super(EditorCalltipsPage, self).__init__()
29 self.setupUi(self) 31 self.setupUi(self)
30 self.setObjectName("EditorCalltipsPage") 32 self.setObjectName("EditorCalltipsPage")
31 33
32 if QSCINTILLA_VERSION() >= 0x020700: 34 if QSCINTILLA_VERSION() >= 0x020700:
33 self.positionComboBox.addItem(self.trUtf8("Below Text"), 35 self.positionComboBox.addItem(self.trUtf8("Below Text"),

eric ide

mercurial