65 Constructor |
67 Constructor |
66 |
68 |
67 @param mode mode of this dialog (string, "bug" or "feature") |
69 @param mode mode of this dialog (string, "bug" or "feature") |
68 @param parent parent widget of this dialog (QWidget) |
70 @param parent parent widget of this dialog (QWidget) |
69 """ |
71 """ |
70 super().__init__(parent) |
72 super(EmailDialog, self).__init__(parent) |
71 self.setupUi(self) |
73 self.setupUi(self) |
72 |
74 |
73 self.__mode = mode |
75 self.__mode = mode |
74 if self.__mode == "feature": |
76 if self.__mode == "feature": |
75 self.setWindowTitle(self.trUtf8("Send feature request")) |
77 self.setWindowTitle(self.trUtf8("Send feature request")) |