55 """ |
55 """ |
56 Public method to retrieve the dialog's result. |
56 Public method to retrieve the dialog's result. |
57 |
57 |
58 @return ready formatted repeat string (string) |
58 @return ready formatted repeat string (string) |
59 """ |
59 """ |
60 if self.minimalCheckBox.isChecked(): |
60 minimal = "?" if self.minimalCheckBox.isChecked() else "" |
61 minimal = "?" |
61 |
62 else: |
|
63 minimal = "" |
|
64 |
|
65 if self.unlimitedButton.isChecked(): |
62 if self.unlimitedButton.isChecked(): |
66 return "*" + minimal |
63 return "*" + minimal |
67 elif self.minButton.isChecked(): |
64 elif self.minButton.isChecked(): |
68 reps = self.minSpin.value() |
65 reps = self.minSpin.value() |
69 if reps == 1: |
66 if reps == 1: |