mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
MainWindow: Hiding soruce label on monitoring state
This commit is contained in:
@@ -5363,6 +5363,8 @@ void MainWindow::setMonitoringState(bool pauseChecked)
|
||||
void MainWindow::changeState(MainWindow::State newState)
|
||||
{
|
||||
bool monitoring = newState==kMonitoring || newState == kMonitoringPaused;
|
||||
_ui->label_source->setVisible(!monitoring);
|
||||
_ui->label_stats_source->setVisible(!monitoring);
|
||||
_ui->actionNew_database->setVisible(!monitoring);
|
||||
_ui->actionOpen_database->setVisible(!monitoring);
|
||||
_ui->actionClose_database->setVisible(!monitoring);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1012</width>
|
||||
<height>22</height>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
@@ -357,7 +357,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_24">
|
||||
<widget class="QLabel" name="label_source">
|
||||
<property name="text">
|
||||
<string>Source</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user