4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the Translations Properties dialog. |
7 Module implementing the Translations Properties 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 QListWidgetItem, QDialog, QDialogButtonBox |
15 from PyQt4.QtGui import QListWidgetItem, QDialog, QDialogButtonBox |
30 |
32 |
31 @param project reference to the project object |
33 @param project reference to the project object |
32 @param new flag indicating the generation of a new project |
34 @param new flag indicating the generation of a new project |
33 @param parent parent widget of this dialog (QWidget) |
35 @param parent parent widget of this dialog (QWidget) |
34 """ |
36 """ |
35 super().__init__(parent) |
37 super(TranslationPropertiesDialog, self).__init__(parent) |
36 self.setupUi(self) |
38 self.setupUi(self) |
37 |
39 |
38 self.project = project |
40 self.project = project |
39 self.parent = parent |
41 self.parent = parent |
40 |
42 |