--- a/MqttMonitor/MqttConnectionOptionsDialog.ui Sun Sep 09 12:21:19 2018 +0200 +++ b/MqttMonitor/MqttConnectionOptionsDialog.ui Sun Sep 09 17:32:54 2018 +0200 @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>550</width> - <height>600</height> + <height>650</height> </rect> </property> <property name="windowTitle"> @@ -48,13 +48,59 @@ </widget> </item> <item row="1" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Connection Timeout:</string> + </property> + </widget> + </item> + <item row="1" column="1" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QSpinBox" name="connectionTimeoutSpinBox"> + <property name="toolTip"> + <string>Enter the connection 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="maximum"> + <number>300</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="value"> + <number>15</number> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>148</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="2" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Keep Alive Interval:</string> </property> </widget> </item> - <item row="1" column="1" colspan="2"> + <item row="2" column="1" colspan="2"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QSpinBox" name="keepaliveSpinBox"> @@ -93,7 +139,7 @@ </item> </layout> </item> - <item row="2" column="0" colspan="3"> + <item row="3" column="0" colspan="3"> <widget class="QCheckBox" name="cleanSessionCheckBox"> <property name="toolTip"> <string>Select to start with a clean session</string> @@ -278,6 +324,7 @@ <tabstops> <tabstop>clientIdEdit</tabstop> <tabstop>generateIdButton</tabstop> + <tabstop>connectionTimeoutSpinBox</tabstop> <tabstop>keepaliveSpinBox</tabstop> <tabstop>cleanSessionCheckBox</tabstop> <tabstop>usernameEdit</tabstop> @@ -286,6 +333,8 @@ <tabstop>willMessageEdit</tabstop> <tabstop>willQosSpinBox</tabstop> <tabstop>willRetainCheckBox</tabstop> + <tabstop>tlsEnableCheckBox</tabstop> + <tabstop>tlsCertsFilePicker</tabstop> </tabstops> <resources/> <connections> @@ -296,8 +345,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>257</x> - <y>590</y> + <x>266</x> + <y>640</y> </hint> <hint type="destinationlabel"> <x>157</x> @@ -312,8 +361,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>325</x> - <y>590</y> + <x>334</x> + <y>640</y> </hint> <hint type="destinationlabel"> <x>286</x> @@ -328,12 +377,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>82</x> - <y>523</y> + <x>103</x> + <y>572</y> </hint> <hint type="destinationlabel"> - <x>92</x> - <y>544</y> + <x>164</x> + <y>596</y> </hint> </hints> </connection>