UI/EmailDialog.py

branch
6_0_x
changeset 4280
9556c261c3a2
parent 4022
f5f42921717e
child 4631
5c1a96925da4
equal deleted inserted replaced
4276:6ba4bda91560 4280:9556c261c3a2
71 @param mode mode of this dialog (string, "bug" or "feature") 71 @param mode mode of this dialog (string, "bug" or "feature")
72 @param parent parent widget of this dialog (QWidget) 72 @param parent parent widget of this dialog (QWidget)
73 """ 73 """
74 super(EmailDialog, self).__init__(parent) 74 super(EmailDialog, self).__init__(parent)
75 self.setupUi(self) 75 self.setupUi(self)
76 self.setWindowFlags(Qt.Window)
76 77
77 self.__mode = mode 78 self.__mode = mode
78 if self.__mode == "feature": 79 if self.__mode == "feature":
79 self.setWindowTitle(self.tr("Send feature request")) 80 self.setWindowTitle(self.tr("Send feature request"))
80 self.msgLabel.setText(self.tr( 81 self.msgLabel.setText(self.tr(

eric ide

mercurial