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