src/eric7/Documentation/Source/eric7.MicroPython.NtpParametersDialog.html

Thu, 04 Jan 2024 18:02:25 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 04 Jan 2024 18:02:25 +0100
branch
eric7
changeset 10479
856476537696
parent 9871
4a302b8c4d28
permissions
-rw-r--r--

Fine tuned the source code documentation template and regenerated the source code documentation.

<!DOCTYPE html>
<html><head>
<title>eric7.MicroPython.NtpParametersDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.MicroPython.NtpParametersDialog</h1>
<p>
Module implementing a dialog to enter the NTP parameters.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#NtpParametersDialog">NtpParametersDialog</a></td>
<td>Class implementing a dialog to enter the NTP parameters.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="NtpParametersDialog" ID="NtpParametersDialog"></a>
<h2>NtpParametersDialog</h2>
<p>
    Class implementing a dialog to enter the NTP parameters.
</p>

<h3>Derived from</h3>
QDialog, Ui_NtpParametersDialog
<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="#NtpParametersDialog.__init__">NtpParametersDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#NtpParametersDialog.__updateOk">__updateOk</a></td>
<td>Private slot to update the enabled stat of the OK button.</td>
</tr>
<tr>
<td><a href="#NtpParametersDialog.accept">accept</a></td>
<td>Public slot accepting the dialog.</td>
</tr>
<tr>
<td><a href="#NtpParametersDialog.getParameters">getParameters</a></td>
<td>Public method to get the entered NTP parameters.</td>
</tr>
<tr>
<td><a href="#NtpParametersDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot handling the selection of a dialog button.</td>
</tr>
</table>

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


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

<dl>

<dt><i>parent</i> (QWidget (optional))</dt>
<dd>
reference to the parent widget (defaults to None)
</dd>
</dl>
<a NAME="NtpParametersDialog.__updateOk" ID="NtpParametersDialog.__updateOk"></a>
<h4>NtpParametersDialog.__updateOk</h4>
<b>__updateOk</b>(<i></i>)
<p>
        Private slot to update the enabled stat of the OK button.
</p>

<a NAME="NtpParametersDialog.accept" ID="NtpParametersDialog.accept"></a>
<h4>NtpParametersDialog.accept</h4>
<b>accept</b>(<i></i>)
<p>
        Public slot accepting the dialog.
</p>

<a NAME="NtpParametersDialog.getParameters" ID="NtpParametersDialog.getParameters"></a>
<h4>NtpParametersDialog.getParameters</h4>
<b>getParameters</b>(<i></i>)
<p>
        Public method to get the entered NTP parameters.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple containing the NTP server name, the timezone offset in hours,
            a flag indicating daylight savings is in effect and a timeout value in
            seconds
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, int, bool, int)
</dd>
</dl>
<a NAME="NtpParametersDialog.on_buttonBox_clicked" ID="NtpParametersDialog.on_buttonBox_clicked"></a>
<h4>NtpParametersDialog.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)
<p>
        Private slot handling the selection of a dialog button.
</p>

<dl>

<dt><i>button</i> (QAbstractButton)</dt>
<dd>
reference to the clicked button
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial