X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.cpp;h=6c0c3aaae02b42b93cf5a1650f204d0e04a4cf74;hb=d22fc665c79c31c9eea0625e04c2e941adfdf7be;hp=bbcd7c177a1f5b8b154502fe6f73ee1c784cda6f;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index bbcd7c177..6c0c3aaae 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -18,10 +18,11 @@ PartSet_WidgetSketchLabel::PartSet_WidgetSketchLabel(QWidget* theParent, : ModuleBase_ModelWidget(theParent, theData, theParentId) { myText = QString::fromStdString(theData->getProperty("title")); - myLabel = new QLabel(myText, theParent); + myLabel = new QLabel("", theParent); myLabel->setWordWrap(true); myTooltip = QString::fromStdString(theData->getProperty("tooltip")); - myLabel->setToolTip(myTooltip); + myLabel->setToolTip(""); + myLabel->setIndent(5); } QList PartSet_WidgetSketchLabel::getControls() const @@ -42,7 +43,7 @@ void PartSet_WidgetSketchLabel::setOperationsMgr(XGUI_OperationMgr* theMgr) if (aOperation->inherits("PartSet_OperationSketch")) { PartSet_OperationSketch* aSketchOpe = static_cast(aOperation); updateLabel(aSketchOpe); - connect(aSketchOpe, SIGNAL(planeSelected(double, double, double)), this, + connect(aSketchOpe, SIGNAL(updatePropPanel()), this, SLOT(onPlaneSelected())); } }