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:
parent
488c5865fe
commit
4383c921e1
@ -69,6 +69,7 @@ void ObjWidget::setupUi()
|
|||||||
|
|
||||||
label_ = new QLabel();
|
label_ = new QLabel();
|
||||||
label_->setAlignment(Qt::AlignCenter);
|
label_->setAlignment(Qt::AlignCenter);
|
||||||
|
label_->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||||
|
|
||||||
this->setLayout(new QVBoxLayout(this));
|
this->setLayout(new QVBoxLayout(this));
|
||||||
this->layout()->addWidget(graphicsView_);
|
this->layout()->addWidget(graphicsView_);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user