X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.h;fp=src%2FPartSet%2FPartSet_WidgetSketchLabel.h;h=9144f9ef4216cd6a57498df95cf57e6d95898209;hb=322bc04c30609d50bd763a8dbe014284d0f0e8d6;hp=fbc3395025b9a084472fc26643397e4c907d7dd9;hpb=e7c32b05a984a6c8fed81a09362cd3cc6c0ed0fb;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.h b/src/PartSet/PartSet_WidgetSketchLabel.h index fbc339502..9144f9ef4 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.h +++ b/src/PartSet/PartSet_WidgetSketchLabel.h @@ -31,6 +31,7 @@ #include +#include #include class PartSet_PreviewPlanes; @@ -110,6 +111,12 @@ public: /// \param thePrs a presentation static bool canFillSketch(const std::shared_ptr& thePrs); + /// If widgets has several panels then this method has to show a page which contains information + /// for current feature. By default does nothing + virtual void showInformativePage() { + if (myStackWidget) myStackWidget->setCurrentIndex(1); + } + signals: /// Signal on plane selection void planeSelected(const std::shared_ptr& thePln);