From d48036996ee3f40ad76830ecaaf331b599453320 Mon Sep 17 00:00:00 2001 From: Michael Carpenter Date: Wed, 31 Jul 2013 17:55:12 -0400 Subject: [PATCH] Change of Serial settings window size and baud/port combobox sizes --- src/ui/CommSettings.ui | 13 ++++---- src/ui/SerialConfigurationWindow.cc | 4 +-- src/ui/SerialSettings.ui | 51 +++++++++-------------------- 3 files changed, 24 insertions(+), 44 deletions(-) diff --git a/src/ui/CommSettings.ui b/src/ui/CommSettings.ui index 735340383..46e5ca56e 100644 --- a/src/ui/CommSettings.ui +++ b/src/ui/CommSettings.ui @@ -6,8 +6,8 @@ 0 0 - 770 - 563 + 324 + 415 @@ -36,8 +36,8 @@ 0 0 - 748 - 97 + 302 + 69 @@ -126,8 +126,8 @@ 0 0 - 748 - 96 + 302 + 69 @@ -230,7 +230,6 @@ connectionStatusLabel advCheckBox protocolTypeGroupBox - label_5 verticalSpacer diff --git a/src/ui/SerialConfigurationWindow.cc b/src/ui/SerialConfigurationWindow.cc index 9d2661397..338e2d328 100644 --- a/src/ui/SerialConfigurationWindow.cc +++ b/src/ui/SerialConfigurationWindow.cc @@ -134,8 +134,8 @@ SerialConfigurationWindow::SerialConfigurationWindow(LinkInterface* link, QWidge ui.advGroupBox->setVisible(false); //connect(this->link, SIGNAL(connected(bool)), this, SLOT()); - ui.portName->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); - ui.baudRate->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); + //ui.portName->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); + //ui.baudRate->setSizeAdjustPolicy(QComboBox::AdjustToContentsOnFirstShow); switch(this->link->getParityType()) { case 0: diff --git a/src/ui/SerialSettings.ui b/src/ui/SerialSettings.ui index fd96720ec..2a23c835f 100644 --- a/src/ui/SerialSettings.ui +++ b/src/ui/SerialSettings.ui @@ -6,8 +6,8 @@ 0 0 - 546 - 457 + 234 + 354 @@ -15,7 +15,7 @@ - + @@ -25,6 +25,12 @@ + + + 100 + 0 + + The serial port to which the system is connected. All ports listed here should work. @@ -47,23 +53,10 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + @@ -73,6 +66,12 @@ + + + 100 + 0 + + The data transmission rate. If unsure 57600 and 115200 are very common rates. @@ -215,19 +214,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -429,11 +415,6 @@ - horizontalLayoutWidget - horizontalLayoutWidget_2 - horizontalLayoutWidget_4 - portlabel_5 - horizontalLayoutWidget_3 -- 2.22.0