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( |