ProjectDjangoTagsMenu/IeCommentDialog.py

changeset 16
f2d493540f04
parent 10
ef5694c0bf3a
child 21
2f95d929282e
equal deleted inserted replaced
15:b9a131db7c74 16:f2d493540f04
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2014 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
2 5
3 """ 6 """
4 Module implementing a dialog to enter data for an IE comment. 7 Module implementing a dialog to enter data for an IE comment.
5 """ 8 """
6 9
19 """ 22 """
20 Constructor 23 Constructor
21 24
22 @param parent reference to the parent widget (QWidget) 25 @param parent reference to the parent widget (QWidget)
23 """ 26 """
24 super().__init__(parent) 27 super(IeCommentDialog, self).__init__(parent)
25 self.setupUi(self) 28 self.setupUi(self)
26 29
27 for condStr, condData in [("==", ""), ("<=", " lte"), ("<", " lt"), 30 for condStr, condData in [("==", ""), ("<=", " lte"), ("<", " lt"),
28 (">", " gt"), (">=", " gte")]: 31 (">", " gt"), (">=", " gte")]:
29 self.conditionalComboBox.addItem(condStr, condData) 32 self.conditionalComboBox.addItem(condStr, condData)

eric ide

mercurial