ATV Modulator: resized GUI

pull/27/head
f4exb 2017-03-21 16:38:56 +01:00
rodzic 5af808adb7
commit 5ae92bf1b6
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -250,6 +250,9 @@ void ATVModGUI::setRFFiltersSlidersRange(int sampleRate)
ui->rfBW->setMaximum((sampleRate) / m_rfSliderDivisor); ui->rfBW->setMaximum((sampleRate) / m_rfSliderDivisor);
ui->rfOppBW->setMaximum((sampleRate) / m_rfSliderDivisor); ui->rfOppBW->setMaximum((sampleRate) / m_rfSliderDivisor);
} }
ui->rfBWText->setText(QString("%1k").arg((ui->rfBW->value()*m_rfSliderDivisor) / 1000.0, 0, 'f', 0));
ui->rfOppBWText->setText(QString("%1k").arg((ui->rfOppBW->value()*m_rfSliderDivisor) / 1000.0, 0, 'f', 0));
} }
int ATVModGUI::getNbLines() int ATVModGUI::getNbLines()

Wyświetl plik

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>620</width> <width>580</width>
<height>364</height> <height>364</height>
</rect> </rect>
</property> </property>
@ -18,7 +18,7 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>620</width> <width>580</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -39,7 +39,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>10</y> <y>10</y>
<width>611</width> <width>561</width>
<height>341</height> <height>341</height>
</rect> </rect>
</property> </property>