Some tweaks of the GUI layout.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2737 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-11-16 15:08:47 +00:00
parent e30bc02784
commit 24e017d7a6
3 changed files with 1102 additions and 1093 deletions

View File

@ -1,4 +1,4 @@
//--------------------------------------------------------------- MainWindow //-------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>602</width> <width>643</width>
<height>480</height> <height>536</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -35,15 +35,8 @@
<string notr="true"/> <string notr="true"/>
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<widget class="QWidget" name="layoutWidget"> <layout class="QGridLayout" name="gridLayout">
<property name="geometry"> <item row="0" column="0">
<rect>
<x>11</x>
<y>2</y>
<width>571</width>
<height>423</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
@ -62,7 +55,7 @@
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>620</width> <width>620</width>
<height>300</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="title"> <property name="title">
@ -86,7 +79,7 @@
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>610</width> <width>610</width>
<height>280</height> <height>400</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
@ -95,6 +88,9 @@
<pointsize>10</pointsize> <pointsize>10</pointsize>
</font> </font>
</property> </property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="verticalScrollBarPolicy"> <property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum> <enum>Qt::ScrollBarAlwaysOn</enum>
</property> </property>
@ -308,22 +304,6 @@ p, li { white-space: pre-wrap; }
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QGroupBox" name="dxStationGroupBox"> <widget class="QGroupBox" name="dxStationGroupBox">
<property name="sizePolicy"> <property name="sizePolicy">
@ -334,14 +314,14 @@ p, li { white-space: pre-wrap; }
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>143</width>
<height>40</height> <height>40</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>290</width> <width>290</width>
<height>16777215</height> <height>115</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
@ -369,13 +349,13 @@ p, li { white-space: pre-wrap; }
<string>SetMsgs</string> <string>SetMsgs</string>
</property> </property>
</widget> </widget>
<widget class="QWidget" name="layoutWidget_2"> <widget class="QWidget" name="">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>7</x> <x>8</x>
<y>13</y> <y>14</y>
<width>150</width> <width>128</width>
<height>64</height> <height>87</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_6"> <layout class="QVBoxLayout" name="verticalLayout_6">
@ -422,7 +402,7 @@ p, li { white-space: pre-wrap; }
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>48</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
@ -448,6 +428,19 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QPushButton" name="addButton"> <widget class="QPushButton" name="addButton">
<property name="maximumSize"> <property name="maximumSize">
@ -463,17 +456,8 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</item> </item>
</layout> <item>
</widget>
<widget class="QPushButton" name="genStdMsgsPushButton"> <widget class="QPushButton" name="genStdMsgsPushButton">
<property name="geometry">
<rect>
<x>40</x>
<y>80</y>
<width>70</width>
<height>23</height>
</rect>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>70</width>
@ -484,6 +468,9 @@ p, li { white-space: pre-wrap; }
<string>&amp;GenStdMsgs</string> <string>&amp;GenStdMsgs</string>
</property> </property>
</widget> </widget>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
<item> <item>
@ -500,7 +487,16 @@ p, li { white-space: pre-wrap; }
</font> </font>
</property> </property>
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::Panel</enum> <enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property> </property>
<property name="text"> <property name="text">
<string> 01:23:45 </string> <string> 01:23:45 </string>
@ -510,22 +506,6 @@ p, li { white-space: pre-wrap; }
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item> </item>
<item> <item>
@ -649,6 +629,12 @@ p, li { white-space: pre-wrap; }
</item> </item>
<item> <item>
<widget class="QCheckBox" name="NBcheckBox"> <widget class="QCheckBox" name="NBcheckBox">
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="text"> <property name="text">
<string>NB</string> <string>NB</string>
</property> </property>
@ -656,6 +642,12 @@ p, li { white-space: pre-wrap; }
</item> </item>
<item> <item>
<widget class="QSlider" name="NBslider"> <widget class="QSlider" name="NBslider">
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
@ -858,6 +850,22 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</item> </item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>1</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<item> <item>
@ -1162,14 +1170,15 @@ p, li { white-space: pre-wrap; }
</layout> </layout>
</item> </item>
</layout> </layout>
</widget> </item>
</layout>
</widget> </widget>
<widget class="QMenuBar" name="menuBar"> <widget class="QMenuBar" name="menuBar">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>602</width> <width>643</width>
<height>21</height> <height>21</height>
</rect> </rect>
</property> </property>

View File

@ -323,7 +323,7 @@
<item> <item>
<widget class="QLabel" name="label_5"> <widget class="QLabel" name="label_5">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>USB Dial Freq (kHz)</string> <string>USB Dial Freq (kHz)</string>
@ -333,7 +333,7 @@
<item> <item>
<widget class="QLineEdit" name="fDialLineEdit"> <widget class="QLineEdit" name="fDialLineEdit">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">