ProjectPyramid/FormSelectionDialog.py

changeset 56
c7adc68350dd
parent 34
d20f7218d53c
child 57
e654970c913e
equal deleted inserted replaced
53:a3ba38d3a25e 56:c7adc68350dd
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to select the template type. 7 Module implementing a dialog to select the template type.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSlot 12 from PyQt4.QtCore import pyqtSlot
11 from PyQt4.QtGui import QDialog, QDialogButtonBox 13 from PyQt4.QtGui import QDialog, QDialogButtonBox
12 14
13 from .Ui_FormSelectionDialog import Ui_FormSelectionDialog 15 from .Ui_FormSelectionDialog import Ui_FormSelectionDialog
21 """ 23 """
22 Constructor 24 Constructor
23 25
24 @param parent reference to the parent widget (QWidget) 26 @param parent reference to the parent widget (QWidget)
25 """ 27 """
26 super().__init__(parent) 28 super(FormSelectionDialog, self).__init__(parent)
27 self.setupUi(self) 29 self.setupUi(self)
28 30
29 self.__templates = { 31 self.__templates = {
30 "html5": [self.trUtf8("Standard HTML 5 template"), 32 "html5": [self.trUtf8("Standard HTML 5 template"),
31 '''<!DOCTYPE html>\n''' 33 '''<!DOCTYPE html>\n'''

eric ide

mercurial