mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 10:47:10 +00:00
Merge pull request #1225 from gqrx-sdr/audio-rxopt-button-sizes
Don't explicitly set button sizes
This commit is contained in:
commit
17fab71dca
@ -38,15 +38,6 @@ DockAudio::DockAudio(QWidget *parent) :
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
// buttons can be smaller than 50x32
|
||||
ui->audioMuteButton->setMinimumSize(48, 24);
|
||||
ui->audioStreamButton->setMinimumSize(48, 24);
|
||||
ui->audioRecButton->setMinimumSize(48, 24);
|
||||
ui->audioPlayButton->setMinimumSize(48, 24);
|
||||
ui->audioConfButton->setMinimumSize(48, 24);
|
||||
#endif
|
||||
|
||||
audioOptions = new CAudioOptions(this);
|
||||
|
||||
connect(audioOptions, SIGNAL(newFftSplit(int)), ui->audioSpectrum, SLOT(setPercent2DScreen(int)));
|
||||
|
@ -163,18 +163,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Mute audio output</string>
|
||||
</property>
|
||||
@ -197,18 +185,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Stream raw audio over UDP</string>
|
||||
</property>
|
||||
@ -231,18 +207,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Record audio</string>
|
||||
</property>
|
||||
@ -274,18 +238,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Playback previously recorded audio</string>
|
||||
</property>
|
||||
@ -317,18 +269,6 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Audio settings</string>
|
||||
</property>
|
||||
|
@ -89,16 +89,6 @@ DockRxOpt::DockRxOpt(qint64 filterOffsetRange, QWidget *parent) :
|
||||
}
|
||||
ui->modeSelector->addItems(ModulationStrings);
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
ui->modeButton->setMinimumSize(32, 24);
|
||||
ui->agcButton->setMinimumSize(32, 24);
|
||||
ui->autoSquelchButton->setMinimumSize(32, 24);
|
||||
ui->resetSquelchButton->setMinimumSize(32, 24);
|
||||
ui->nbOptButton->setMinimumSize(32, 24);
|
||||
ui->nb2Button->setMinimumSize(32, 24);
|
||||
ui->nb1Button->setMinimumSize(32, 24);
|
||||
#endif
|
||||
|
||||
ui->filterFreq->setup(7, -filterOffsetRange/2, filterOffsetRange/2, 1,
|
||||
FCTL_UNIT_KHZ);
|
||||
ui->filterFreq->setFrequency(0);
|
||||
|
@ -146,18 +146,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>AGC options</string>
|
||||
</property>
|
||||
@ -211,18 +199,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Noise blanker options</string>
|
||||
</property>
|
||||
@ -344,18 +320,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Demodulator options</string>
|
||||
</property>
|
||||
@ -505,18 +469,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Noise blanker for static type noise</string>
|
||||
</property>
|
||||
@ -545,18 +497,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Noise blanker for pulse type noise</string>
|
||||
</property>
|
||||
@ -626,18 +566,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Reset squelch to its default value</string>
|
||||
</property>
|
||||
@ -705,18 +633,6 @@ This is an offset from the hardware RF frequency.</p></body></htm
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Set squelch to the current signal or noise level</string>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user