149 def getAddData(self): |
149 def getAddData(self): |
150 """ |
150 """ |
151 Public method to retrieve the entered data for an add. |
151 Public method to retrieve the entered data for an add. |
152 |
152 |
153 @return a tuple containing the new breakpoints properties |
153 @return a tuple containing the new breakpoints properties |
154 (filename, lineno, condition, temporary flag, enabled flag, ignore count) |
154 (filename, lineno, condition, temporary flag, enabled flag, |
|
155 ignore count) |
155 """ |
156 """ |
156 fn = self.filenameCombo.currentText() |
157 fn = self.filenameCombo.currentText() |
157 if not fn: |
158 if not fn: |
158 fn = None |
159 fn = None |
159 else: |
160 else: |
160 fn = os.path.expanduser(os.path.expandvars(fn)) |
161 fn = os.path.expanduser(os.path.expandvars(fn)) |
161 |
162 |
162 return (fn, self.linenoSpinBox.value(), |
163 return (fn, self.linenoSpinBox.value(), |
163 self.conditionCombo.currentText(), |
164 self.conditionCombo.currentText(), |
164 self.temporaryCheckBox.isChecked(), self.enabledCheckBox.isChecked(), |
165 self.temporaryCheckBox.isChecked(), |
|
166 self.enabledCheckBox.isChecked(), |
165 self.ignoreSpinBox.value()) |
167 self.ignoreSpinBox.value()) |