mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 10:47:10 +00:00
Reduce spacings in main window and hide status bar whihile in full screen mode.
This commit is contained in:
parent
85abcb1d1b
commit
12602e6ab1
@ -907,9 +907,15 @@ void MainWindow::setAudioFftRate(int fps)
|
||||
void MainWindow::on_actionFullScreen_triggered(bool checked)
|
||||
{
|
||||
if (checked)
|
||||
{
|
||||
ui->statusBar->hide();
|
||||
showFullScreen();
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->statusBar->show();
|
||||
showNormal();
|
||||
}
|
||||
}
|
||||
|
||||
/*! \brief Action: I/O device configurator triggered.
|
||||
|
@ -22,8 +22,26 @@
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="spacing">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="CFreqCtrl" name="freqCtrl">
|
||||
<property name="sizePolicy">
|
||||
@ -157,7 +175,11 @@
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionFullScreen"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
<widget class="QStatusBar" name="statusBar">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<action name="actionQuit">
|
||||
<property name="text">
|
||||
<string>Quit</string>
|
||||
|
Loading…
Reference in New Issue
Block a user