E5Gui/E5ComboBox.py

changeset 4584
cc838476ad58
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4582:3a1d1d4c6f4f 4584:cc838476ad58
37 """ 37 """
38 Public method to get the inactive text. 38 Public method to get the inactive text.
39 39
40 @return inactive text (string) 40 @return inactive text (string)
41 """ 41 """
42 return self.__lineedit.inactiveText() 42 return self.lineEdit().inactiveText()
43 43
44 def setInactiveText(self, inactiveText): 44 def setInactiveText(self, inactiveText):
45 """ 45 """
46 Public method to set the inactive text. 46 Public method to set the inactive text.
47 47
48 @param inactiveText text to be shown on inactivity (string) 48 @param inactiveText text to be shown on inactivity (string)
49 """ 49 """
50 self.__lineedit.setInactiveText() 50 self.lineEdit().setInactiveText(inactiveText)
51 51
52 52
53 class E5ClearableComboBox(E5ComboBox): 53 class E5ClearableComboBox(E5ComboBox):
54 """ 54 """
55 Class implementing a combobox using the eric6 line edit. 55 Class implementing a combobox using the eric6 line edit.

eric ide

mercurial