129 Public method to get the values for all variables. |
129 Public method to get the values for all variables. |
130 |
130 |
131 @return dictionary with the variable as a key and its value (string) |
131 @return dictionary with the variable as a key and its value (string) |
132 """ |
132 """ |
133 values = {} |
133 values = {} |
134 for var, textEdit in list(self.variablesEntries.items()): |
134 for var, textEdit in self.variablesEntries.items(): |
135 try: |
135 try: |
136 values[var] = textEdit.text() |
136 values[var] = textEdit.text() |
137 except AttributeError: |
137 except AttributeError: |
138 values[var] = textEdit.toPlainText() |
138 values[var] = textEdit.toPlainText() |
139 return values |
139 return values |