E5Gui/E5ComboBox.py

changeset 3670
f0cb7579c0b4
parent 3656
441956d8fce5
child 4021
195a471c327b
equal deleted inserted replaced
3669:ac84ac3c0f05 3670:f0cb7579c0b4
2 2
3 # Copyright (c) 2012 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2012 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Module implementing combobox classes using the eric5 line edits. 7 Module implementing combobox classes using the eric6 line edits.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt5.QtWidgets import QComboBox 12 from PyQt5.QtWidgets import QComboBox
13 13
14 14
15 class E5ComboBox(QComboBox): 15 class E5ComboBox(QComboBox):
16 """ 16 """
17 Class implementing a combobox using the eric5 line edit. 17 Class implementing a combobox using the eric6 line edit.
18 """ 18 """
19 def __init__(self, parent=None, inactiveText=""): 19 def __init__(self, parent=None, inactiveText=""):
20 """ 20 """
21 Constructor 21 Constructor
22 22
50 self.__lineedit.setInactiveText() 50 self.__lineedit.setInactiveText()
51 51
52 52
53 class E5ClearableComboBox(E5ComboBox): 53 class E5ClearableComboBox(E5ComboBox):
54 """ 54 """
55 Class implementing a combobox using the eric5 line edit. 55 Class implementing a combobox using the eric6 line edit.
56 """ 56 """
57 def __init__(self, parent=None, inactiveText=""): 57 def __init__(self, parent=None, inactiveText=""):
58 """ 58 """
59 Constructor 59 Constructor
60 60

eric ide

mercurial