1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 |
2 |
3 """ |
3 """ |
4 Module implementing the eric5 message box wizard dialog. |
4 Module implementing the eric5 message box wizard dialog. |
5 """ |
5 """ |
|
6 |
|
7 from __future__ import unicode_literals # __IGNORE_WARNING__ |
6 |
8 |
7 import os |
9 import os |
8 |
10 |
9 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtCore import pyqtSlot |
10 from PyQt4.QtGui import QDialog, QDialogButtonBox, QAbstractButton |
12 from PyQt4.QtGui import QDialog, QDialogButtonBox, QAbstractButton |
25 """ |
27 """ |
26 Constructor |
28 Constructor |
27 |
29 |
28 @param parent reference to the parent widget (QWidget) |
30 @param parent reference to the parent widget (QWidget) |
29 """ |
31 """ |
30 super().__init__(parent) |
32 super(E5MessageBoxWizardDialog, self).__init__(parent) |
31 self.setupUi(self) |
33 self.setupUi(self) |
32 |
34 |
33 # keep the following three lists in sync |
35 # keep the following three lists in sync |
34 self.buttonsList = [ |
36 self.buttonsList = [ |
35 self.trUtf8("No button"), |
37 self.trUtf8("No button"), |