databaseviewer set default CameraLockZ=false on constraints view

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1593 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-07-23 21:30:27 +00:00
parent 3615ea1e21
commit ab1d4eb232
2 changed files with 9 additions and 3 deletions

View File

@@ -107,6 +107,8 @@ DatabaseViewer::DatabaseViewer(QWidget * parent) :
connect(ui_->spinBox_optimizationsFrom, SIGNAL(editingFinished()), this, SLOT(updateGraphView()));
connect(ui_->checkBox_initGuess, SIGNAL(stateChanged(int)), this, SLOT(updateGraphView()));
ui_->constraintsViewer->setCameraLockZ(false);
}
DatabaseViewer::~DatabaseViewer()
@@ -505,6 +507,7 @@ void DatabaseViewer::view3DMap()
QVBoxLayout *layout = new QVBoxLayout();
layout->addWidget(viewer);
viewer->setCameraLockZ(false);
window->setLayout(layout);
window->showNormal();

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
<width>1076</width>
<height>637</height>
</rect>
</property>
@@ -259,8 +259,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
<height>25</height>
<width>1076</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -318,6 +318,9 @@
</item>
<item>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">