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:
matlabbe
2011-05-18 21:23:18 +00:00
parent 34fa01466a
commit 19abc86d07

View File

@@ -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"));