--- a/MqttMonitor/MqttConnectionOptionsDialog.ui Thu Jul 22 19:02:32 2021 +0200 +++ b/MqttMonitor/MqttConnectionOptionsDialog.ui Fri Jul 23 17:48:22 2021 +0200 @@ -275,6 +275,16 @@ <string>Last Will</string> </attribute> <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QLineEdit" name="willTopicEdit"> + <property name="toolTip"> + <string>Enter the topic of the last will</string> + </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> + </widget> + </item> <item row="0" column="1"> <widget class="QLabel" name="label_5"> <property name="text"> @@ -282,19 +292,6 @@ </property> </widget> </item> - <item row="1" column="0" colspan="4"> - <widget class="QPlainTextEdit" name="willMessageEdit"> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>300</height> - </size> - </property> - <property name="toolTip"> - <string>Enter the last will message to be sent</string> - </property> - </widget> - </item> <item row="0" column="2"> <widget class="QSpinBox" name="willQosSpinBox"> <property name="toolTip"> @@ -318,13 +315,26 @@ </property> </widget> </item> - <item row="0" column="0"> - <widget class="QLineEdit" name="willTopicEdit"> + <item row="0" column="4"> + <widget class="QToolButton" name="willPropertiesButton"> <property name="toolTip"> - <string>Enter the topic of the last will</string> + <string>Press to edit the user properties</string> + </property> + <property name="text"> + <string/> </property> - <property name="clearButtonEnabled"> - <bool>true</bool> + </widget> + </item> + <item row="1" column="0" colspan="5"> + <widget class="QPlainTextEdit" name="willMessageEdit"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>300</height> + </size> + </property> + <property name="toolTip"> + <string>Enter the last will message to be sent</string> </property> </widget> </item> @@ -487,6 +497,7 @@ <tabstop>willMessageEdit</tabstop> <tabstop>willQosSpinBox</tabstop> <tabstop>willRetainCheckBox</tabstop> + <tabstop>willPropertiesButton</tabstop> <tabstop>tlsEnableCheckBox</tabstop> <tabstop>tlsCertsFilePicker</tabstop> <tabstop>connectPropertiesButton</tabstop>