--- a/MqttMonitor/MqttMonitorWidget.ui Tue Sep 04 19:42:24 2018 +0200 +++ b/MqttMonitor/MqttMonitorWidget.ui Wed Sep 05 19:52:30 2018 +0200 @@ -48,49 +48,80 @@ </widget> </item> <item row="0" column="1"> - <widget class="QComboBox" name="profileComboBox"> - <property name="toolTip"> - <string>Select the profile to be used to connect to the broker</string> + <layout class="QHBoxLayout" name="horizontalLayout_15"> + <property name="spacing"> + <number>0</number> </property> - </widget> + <item> + <widget class="QComboBox" name="profileComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the profile to be used to connect to the broker</string> + </property> + </widget> + </item> + <item> + <widget class="QWidget" name="brokerConnectionWidget" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout_14"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="E5ClearableComboBox" name="brokerComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Enter the host name of the broker</string> + </property> + <property name="editable"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="brokerPortComboBox"> + <property name="toolTip"> + <string>Enter the broker port to connect to</string> + </property> + <property name="editable"> + <bool>true</bool> + </property> + <property name="sizeAdjustPolicy"> + <enum>QComboBox::AdjustToContents</enum> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> </item> <item row="0" column="2"> - <widget class="E5ClearableComboBox" name="brokerComboBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Enter the host name of the broker</string> - </property> - <property name="editable"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="0" column="3"> - <widget class="QComboBox" name="brokerPortComboBox"> - <property name="toolTip"> - <string>Enter the broker port to connect to</string> - </property> - <property name="editable"> - <bool>true</bool> - </property> - <property name="sizeAdjustPolicy"> - <enum>QComboBox::AdjustToContents</enum> - </property> - </widget> - </item> - <item row="0" column="4"> <widget class="QToolButton" name="brokerConnectionOptionsButton"> <property name="toolTip"> <string>Press to open a dialog to enter connection options</string> </property> </widget> </item> - <item row="0" column="5"> + <item row="0" column="3"> <widget class="QToolButton" name="connectButton"> <property name="toolTip"> <string>Press to connect to/disconnect from the broker</string> @@ -100,7 +131,7 @@ </property> </widget> </item> - <item row="1" column="0" colspan="6"> + <item row="1" column="0" colspan="4"> <widget class="QLabel" name="brokerStatusLabel"> <property name="wordWrap"> <bool>true</bool>