120 def getSelection(self): |
120 def getSelection(self): |
121 """ |
121 """ |
122 Public method to get the list of selected modules. |
122 Public method to get the list of selected modules. |
123 |
123 |
124 @return list of selected modules |
124 @return list of selected modules |
125 @rtype circup.Module |
125 @rtype circup.module.Module |
126 """ |
126 """ |
127 results = [] |
127 results = [] |
128 if self.__selectionMode: |
128 if self.__selectionMode: |
129 for row in range(self.modulesList.count()): |
129 for row in range(self.modulesList.count()): |
130 itm = self.modulesList.item(row) |
130 itm = self.modulesList.item(row) |