mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Added Db/TargetVersion parameter (#652)
This commit is contained in:
@@ -881,6 +881,8 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
_ui->comboBox_dbJournalMode->setObjectName(Parameters::kDbSqlite3JournalMode().c_str());
|
||||
_ui->comboBox_dbSynchronous->setObjectName(Parameters::kDbSqlite3Synchronous().c_str());
|
||||
_ui->comboBox_dbTempStore->setObjectName(Parameters::kDbSqlite3TempStore().c_str());
|
||||
_ui->lineEdit_targetDatabaseVersion->setObjectName(Parameters::kDbTargetVersion().c_str());
|
||||
|
||||
|
||||
// Create hypotheses
|
||||
_ui->general_doubleSpinBox_hardThr->setObjectName(Parameters::kRtabmapLoopThr().c_str());
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>-552</y>
|
||||
<y>0</y>
|
||||
<width>686</width>
|
||||
<height>3286</height>
|
||||
</rect>
|
||||
@@ -95,7 +95,7 @@
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>22</number>
|
||||
<number>10</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_22">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_29" stretch="0,1">
|
||||
@@ -9814,7 +9814,7 @@ When set to false, no new words are added to dictionary, so no more updates are
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<item row="6" column="0">
|
||||
<widget class="QComboBox" name="comboBox_dbJournalMode">
|
||||
<item>
|
||||
<property name="text">
|
||||
@@ -9856,7 +9856,7 @@ When set to false, no new words are added to dictionary, so no more updates are
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="1">
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_120">
|
||||
<property name="text">
|
||||
<string>Sqlite3 temp store,
|
||||
@@ -9870,7 +9870,7 @@ see Sqlite3 doc 'PRAGMA temp_store'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<item row="8" column="0">
|
||||
<widget class="QComboBox" name="comboBox_dbTempStore">
|
||||
<item>
|
||||
<property name="text">
|
||||
@@ -9899,7 +9899,7 @@ see Sqlite3 doc 'PRAGMA temp_store'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<item row="5" column="0">
|
||||
<widget class="QSpinBox" name="spinBox_dbCacheSize">
|
||||
<property name="minimum">
|
||||
<number>10</number>
|
||||
@@ -9915,7 +9915,7 @@ see Sqlite3 doc 'PRAGMA temp_store'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="label_75">
|
||||
<property name="text">
|
||||
<string>Sqlite3 cache size,
|
||||
@@ -9929,7 +9929,7 @@ see Sqlite3 doc 'PRAGMA cache_size'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<item row="6" column="1">
|
||||
<widget class="QLabel" name="label_77">
|
||||
<property name="text">
|
||||
<string>Sqlite3 journal mode,
|
||||
@@ -9943,7 +9943,7 @@ see Sqlite3 doc 'PRAGMA journal_mode'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<item row="7" column="1">
|
||||
<widget class="QLabel" name="label_89">
|
||||
<property name="text">
|
||||
<string>Sqlite3 synchronous,
|
||||
@@ -9957,7 +9957,7 @@ see Sqlite3 doc 'PRAGMA synchronous'.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<item row="7" column="0">
|
||||
<widget class="QComboBox" name="comboBox_dbSynchronous">
|
||||
<property name="currentIndex">
|
||||
<number>2</number>
|
||||
@@ -10008,6 +10008,26 @@ see Sqlite3 doc 'PRAGMA synchronous'.</string>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLineEdit" name="lineEdit_rgbCompressionFormat"/>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="label_610">
|
||||
<property name="text">
|
||||
<string>Target database version for backward compatibility purpose. Only Major and minor versions are used and should be set (e.g., "0.19" vs "0.20" or "1.0" vs "2.0"). Patch version is ignored (e.g., "0.20.1" and "0.20.3" will generate a "0.20" database).</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLineEdit" name="lineEdit_targetDatabaseVersion">
|
||||
<property name="placeholderText">
|
||||
<string>major.minor</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user