Added getter of the toolbox on MainWindow

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@43 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2011-11-23 22:04:58 +00:00
parent 26cf597da3
commit 52e4d4fc57
2 changed files with 7 additions and 0 deletions

View File

@ -89,6 +89,11 @@ void MainWindow::closeEvent(QCloseEvent * event)
QMainWindow::closeEvent(event);
}
ParametersToolBox * MainWindow::parametersToolBox() const
{
return ui_->toolBox;
}
bool MainWindow::loadObjects(const QString & fileName)
{
QFile file(fileName);

View File

@ -29,6 +29,8 @@ public:
bool loadObjects(const QString & fileName);
void saveObjects(const QString & fileName);
ParametersToolBox * parametersToolBox() const;
protected:
virtual void closeEvent(QCloseEvent * event);