src/eric7/Documentation/Source/eric7.MicroPython.EthernetDialogs.HostnameDialog.html

Thu, 03 Aug 2023 17:33:07 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 03 Aug 2023 17:33:07 +0200
branch
eric7
changeset 10153
ffe7432f716b
child 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added support to set the host name of the device (WiFi and Ethernet).
- Added support to set the WiFi country code (where supported by the device and the installed firmware).

<!DOCTYPE html>
<html><head>
<title>eric7.MicroPython.EthernetDialogs.HostnameDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.MicroPython.EthernetDialogs.HostnameDialog</h1>

<p>
Module implementing a dialog to enter a host name for the device.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#HostnameDialog">HostnameDialog</a></td>
<td>Class implementing a dialog to enter a host name for the device.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="HostnameDialog" ID="HostnameDialog"></a>
<h2>HostnameDialog</h2>

<p>
    Class implementing a dialog to enter a host name for the device.
</p>
<h3>Derived from</h3>
QDialog, Ui_HostnameDialog
<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="#HostnameDialog.__init__">HostnameDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#HostnameDialog.getHostname">getHostname</a></td>
<td>Public method to get the entered host name.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="HostnameDialog.__init__" ID="HostnameDialog.__init__"></a>
<h4>HostnameDialog (Constructor)</h4>
<b>HostnameDialog</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="HostnameDialog.getHostname" ID="HostnameDialog.getHostname"></a>
<h4>HostnameDialog.getHostname</h4>
<b>getHostname</b>(<i></i>)

<p>
        Public method to get the entered host name.
</p>
<dl>
<dt>Return:</dt>
<dd>
host name for the device
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial