Documentation/Source/eric6.Preferences.ConfigurationPages.MimeTypesPage.html

Tue, 29 Aug 2017 17:18:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 29 Aug 2017 17:18:18 +0200
changeset 5858
7afdb26fcabc
parent 4097
ad2a6bd965d9
child 6382
4d6e43200bc7
permissions
-rw-r--r--

Added capability to reset to default to the message filter dialog and the mimetypes configuration page.

<!DOCTYPE html>
<html><head>
<title>eric6.Preferences.ConfigurationPages.MimeTypesPage</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.Preferences.ConfigurationPages.MimeTypesPage</h1>
<p>
Module implementing the Text Mime Types configuration page.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#MimeTypesPage">MimeTypesPage</a></td>
<td>Class implementing the Text Mime Types configuration page.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr>
<td><a href="#create">create</a></td>
<td>Module function to create the configuration page.</td>
</tr>
</table>
<hr /><hr />
<a NAME="MimeTypesPage" ID="MimeTypesPage"></a>
<h2>MimeTypesPage</h2>
<p>
    Class implementing the Text Mime Types configuration page.
</p>
<h3>Derived from</h3>
ConfigurationPageBase, Ui_MimeTypesPage
<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="#MimeTypesPage.__init__">MimeTypesPage</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#MimeTypesPage.__setToDefault">__setToDefault</a></td>
<td>Private slot to set the message list to the default values.</td>
</tr><tr>
<td><a href="#MimeTypesPage.on_resetButton_clicked">on_resetButton_clicked</a></td>
<td>Private slot to set the default list of mime types.</td>
</tr><tr>
<td><a href="#MimeTypesPage.save">save</a></td>
<td>Public slot to save the Interface configuration.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="MimeTypesPage.__init__" ID="MimeTypesPage.__init__"></a>
<h4>MimeTypesPage (Constructor)</h4>
<b>MimeTypesPage</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="MimeTypesPage.__setToDefault" ID="MimeTypesPage.__setToDefault"></a>
<h4>MimeTypesPage.__setToDefault</h4>
<b>__setToDefault</b>(<i></i>)
<p>
        Private slot to set the message list to the default values.
</p><a NAME="MimeTypesPage.on_resetButton_clicked" ID="MimeTypesPage.on_resetButton_clicked"></a>
<h4>MimeTypesPage.on_resetButton_clicked</h4>
<b>on_resetButton_clicked</b>(<i></i>)
<p>
        Private slot to set the default list of mime types.
</p><a NAME="MimeTypesPage.save" ID="MimeTypesPage.save"></a>
<h4>MimeTypesPage.save</h4>
<b>save</b>(<i></i>)
<p>
        Public slot to save the Interface configuration.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr /><hr />
<a NAME="create" ID="create"></a>
<h2>create</h2>
<b>create</b>(<i>dlg</i>)
<p>
    Module function to create the configuration page.
</p><dl>
<dt><i>dlg</i></dt>
<dd>
reference to the configuration dialog
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
reference to the instantiated page (ConfigurationPageBase)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial