UI/EmailDialog.py

changeset 4278
ccd1e13cb9bd
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4275:3bed5f74d328 4278:ccd1e13cb9bd
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