--- a/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.ui Thu Mar 09 16:59:39 2023 +0100 +++ b/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.ui Fri Mar 10 18:04:06 2023 +0100 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>541</width> - <height>1847</height> + <height>1947</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -488,6 +488,110 @@ </widget> </item> <item> + <widget class="QGroupBox" name="groupBox_16"> + <property name="title"> + <string>NTP Parameter</string> + </property> + <layout class="QGridLayout" name="gridLayout_11"> + <item row="0" column="0"> + <widget class="QLabel" name="label_29"> + <property name="text"> + <string>NTP Server:</string> + </property> + </widget> + </item> + <item row="0" column="1" colspan="2"> + <widget class="QLineEdit" name="ntpServerEdit"> + <property name="toolTip"> + <string>Enter the name of the NTP server.</string> + </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_28"> + <property name="text"> + <string>Time Zone Offset:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="ntpOffsetSpinBox"> + <property name="toolTip"> + <string>Enter the time zone offset to UTC.</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="suffix"> + <string> h</string> + </property> + <property name="minimum"> + <number>-12</number> + </property> + <property name="maximum"> + <number>12</number> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QCheckBox" name="ntpDstCheckBox"> + <property name="toolTip"> + <string>Select to indicate that daylight savings is in effect (i.e. 1h plus to UTC).</string> + </property> + <property name="text"> + <string>Is Daylight Savings</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_30"> + <property name="text"> + <string>Timeout:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="ntpTimeoutSpinBox"> + <property name="toolTip"> + <string>Enter the timeout in seconds.</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="suffix"> + <string> s</string> + </property> + <property name="minimum"> + <number>5</number> + </property> + <property name="maximum"> + <number>15</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>317</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>MPY Cross Compiler</string> @@ -848,7 +952,10 @@ <tabstop>apPasswordEdit</tabstop> <tabstop>apShowPasswordButton</tabstop> <tabstop>apSecurityComboBox</tabstop> - <tabstop>ipv4GroupBox</tabstop> + <tabstop>ntpServerEdit</tabstop> + <tabstop>ntpOffsetSpinBox</tabstop> + <tabstop>ntpDstCheckBox</tabstop> + <tabstop>ntpTimeoutSpinBox</tabstop> <tabstop>mpyCrossPicker</tabstop> <tabstop>dfuUtilPathPicker</tabstop> <tabstop>micropythonFirmwareUrlLineEdit</tabstop>