mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Added OpenCV version in About dialog
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@668 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "AboutDialog.h"
|
||||
#include "rtabmap/core/Rtabmap.h"
|
||||
#include "ui_aboutDialog.h"
|
||||
#include <opencv2/core/version.hpp>
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
@@ -29,6 +30,7 @@ AboutDialog::AboutDialog(QWidget * parent) :
|
||||
_ui = new Ui_aboutDialog();
|
||||
_ui->setupUi(this);
|
||||
_ui->label_version->setText(Rtabmap::getVersion().c_str());
|
||||
_ui->label_opencv_version->setText(CV_VERSION);
|
||||
}
|
||||
|
||||
AboutDialog::~AboutDialog()
|
||||
|
||||
@@ -157,6 +157,23 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="text">
|
||||
<string>OpenCV version :</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="label_opencv_version">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
|
||||
Reference in New Issue
Block a user