QList<QWidget*> PartSet_WidgetSketchLabel::getControls() const
{
- return QList<QWidget*>();
+ QList<QWidget*> aResult;
+ aResult << myLabel;
+ return aResult;
}
void PartSet_WidgetSketchLabel::onPlaneSelected()
}
+bool PartSet_WidgetSketchLabel::focusTo()
+{
+ myLabel->setFocus();
+ return true;
+}
+
+void PartSet_WidgetSketchLabel::enableFocusProcessing()
+{
+ myLabel->installEventFilter(this);
+}
+
void PartSet_WidgetSketchLabel::activateCustom()
{
std::shared_ptr<GeomAPI_Pln> aPlane = plane();