ProjectDjangoTagsMenu/IeCommentDialog.py

changeset 21
2f95d929282e
parent 16
f2d493540f04
child 23
070a6c65c8a9
equal deleted inserted replaced
20:d81400bf7038 21:2f95d929282e
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)

eric ide

mercurial