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:
parent
b111c9996a
commit
a794ce5aef
@ -151,6 +151,11 @@ ParametersToolBox * MainWindow::parametersToolBox() const
|
|||||||
return ui_->toolBox;
|
return ui_->toolBox;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::setSourceImageText(const QString & text)
|
||||||
|
{
|
||||||
|
ui_->imageView_source->setTextLabel(text);
|
||||||
|
}
|
||||||
|
|
||||||
int MainWindow::loadObjects(const QString & dirPath)
|
int MainWindow::loadObjects(const QString & dirPath)
|
||||||
{
|
{
|
||||||
int loadedObjects = 0;
|
int loadedObjects = 0;
|
||||||
|
|||||||
@ -33,6 +33,7 @@ public:
|
|||||||
void saveObjects(const QString & dirPath);
|
void saveObjects(const QString & dirPath);
|
||||||
|
|
||||||
ParametersToolBox * parametersToolBox() const;
|
ParametersToolBox * parametersToolBox() const;
|
||||||
|
void setSourceImageText(const QString & text);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void closeEvent(QCloseEvent * event);
|
virtual void closeEvent(QCloseEvent * event);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user