making ObjWidget text selectable by mouse

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@348 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe 2014-07-08 20:12:42 +00:00
parent 488c5865fe
commit 4383c921e1

View File

@ -69,6 +69,7 @@ void ObjWidget::setupUi()
label_ = new QLabel();
label_->setAlignment(Qt::AlignCenter);
label_->setTextInteractionFlags(Qt::TextSelectableByMouse);
this->setLayout(new QVBoxLayout(this));
this->layout()->addWidget(graphicsView_);