Added interface to MainWindow to set source image text (for the ROS node)

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@81 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2012-02-04 22:48:35 +00:00
parent b111c9996a
commit a794ce5aef
2 changed files with 6 additions and 0 deletions

View File

@ -151,6 +151,11 @@ ParametersToolBox * MainWindow::parametersToolBox() const
return ui_->toolBox;
}
void MainWindow::setSourceImageText(const QString & text)
{
ui_->imageView_source->setTextLabel(text);
}
int MainWindow::loadObjects(const QString & dirPath)
{
int loadedObjects = 0;

View File

@ -33,6 +33,7 @@ public:
void saveObjects(const QString & dirPath);
ParametersToolBox * parametersToolBox() const;
void setSourceImageText(const QString & text);
protected:
virtual void closeEvent(QCloseEvent * event);