Removed support for Python2. release-3.0.0

Tue, 23 Jun 2020 19:56:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 23 Jun 2020 19:56:12 +0200
changeset 35
20bea809ae09
parent 34
525dc29b6a22
child 36
6b9c5f07103e

Removed support for Python2.

ChangeLog file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.e4p file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.py file | annotate | diff | comparison | revisions
PluginWizardDataUriEncoder.zip file | annotate | diff | comparison | revisions
WizardDataUriEncoder/DataUriEncoderWizardDialog.py file | annotate | diff | comparison | revisions
WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder.html file | annotate | diff | comparison | revisions
WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html file | annotate | diff | comparison | revisions
WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.html file | annotate | diff | comparison | revisions
WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.html file | annotate | diff | comparison | revisions
WizardDataUriEncoder/Documentation/source/index.html file | annotate | diff | comparison | revisions
diff -r 525dc29b6a22 -r 20bea809ae09 ChangeLog
--- a/ChangeLog	Wed Jan 01 11:59:05 2020 +0100
+++ b/ChangeLog	Tue Jun 23 19:56:12 2020 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 3.0.0:
+- removed support for Python2
+
 Version 2.0.4:
 - bug fixes
 
diff -r 525dc29b6a22 -r 20bea809ae09 PluginWizardDataUriEncoder.e4p
--- a/PluginWizardDataUriEncoder.e4p	Wed Jan 01 11:59:05 2020 +0100
+++ b/PluginWizardDataUriEncoder.e4p	Tue Jun 23 19:56:12 2020 +0200
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE Project SYSTEM "Project-5.1.dtd">
 <!-- eric project file for project PluginWizardDataUriEncoder -->
-<!-- Copyright (C) 2017 Detlev Offenbach, detlevqdie-offenbachs.de -->
+<!-- Copyright (C) 2020 Detlev Offenbach, detlevqdie-offenbachs.de -->
 <Project version="5.1">
   <Language>en_US</Language>
   <Hash>2144bd61ef339d39bc1790af5e236aaa2a8828ac</Hash>
@@ -32,8 +32,6 @@
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_ru.qm</Translation>
     <Translation>WizardDataUriEncoder/i18n/datauriencoder_ru.ts</Translation>
   </Translations>
-  <Resources/>
-  <Interfaces/>
   <Others>
     <Other>.hgignore</Other>
     <Other>ChangeLog</Other>
@@ -234,6 +232,34 @@
         <value>
           <dict>
             <key>
+              <string>AnnotationsChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>MaximumComplexity</string>
+                </key>
+                <value>
+                  <int>3</int>
+                </value>
+                <key>
+                  <string>MinimumCoverage</string>
+                </key>
+                <value>
+                  <int>75</int>
+                </value>
+              </dict>
+            </value>
+            <key>
+              <string>BlankLines</string>
+            </key>
+            <value>
+              <tuple>
+                <int>2</int>
+                <int>1</int>
+              </tuple>
+            </value>
+            <key>
               <string>BuiltinsChecker</string>
             </key>
             <value>
@@ -265,6 +291,19 @@
               </dict>
             </value>
             <key>
+              <string>CommentedCodeChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>Aggressive</string>
+                </key>
+                <value>
+                  <bool>False</bool>
+                </value>
+              </dict>
+            </value>
+            <key>
               <string>CopyrightAuthor</string>
             </key>
             <value>
@@ -283,6 +322,12 @@
               <string>eric</string>
             </value>
             <key>
+              <string>EnabledCheckerCategories</string>
+            </key>
+            <value>
+              <string>C, D, E, M, N, S, W</string>
+            </value>
+            <key>
               <string>ExcludeFiles</string>
             </key>
             <value>
@@ -292,7 +337,7 @@
               <string>ExcludeMessages</string>
             </key>
             <value>
-              <string>C101, E265, E266, E305, E402, M811, N802, N803, N807, N808, N821, W293</string>
+              <string>C101,E265,E266,E305,E402,M811,N802,N803,N807,N808,N821,W293,W504,M305</string>
             </value>
             <key>
               <string>FixCodes</string>
@@ -310,7 +355,7 @@
               <string>FutureChecker</string>
             </key>
             <value>
-              <string>unicode_literals</string>
+              <string></string>
             </value>
             <key>
               <string>HangClosing</string>
@@ -343,6 +388,12 @@
               <int>10</int>
             </value>
             <key>
+              <string>MaxDocLineLength</string>
+            </key>
+            <value>
+              <int>79</int>
+            </value>
+            <key>
               <string>MaxLineLength</string>
             </key>
             <value>
@@ -361,6 +412,91 @@
               <bool>True</bool>
             </value>
             <key>
+              <string>SecurityChecker</string>
+            </key>
+            <value>
+              <dict>
+                <key>
+                  <string>CheckTypedException</string>
+                </key>
+                <value>
+                  <bool>False</bool>
+                </value>
+                <key>
+                  <string>HardcodedTmpDirectories</string>
+                </key>
+                <value>
+                  <list>
+                    <string>/tmp</string>
+                    <string>/var/tmp</string>
+                    <string>/dev/shm</string>
+                    <string>~/tmp</string>
+                  </list>
+                </value>
+                <key>
+                  <string>InsecureHashes</string>
+                </key>
+                <value>
+                  <list>
+                    <string>md4</string>
+                    <string>md5</string>
+                    <string>sha</string>
+                    <string>sha1</string>
+                  </list>
+                </value>
+                <key>
+                  <string>InsecureSslProtocolVersions</string>
+                </key>
+                <value>
+                  <list>
+                    <string>PROTOCOL_SSLv2</string>
+                    <string>SSLv2_METHOD</string>
+                    <string>SSLv23_METHOD</string>
+                    <string>PROTOCOL_SSLv3</string>
+                    <string>PROTOCOL_TLSv1</string>
+                    <string>SSLv3_METHOD</string>
+                    <string>TLSv1_METHOD</string>
+                  </list>
+                </value>
+                <key>
+                  <string>WeakKeySizeDsaHigh</string>
+                </key>
+                <value>
+                  <string>1024</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeDsaMedium</string>
+                </key>
+                <value>
+                  <string>2048</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeEcHigh</string>
+                </key>
+                <value>
+                  <string>160</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeEcMedium</string>
+                </key>
+                <value>
+                  <string>224</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeRsaHigh</string>
+                </key>
+                <value>
+                  <string>1024</string>
+                </value>
+                <key>
+                  <string>WeakKeySizeRsaMedium</string>
+                </key>
+                <value>
+                  <string>2048</string>
+                </value>
+              </dict>
+            </value>
+            <key>
               <string>ShowIgnored</string>
             </key>
             <value>
diff -r 525dc29b6a22 -r 20bea809ae09 PluginWizardDataUriEncoder.py
--- a/PluginWizardDataUriEncoder.py	Wed Jan 01 11:59:05 2020 +0100
+++ b/PluginWizardDataUriEncoder.py	Tue Jun 23 19:56:12 2020 +0200
@@ -7,8 +7,6 @@
 Module implementing the base64 data URI encoder wizard plug-in.
 """
 
-from __future__ import unicode_literals
-
 import os
 
 from PyQt5.QtCore import QObject, QTranslator
@@ -23,16 +21,16 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "2.0.4"
+version = "3.0.0"
 className = "WizardDataUriEncoderPlugin"
 packageName = "WizardDataUriEncoder"
 shortDescription = "Wizard for the creation of code for a base64 data URI."
-longDescription = \
-    """This plug-in implements a wizard to generate code for""" \
+longDescription = (
+    """This plug-in implements a wizard to generate code for"""
     """ base64 encoded data URIs."""
+)
 needsRestart = False
 pyqtApi = 2
-python2Compatible = True
 # End-of-Header
 
 error = ""
@@ -136,13 +134,14 @@
         editor = e5App().getObject("ViewManager").activeWindow()
         
         if editor is None:
-                E5MessageBox.critical(
-                    self.__ui,
-                    self.tr('No current editor'),
-                    self.tr('Please open or create a file first.'))
+            E5MessageBox.critical(
+                self.__ui,
+                self.tr('No current editor'),
+                self.tr('Please open or create a file first.'))
         else:
-            from WizardDataUriEncoder.DataUriEncoderWizardDialog import \
+            from WizardDataUriEncoder.DataUriEncoderWizardDialog import (
                 DataUriEncoderWizardDialog
+            )
             dlg = DataUriEncoderWizardDialog(None)
             if dlg.exec_() == QDialog.Accepted:
                 code = dlg.getCode()
diff -r 525dc29b6a22 -r 20bea809ae09 PluginWizardDataUriEncoder.zip
Binary file PluginWizardDataUriEncoder.zip has changed
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/DataUriEncoderWizardDialog.py
--- a/WizardDataUriEncoder/DataUriEncoderWizardDialog.py	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/DataUriEncoderWizardDialog.py	Tue Jun 23 19:56:12 2020 +0200
@@ -7,12 +7,6 @@
 Module implementing the base64 data URI encoder wizard dialog.
 """
 
-from __future__ import unicode_literals
-try:
-    str = unicode       # __IGNORE_EXCEPTION__
-except NameError:
-    pass
-
 import os
 import mimetypes
 import base64
@@ -20,8 +14,9 @@
 import datetime
 
 from PyQt5.QtCore import pyqtSlot
-from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QApplication, \
-    QInputDialog
+from PyQt5.QtWidgets import (
+    QDialog, QDialogButtonBox, QApplication, QInputDialog
+)
 
 from E5Gui.E5Completers import E5FileCompleter
 from E5Gui import E5FileDialog, E5MessageBox
@@ -33,22 +28,6 @@
 import UI.PixmapCache
 
 
-Python2Template = """#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-from base64 import b64decode
-from cStringIO import StringIO
-
-#metadata
-__author__ = '{0}'
-__date__ = '{1}'
-
-
-embedded_file = StringIO(b64decode({2}))
-print(embedded_file.read())
-"""
-
-
 Python3Template = """#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
@@ -85,13 +64,12 @@
         self.fileButton.setIcon(UI.PixmapCache.getIcon("open.png"))
         
         self.embeddingComboBox.addItems([
-            self.tr('Do not generate code'),
-            self.tr('Generate CSS embed code'),
-            self.tr('Generate Python3 embed code'),
-            self.tr('Generate Python2 embed code'),
-            self.tr('Generate HTML embed code'),
-            self.tr('Generate JS embed code'),
-            self.tr('Generate QML embed code'),
+            self.tr('Do not generate code'),            # 0
+            self.tr('Generate Python3 embed code'),     # 1
+            self.tr('Generate CSS embed code'),         # 2
+            self.tr('Generate HTML embed code'),        # 3
+            self.tr('Generate JS embed code'),          # 4
+            self.tr('Generate QML embed code'),         # 5
         ])
     
     def __getStartDir(self):
@@ -108,8 +86,10 @@
         """
         Private slot to select the file to be encoded via a selection dialog.
         """
-        start = Utilities.fromNativeSeparators(self.fileEdit.text()) or \
+        start = (
+            Utilities.fromNativeSeparators(self.fileEdit.text()) or
             self.__getStartDir()
+        )
         inputFile = E5FileDialog.getOpenFileName(
             self,
             self.tr("Data URI Encoder"),
@@ -132,10 +112,10 @@
         
         @param index index of the selected entry (integer)
         """
-        if index in [1, 4]:
+        if index in [2, 3]:
             self.encryptCheckBox.setChecked(False)
             self.dataCheckBox.setChecked(True)
-        elif index in [0, 2, 3, 5, 6]:
+        else:
             self.encryptCheckBox.setChecked(False)
             self.dataCheckBox.setChecked(False)
     
@@ -179,24 +159,20 @@
                     """<p>The file <b>{0}</b> could not be read.</p>"""
                     """<p>Reason: {1}</p>""").format(filepath, str(err)))
             return
-        if self.embeddingComboBox.currentIndex() == 1:
-            output = ('html, body {{ margin:0; padding:0; background: url({0})'
-                      ' no-repeat center center fixed; background-size:cover'
-                      ' }}'.format(output))
-        elif self.embeddingComboBox.currentIndex() == 2:
+        if self.embeddingComboBox.currentIndex() == 1:          # Python 3
             output = Python3Template.format(
                 getpass.getuser(),
                 datetime.datetime.now().isoformat().split('.')[0], output)
-        elif self.embeddingComboBox.currentIndex() == 3:
-            output = Python2Template.format(
-                getpass.getuser(),
-                datetime.datetime.now().isoformat().split('.')[0], output)
-        elif self.embeddingComboBox.currentIndex() == 4:
+        elif self.embeddingComboBox.currentIndex() == 2:        # CSS
+            output = ('html, body {{ margin:0; padding:0; background: url({0})'
+                      ' no-repeat center center fixed; background-size:cover'
+                      ' }}'.format(output))
+        elif self.embeddingComboBox.currentIndex() == 3:        # HTML
             output = '<img src={0} alt="{1}" title="{1}"/>'.format(
                 output, os.path.basename(filepath))
-        elif self.embeddingComboBox.currentIndex() == 5:
+        elif self.embeddingComboBox.currentIndex() == 4:        # JS
             output = 'var embedded_file = window.atob({0}); '.format(output)
-        elif self.embeddingComboBox.currentIndex() == 6:
+        elif self.embeddingComboBox.currentIndex() == 5:        # QML
             output = 'Image {{ source: {0} }} '.format(output)
         
         if self.encryptCheckBox.isChecked():
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder.html
--- a/WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder.html	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder.html	Tue Jun 23 19:56:12 2020 +0200
@@ -18,122 +18,161 @@
 
 </style>
 </head>
-<body><a NAME="top" ID="top"></a>
+<body>
+<a NAME="top" ID="top"></a>
 <h1>Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder</h1>
+
 <p>
 Module implementing the base64 data URI encoder wizard plug-in.
 </p>
 <h3>Global Attributes</h3>
+
 <table>
-<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
+<tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr>
 </table>
 <h3>Classes</h3>
+
 <table>
+
 <tr>
 <td><a href="#WizardDataUriEncoderPlugin">WizardDataUriEncoderPlugin</a></td>
 <td>Class implementing the base64 data URI encoder wizard plug-in.</td>
 </tr>
 </table>
 <h3>Functions</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="WizardDataUriEncoderPlugin" ID="WizardDataUriEncoderPlugin"></a>
 <h2>WizardDataUriEncoderPlugin</h2>
+
 <p>
     Class implementing the base64 data URI encoder wizard plug-in.
 </p>
 <h3>Derived from</h3>
 QObject
 <h3>Class Attributes</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Class Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Methods</h3>
+
 <table>
+
 <tr>
 <td><a href="#WizardDataUriEncoderPlugin.__init__">WizardDataUriEncoderPlugin</a></td>
 <td>Constructor</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.__handle">__handle</a></td>
 <td>Private method to handle the wizards action.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.__initAction">__initAction</a></td>
 <td>Private method to initialize the action.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.__initMenu">__initMenu</a></td>
 <td>Private method to add the actions to the right menu.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.__initialize">__initialize</a></td>
 <td>Private slot to (re)initialize the plug-in.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.__loadTranslator">__loadTranslator</a></td>
 <td>Private method to load the translation file.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.activate">activate</a></td>
 <td>Public method to activate this plug-in.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#WizardDataUriEncoderPlugin.deactivate">deactivate</a></td>
 <td>Public method to deactivate this plug-in.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <a NAME="WizardDataUriEncoderPlugin.__init__" ID="WizardDataUriEncoderPlugin.__init__"></a>
 <h4>WizardDataUriEncoderPlugin (Constructor)</h4>
 <b>WizardDataUriEncoderPlugin</b>(<i>ui</i>)
+
 <p>
         Constructor
-</p><dl>
+</p>
+<dl>
+
 <dt><i>ui</i></dt>
 <dd>
 reference to the user interface object (UI.UserInterface)
 </dd>
-</dl><a NAME="WizardDataUriEncoderPlugin.__handle" ID="WizardDataUriEncoderPlugin.__handle"></a>
+</dl>
+<a NAME="WizardDataUriEncoderPlugin.__handle" ID="WizardDataUriEncoderPlugin.__handle"></a>
 <h4>WizardDataUriEncoderPlugin.__handle</h4>
 <b>__handle</b>(<i></i>)
+
 <p>
         Private method to handle the wizards action.
-</p><a NAME="WizardDataUriEncoderPlugin.__initAction" ID="WizardDataUriEncoderPlugin.__initAction"></a>
+</p>
+<a NAME="WizardDataUriEncoderPlugin.__initAction" ID="WizardDataUriEncoderPlugin.__initAction"></a>
 <h4>WizardDataUriEncoderPlugin.__initAction</h4>
 <b>__initAction</b>(<i></i>)
+
 <p>
         Private method to initialize the action.
-</p><a NAME="WizardDataUriEncoderPlugin.__initMenu" ID="WizardDataUriEncoderPlugin.__initMenu"></a>
+</p>
+<a NAME="WizardDataUriEncoderPlugin.__initMenu" ID="WizardDataUriEncoderPlugin.__initMenu"></a>
 <h4>WizardDataUriEncoderPlugin.__initMenu</h4>
 <b>__initMenu</b>(<i></i>)
+
 <p>
         Private method to add the actions to the right menu.
-</p><a NAME="WizardDataUriEncoderPlugin.__initialize" ID="WizardDataUriEncoderPlugin.__initialize"></a>
+</p>
+<a NAME="WizardDataUriEncoderPlugin.__initialize" ID="WizardDataUriEncoderPlugin.__initialize"></a>
 <h4>WizardDataUriEncoderPlugin.__initialize</h4>
 <b>__initialize</b>(<i></i>)
+
 <p>
         Private slot to (re)initialize the plug-in.
-</p><a NAME="WizardDataUriEncoderPlugin.__loadTranslator" ID="WizardDataUriEncoderPlugin.__loadTranslator"></a>
+</p>
+<a NAME="WizardDataUriEncoderPlugin.__loadTranslator" ID="WizardDataUriEncoderPlugin.__loadTranslator"></a>
 <h4>WizardDataUriEncoderPlugin.__loadTranslator</h4>
 <b>__loadTranslator</b>(<i></i>)
+
 <p>
         Private method to load the translation file.
-</p><a NAME="WizardDataUriEncoderPlugin.activate" ID="WizardDataUriEncoderPlugin.activate"></a>
+</p>
+<a NAME="WizardDataUriEncoderPlugin.activate" ID="WizardDataUriEncoderPlugin.activate"></a>
 <h4>WizardDataUriEncoderPlugin.activate</h4>
 <b>activate</b>(<i></i>)
+
 <p>
         Public method to activate this plug-in.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 tuple of None and activation status (boolean)
 </dd>
-</dl><a NAME="WizardDataUriEncoderPlugin.deactivate" ID="WizardDataUriEncoderPlugin.deactivate"></a>
+</dl>
+<a NAME="WizardDataUriEncoderPlugin.deactivate" ID="WizardDataUriEncoderPlugin.deactivate"></a>
 <h4>WizardDataUriEncoderPlugin.deactivate</h4>
 <b>deactivate</b>(<i></i>)
+
 <p>
         Public method to deactivate this plug-in.
 </p>
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html
--- a/WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html	Tue Jun 23 19:56:12 2020 +0200
@@ -18,158 +18,209 @@
 
 </style>
 </head>
-<body><a NAME="top" ID="top"></a>
+<body>
+<a NAME="top" ID="top"></a>
 <h1>Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog</h1>
+
 <p>
 Module implementing the base64 data URI encoder wizard dialog.
 </p>
 <h3>Global Attributes</h3>
+
 <table>
-<tr><td>Python2Template</td></tr><tr><td>Python3Template</td></tr>
+<tr><td>Python3Template</td></tr>
 </table>
 <h3>Classes</h3>
+
 <table>
+
 <tr>
 <td><a href="#DataUriEncoderWizardDialog">DataUriEncoderWizardDialog</a></td>
 <td>Class implementing the base64 data URI encoder wizard dialog.</td>
 </tr>
 </table>
 <h3>Functions</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
-<hr /><hr />
+<hr />
+<hr />
 <a NAME="DataUriEncoderWizardDialog" ID="DataUriEncoderWizardDialog"></a>
 <h2>DataUriEncoderWizardDialog</h2>
+
 <p>
     Class implementing the base64 data URI encoder wizard dialog.
 </p>
 <h3>Derived from</h3>
 QDialog, Ui_DataUriEncoderWizardDialog
 <h3>Class Attributes</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Class Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
 <h3>Methods</h3>
+
 <table>
+
 <tr>
 <td><a href="#DataUriEncoderWizardDialog.__init__">DataUriEncoderWizardDialog</a></td>
 <td>Constructor</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.__askMime">__askMime</a></td>
 <td>Private method to get the mime type from the user.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.__getStartDir">__getStartDir</a></td>
 <td>Private method to get the start directory for selection dialogs.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.getCode">getCode</a></td>
 <td>Public method to get the code.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_copyButton_clicked">on_copyButton_clicked</a></td>
 <td>Private slot to copy the output to the clipboard.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged">on_embeddingComboBox_currentIndexChanged</a></td>
 <td>Private slot to handle the selection of an embedding method.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_encodeButton_clicked">on_encodeButton_clicked</a></td>
 <td>Private slot to encode the contents of the given file.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_fileButton_clicked">on_fileButton_clicked</a></td>
 <td>Private slot to select the file to be encoded via a selection dialog.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td>
 <td>Private slot to handle the editing of the file name.</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a href="#DataUriEncoderWizardDialog.on_outputTextEdit_textChanged">on_outputTextEdit_textChanged</a></td>
 <td>Private slot to handle the existence of some output text.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
+
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <a NAME="DataUriEncoderWizardDialog.__init__" ID="DataUriEncoderWizardDialog.__init__"></a>
 <h4>DataUriEncoderWizardDialog (Constructor)</h4>
 <b>DataUriEncoderWizardDialog</b>(<i>parent=None</i>)
+
 <p>
         Constructor
-</p><dl>
+</p>
+<dl>
+
 <dt><i>parent</i></dt>
 <dd>
 reference to the parent widget (QWidget)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a>
 <h4>DataUriEncoderWizardDialog.__askMime</h4>
 <b>__askMime</b>(<i></i>)
+
 <p>
         Private method to get the mime type from the user.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 entered mime type (string)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.__getStartDir" ID="DataUriEncoderWizardDialog.__getStartDir"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.__getStartDir" ID="DataUriEncoderWizardDialog.__getStartDir"></a>
 <h4>DataUriEncoderWizardDialog.__getStartDir</h4>
 <b>__getStartDir</b>(<i></i>)
+
 <p>
         Private method to get the start directory for selection dialogs.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 start directory (string)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a>
 <h4>DataUriEncoderWizardDialog.getCode</h4>
 <b>getCode</b>(<i></i>)
+
 <p>
         Public method to get the code.
-</p><dl>
+</p>
+<dl>
 <dt>Returns:</dt>
 <dd>
 generated code (string)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a>
 <h4>DataUriEncoderWizardDialog.on_copyButton_clicked</h4>
 <b>on_copyButton_clicked</b>(<i></i>)
+
 <p>
         Private slot to copy the output to the clipboard.
-</p><a NAME="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged" ID="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged"></a>
+</p>
+<a NAME="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged" ID="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged"></a>
 <h4>DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged</h4>
 <b>on_embeddingComboBox_currentIndexChanged</b>(<i>index</i>)
+
 <p>
         Private slot to handle the selection of an embedding method.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>index</i></dt>
 <dd>
 index of the selected entry (integer)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a>
 <h4>DataUriEncoderWizardDialog.on_encodeButton_clicked</h4>
 <b>on_encodeButton_clicked</b>(<i></i>)
+
 <p>
         Private slot to encode the contents of the given file.
-</p><a NAME="DataUriEncoderWizardDialog.on_fileButton_clicked" ID="DataUriEncoderWizardDialog.on_fileButton_clicked"></a>
+</p>
+<a NAME="DataUriEncoderWizardDialog.on_fileButton_clicked" ID="DataUriEncoderWizardDialog.on_fileButton_clicked"></a>
 <h4>DataUriEncoderWizardDialog.on_fileButton_clicked</h4>
 <b>on_fileButton_clicked</b>(<i></i>)
+
 <p>
         Private slot to select the file to be encoded via a selection dialog.
-</p><a NAME="DataUriEncoderWizardDialog.on_fileEdit_textChanged" ID="DataUriEncoderWizardDialog.on_fileEdit_textChanged"></a>
+</p>
+<a NAME="DataUriEncoderWizardDialog.on_fileEdit_textChanged" ID="DataUriEncoderWizardDialog.on_fileEdit_textChanged"></a>
 <h4>DataUriEncoderWizardDialog.on_fileEdit_textChanged</h4>
 <b>on_fileEdit_textChanged</b>(<i>txt</i>)
+
 <p>
         Private slot to handle the editing of the file name.
-</p><dl>
+</p>
+<dl>
+
 <dt><i>txt</i></dt>
 <dd>
 current file name (string)
 </dd>
-</dl><a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a>
+</dl>
+<a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a>
 <h4>DataUriEncoderWizardDialog.on_outputTextEdit_textChanged</h4>
 <b>on_outputTextEdit_textChanged</b>(<i></i>)
+
 <p>
         Private slot to handle the existence of some output text.
 </p>
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.html
--- a/WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.html	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.html	Tue Jun 23 19:56:12 2020 +0200
@@ -20,6 +20,7 @@
 </head>
 <body>
 <h1>Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder</h1>
+
 <p>
 Package implementing the base64 data URI encoder wizard plug-in data
 and dialog.
@@ -28,6 +29,7 @@
 
 <h3>Modules</h3>
 <table>
+
 <tr>
 <td><a href="Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html">DataUriEncoderWizardDialog</a></td>
 <td>Module implementing the base64 data URI encoder wizard dialog.</td>
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.html
--- a/WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.html	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/Documentation/source/index-Plugin_Wizard_DataUriEncoder.html	Tue Jun 23 19:56:12 2020 +0200
@@ -20,12 +20,14 @@
 </head>
 <body>
 <h1>Plugin_Wizard_DataUriEncoder</h1>
+
 <p>
 Package implementing the base64 data URI encoder wizard plug-in.
 </p>
 
 <h3>Packages</h3>
 <table>
+
 <tr>
 <td><a href="index-Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.html">WizardDataUriEncoder</a></td>
 <td>Package implementing the base64 data URI encoder wizard plug-in data and dialog.</td>
@@ -34,6 +36,7 @@
 
 <h3>Modules</h3>
 <table>
+
 <tr>
 <td><a href="Plugin_Wizard_DataUriEncoder.PluginWizardDataUriEncoder.html">PluginWizardDataUriEncoder</a></td>
 <td>Module implementing the base64 data URI encoder wizard plug-in.</td>
diff -r 525dc29b6a22 -r 20bea809ae09 WizardDataUriEncoder/Documentation/source/index.html
--- a/WizardDataUriEncoder/Documentation/source/index.html	Wed Jan 01 11:59:05 2020 +0100
+++ b/WizardDataUriEncoder/Documentation/source/index.html	Tue Jun 23 19:56:12 2020 +0200
@@ -24,6 +24,7 @@
 
 <h3>Packages</h3>
 <table>
+
 <tr>
 <td><a href="index-Plugin_Wizard_DataUriEncoder.html">Plugin_Wizard_DataUriEncoder</a></td>
 <td>Package implementing the base64 data URI encoder wizard plug-in.</td>

eric ide

mercurial