2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the font dialog wizard dialog. | 7 Module implementing the font dialog wizard dialog. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 import os | 12 import os |
11 | 13 |
12 from PyQt4.QtCore import pyqtSlot | 14 from PyQt4.QtCore import pyqtSlot |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox, QFontDialog | 15 from PyQt4.QtGui import QDialog, QDialogButtonBox, QFontDialog |
26 """ | 28 """ |
27 Constructor | 29 Constructor |
28 | 30 |
29 @param parent parent widget (QWidget) | 31 @param parent parent widget (QWidget) |
30 """ | 32 """ |
31 super().__init__(parent) | 33 super(FontDialogWizardDialog, self).__init__(parent) |
32 self.setupUi(self) | 34 self.setupUi(self) |
33 | 35 |
34 self.bTest = \ | 36 self.bTest = \ |
35 self.buttonBox.addButton(self.trUtf8("Test"), QDialogButtonBox.ActionRole) | 37 self.buttonBox.addButton(self.trUtf8("Test"), QDialogButtonBox.ActionRole) |
36 | 38 |