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) |