Tweaking window sizes

This commit is contained in:
Jordan Sherer 2018-11-08 17:11:25 -05:00
parent fd69dce0ae
commit 43d8986e0a
4 changed files with 11 additions and 11 deletions

View File

@ -1430,7 +1430,7 @@ void Configuration::impl::done (int r)
{
// do this here since window is still on screen at this point
SettingsGroup g {settings_, "Configuration"};
settings_->setValue ("window/geometry", saveGeometry ());
settings_->setValue ("WindowGeometry", saveGeometry ());
QDialog::done (r);
}
@ -1438,7 +1438,7 @@ void Configuration::impl::done (int r)
void Configuration::impl::read_settings ()
{
SettingsGroup g {settings_, "Configuration"};
restoreGeometry (settings_->value ("window/geometry").toByteArray ());
restoreGeometry (settings_->value ("WindowGeometry").toByteArray ());
auto_switch_bands_ = settings_->value("AutoSwitchBands", false).toBool();
my_callsign_ = settings_->value ("MyCall", QString {}).toString ();

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>750</width>
<height>748</height>
<width>800</width>
<height>651</height>
</rect>
</property>
<property name="windowTitle">
@ -3672,11 +3672,11 @@ soundcard changes</string>
</connections>
<buttongroups>
<buttongroup name="CAT_handshake_button_group"/>
<buttongroup name="CAT_stop_bits_button_group"/>
<buttongroup name="CAT_data_bits_button_group"/>
<buttongroup name="TX_audio_source_button_group"/>
<buttongroup name="split_mode_button_group"/>
<buttongroup name="PTT_method_button_group"/>
<buttongroup name="CAT_data_bits_button_group"/>
<buttongroup name="CAT_stop_bits_button_group"/>
<buttongroup name="split_mode_button_group"/>
<buttongroup name="TX_audio_source_button_group"/>
<buttongroup name="TX_mode_button_group"/>
</buttongroups>
</ui>

View File

@ -1931,7 +1931,7 @@ background-color: #00ff00;
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
<height>1</height>
</size>
</property>
<property name="frameShadow">

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>1083</width>
<height>337</height>
<height>154</height>
</rect>
</property>
<property name="windowTitle">
@ -43,7 +43,7 @@
<property name="minimumSize">
<size>
<width>400</width>
<height>100</height>
<height>10</height>
</size>
</property>
<property name="frameShape">