WizardDataUriEncoder/DataUriEncoderWizardDialog.py

changeset 12
7d05e63f3cb1
parent 3
f01e48994421
child 18
c475669c478a
equal deleted inserted replaced
11:1048f914c7ee 12:7d05e63f3cb1
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 """ 3 """
4 Module implementing the base64 data URI encoder wizard dialog. 4 Module implementing the base64 data URI encoder wizard dialog.
5 """ 5 """
6
7 from __future__ import unicode_literals
6 8
7 import os 9 import os
8 import mimetypes 10 import mimetypes
9 import base64 11 import base64
10 import getpass 12 import getpass
63 """ 65 """
64 Constructor 66 Constructor
65 67
66 @param parent reference to the parent widget (QWidget) 68 @param parent reference to the parent widget (QWidget)
67 """ 69 """
68 super().__init__(parent) 70 super(DataUriEncoderWizardDialog, self).__init__(parent)
69 self.setupUi(self) 71 self.setupUi(self)
70 72
71 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) 73 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False)
72 74
73 self.__fileCompleter = E5FileCompleter(self.fileEdit) 75 self.__fileCompleter = E5FileCompleter(self.fileEdit)

eric ide

mercurial