E5Gui/E5ComboBox.py

branch
6_1_x
changeset 4585
dbedc2e21bbd
parent 4583
f633fdfa7783
child 4632
ca310db386ed
equal deleted inserted replaced
4583:f633fdfa7783 4585:dbedc2e21bbd
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(inactiveText) 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