From 363901cfe4b2837c6c891d17d3b12cad6af631c4 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 5 Jun 2014 18:56:15 +0000 Subject: [PATCH] default vertical layout for loop closure detection dockwidget git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1333 f169173b-cf89-36c8-b27e-44dbe73f0c83 --- guilib/src/PreferencesDialog.cpp | 2 +- guilib/src/ui/mainWindow.ui | 6 +++--- guilib/src/ui/preferencesDialog.ui | 17 ++++++++++------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/guilib/src/PreferencesDialog.cpp b/guilib/src/PreferencesDialog.cpp index 84cfb88b..eae98c71 100644 --- a/guilib/src/PreferencesDialog.cpp +++ b/guilib/src/PreferencesDialog.cpp @@ -700,7 +700,7 @@ void PreferencesDialog::resetSettings(QGroupBox * groupBox) { _ui->general_checkBox_imagesKept->setChecked(true); _ui->checkBox_beep->setChecked(false); - _ui->checkBox_verticalLayoutUsed->setChecked(false); + _ui->checkBox_verticalLayoutUsed->setChecked(true); _ui->checkBox_imageFlipped->setChecked(false); _ui->checkBox_imageRejectedShown->setChecked(true); _ui->checkBox_imageHighestHypShown->setChecked(false); diff --git a/guilib/src/ui/mainWindow.ui b/guilib/src/ui/mainWindow.ui index cb1ac8d2..125e3522 100644 --- a/guilib/src/ui/mainWindow.ui +++ b/guilib/src/ui/mainWindow.ui @@ -27,7 +27,7 @@ 0 0 947 - 25 + 22 @@ -519,7 +519,7 @@ 3D Map - 4 + 2 @@ -603,7 +603,7 @@ Loop closure detection - 2 + 1 diff --git a/guilib/src/ui/preferencesDialog.ui b/guilib/src/ui/preferencesDialog.ui index ff09ab0f..2d312a7b 100644 --- a/guilib/src/ui/preferencesDialog.ui +++ b/guilib/src/ui/preferencesDialog.ui @@ -6,7 +6,7 @@ 0 0 - 1116 + 1027 494 @@ -35,7 +35,7 @@ - 180 + 160 0 @@ -64,8 +64,8 @@ 0 0 - 813 - 1044 + 724 + 1076 @@ -86,7 +86,7 @@ QFrame::Raised - 3 + 0 @@ -235,7 +235,7 @@ - Vertical layout used for the main window. + Vertical layout used for the loop closure detection window. false @@ -248,7 +248,7 @@ - false + true @@ -2990,6 +2990,9 @@ see Sqlite3 doc 'PRAGMA temp_store'. + + QFormLayout::AllNonFixedFieldsGrow +