mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Added "Delete memory" action, so the database can be easily deleted from the interface.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@34 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -67,7 +67,7 @@ int main(int argc, char* argv[])
|
|||||||
//Since we can't put the Rtabmap object in the MainWindow class,
|
//Since we can't put the Rtabmap object in the MainWindow class,
|
||||||
//we pop up a message box indicating that the rtabmap object
|
//we pop up a message box indicating that the rtabmap object
|
||||||
// is being deleted (saving data to the database)
|
// is being deleted (saving data to the database)
|
||||||
QMessageBox * msg = new QMessageBox(QMessageBox::Information, QObject::tr("RTAB-Map is closing..."), QObject::tr("The detector is saving the working memory to database..."), QMessageBox::NoButton);
|
QMessageBox * msg = new QMessageBox(QMessageBox::Information, QObject::tr("RTAB-Map is closing..."), QObject::tr("The detector is saving the working memory to database (located in RTAB-Map's working directory)..."), QMessageBox::NoButton);
|
||||||
msg->setEnabled(false);
|
msg->setEnabled(false);
|
||||||
msg->setIconPixmap(QPixmap(":/images/RTAB-Map.ico"));
|
msg->setIconPixmap(QPixmap(":/images/RTAB-Map.ico"));
|
||||||
msg->setWindowIcon(QIcon(":/images/RTAB-Map.ico"));
|
msg->setWindowIcon(QIcon(":/images/RTAB-Map.ico"));
|
||||||
|
|||||||
Reference in New Issue
Block a user