Mon, 20 Feb 2023 16:02:02 +0100
Continued implementing WiFi functionality for RP2040 based devices (interface deactivation, AP stop, MicroPython config page).
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>WifiConnectionDialog</class> <widget class="QDialog" name="WifiConnectionDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>138</height> </rect> </property> <property name="windowTitle"> <string>WiFi Connection Parameters</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Name:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="QLineEdit" name="ssidEdit"> <property name="toolTip"> <string>Enter the network name (SSID) to connect to</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="passwordEdit"> <property name="toolTip"> <string>Enter the network password</string> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="2"> <widget class="QToolButton" name="showPasswordButton"> <property name="toolTip"> <string>Press to show the password</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0" colspan="3"> <widget class="QCheckBox" name="rememberCheckBox"> <property name="toolTip"> <string>Select to remember the entered connection parameters</string> </property> <property name="text"> <string>Remember Parameters</string> </property> </widget> </item> <item row="3" column="0" colspan="3"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <tabstops> <tabstop>ssidEdit</tabstop> <tabstop>passwordEdit</tabstop> <tabstop>showPasswordButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>WifiConnectionDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>WifiConnectionDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>