108 Public method to get the values for all variables. |
108 Public method to get the values for all variables. |
109 |
109 |
110 @return dictionary with the variable as a key and its value (string) |
110 @return dictionary with the variable as a key and its value (string) |
111 """ |
111 """ |
112 values = {} |
112 values = {} |
113 for var, textEdit in self.variablesEntries.items(): |
113 for var, textEdit in list(self.variablesEntries.items()): |
114 try: |
114 try: |
115 values[var] = textEdit.text() |
115 values[var] = textEdit.text() |
116 except AttributeError: |
116 except AttributeError: |
117 values[var] = textEdit.toPlainText() |
117 values[var] = textEdit.toPlainText() |
118 return values |
118 return values |