4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog for entering the create parameters. |
7 Module implementing a dialog for entering the create parameters. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
|
11 try: |
|
12 str = unicode |
|
13 except (NameError): |
|
14 pass |
9 |
15 |
10 from PyQt4.QtCore import pyqtSlot, QProcess |
16 from PyQt4.QtCore import pyqtSlot, QProcess |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox |
17 from PyQt4.QtGui import QDialog, QDialogButtonBox |
12 |
18 |
13 from E5Gui import E5MessageBox |
19 from E5Gui import E5MessageBox |
26 Constructor |
32 Constructor |
27 |
33 |
28 @param project reference to the project object (Project) |
34 @param project reference to the project object (Project) |
29 @param parent reference to the parent widget (QWidget) |
35 @param parent reference to the parent widget (QWidget) |
30 """ |
36 """ |
31 super().__init__(parent) |
37 super(CreateParametersDialog, self).__init__(parent) |
32 self.setupUi(self) |
38 self.setupUi(self) |
33 |
39 |
34 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
40 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
35 self.__okButton.setEnabled(False) |
41 self.__okButton.setEnabled(False) |
36 |
42 |