src/eric7/Documentation/Source/eric7.QScintilla.Exporters.ExporterBase.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.QScintilla.Exporters.ExporterBase</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.QScintilla.Exporters.ExporterBase</h1>
<p>
Module implementing the exporter base class.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#ExporterBase">ExporterBase</a></td>
<td>Class implementing the exporter base class.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="ExporterBase" ID="ExporterBase"></a>
<h2>ExporterBase</h2>
<p>
    Class implementing the exporter base class.
</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="#ExporterBase.__init__">ExporterBase</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ExporterBase._getFileName">_getFileName</a></td>
<td>Protected method to get the file name of the export file from the user.</td>
</tr>
<tr>
<td><a href="#ExporterBase.exportSource">exportSource</a></td>
<td>Public method performing the export.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="ExporterBase.__init__" ID="ExporterBase.__init__"></a>
<h4>ExporterBase (Constructor)</h4>
<b>ExporterBase</b>(<i>editor, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>editor</i> (QScintilla.Editor.Editor)</dt>
<dd>
reference to the editor object
</dd>
<dt><i>parent</i> (QObject)</dt>
<dd>
parent object of the exporter
</dd>
</dl>
<a NAME="ExporterBase._getFileName" ID="ExporterBase._getFileName"></a>
<h4>ExporterBase._getFileName</h4>
<b>_getFileName</b>(<i>fileFilter</i>)
<p>
        Protected method to get the file name of the export file from the user.
</p>

<dl>

<dt><i>fileFilter</i> (str)</dt>
<dd>
filter string to be used. The filter for "All Files (*)"
            is appended by this method.
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
file name entered by the user
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<a NAME="ExporterBase.exportSource" ID="ExporterBase.exportSource"></a>
<h4>ExporterBase.exportSource</h4>
<b>exportSource</b>(<i></i>)
<p>
        Public method performing the export.
</p>
<p>
        This method must be overridden by the real exporters.
</p>

<dl>

<dt>Raises <b>NotImplementedError</b>:</dt>
<dd>
raised to indicate that this method
            must be implemented by a subclass
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial