src/eric7/EricWidgets/EricStringListEditWidget.py

branch
eric7
changeset 9534
5ed8445f3b31
parent 9473
3f23dbf37dbe
child 9561
f7bb5739c35a
equal deleted inserted replaced
9533:e017c0df9ef1 9534:5ed8445f3b31
66 66
67 @return edited list of string (list of string) 67 @return edited list of string (list of string)
68 """ 68 """
69 return self.__model.stringList()[:] 69 return self.__model.stringList()[:]
70 70
71 def count(self):
72 """
73 Public method to get the number of entries of the list.
74
75 @return number of list entries
76 @rtype int
77 """
78 return self.__model.rowCount()
79
80 def isListEmpty(self):
81 """
82 Public method to check, if the list is empty.
83
84 @return flag indicating an empty list
85 @rtype bool
86 """
87 return self.__model.rowCount() == 0
88
71 def setListWhatsThis(self, txt): 89 def setListWhatsThis(self, txt):
72 """ 90 """
73 Public method to set a what's that help text for the string list. 91 Public method to set a what's that help text for the string list.
74 92
75 @param txt help text to be set (string) 93 @param txt help text to be set (string)

eric ide

mercurial