Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #251. Append Export/Import NewGeom commands in the SALOME desktop.
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetSketchLabel.cpp
diff --git
a/src/PartSet/PartSet_WidgetSketchLabel.cpp
b/src/PartSet/PartSet_WidgetSketchLabel.cpp
index bbcd7c177a1f5b8b154502fe6f73ee1c784cda6f..6c0c3aaae02b42b93cf5a1650f204d0e04a4cf74 100644
(file)
--- 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"));
: 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->setWordWrap(true);
myTooltip = QString::fromStdString(theData->getProperty("tooltip"));
- myLabel->setToolTip(myTooltip);
+ myLabel->setToolTip("");
+ myLabel->setIndent(5);
}
QList<QWidget*> PartSet_WidgetSketchLabel::getControls() const
}
QList<QWidget*> 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<PartSet_OperationSketch*>(aOperation);
updateLabel(aSketchOpe);
if (aOperation->inherits("PartSet_OperationSketch")) {
PartSet_OperationSketch* aSketchOpe = static_cast<PartSet_OperationSketch*>(aOperation);
updateLabel(aSketchOpe);
- connect(aSketchOpe, SIGNAL(
planeSelected(double, double, double
)), this,
+ connect(aSketchOpe, SIGNAL(
updatePropPanel(
)), this,
SLOT(onPlaneSelected()));
}
}
SLOT(onPlaneSelected()));
}
}