29 |
29 |
30 for condStr, condData in [("==", ""), ("<=", " lte"), ("<", " lt"), |
30 for condStr, condData in [("==", ""), ("<=", " lte"), ("<", " lt"), |
31 (">", " gt"), (">=", " gte")]: |
31 (">", " gt"), (">=", " gte")]: |
32 self.conditionalComboBox.addItem(condStr, condData) |
32 self.conditionalComboBox.addItem(condStr, condData) |
33 |
33 |
|
34 msh = self.minimumSizeHint() |
|
35 self.resize(max(self.width(), msh.width()), msh.height()) |
|
36 |
34 def getData(self): |
37 def getData(self): |
35 """ |
38 """ |
36 Public method to retrieve the entered data. |
39 Public method to retrieve the entered data. |
37 |
40 |
38 @return tuple of condition (string) and version (integer) |
41 @return tuple of condition (string) and version (integer) |