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

View File

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