X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetSwitch.h;h=a1cec7a779402f91454144f4bbf488645e303703;hb=f9fd953bf814fad40ae045f6164c7f80229b0872;hp=aafb6224f0c280599a33eb0d5b6769f6222eed5b;hpb=a94eeab620f6c2a559f5fea9b7d638423d010e62;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSwitch.h b/src/ModuleBase/ModuleBase_WidgetSwitch.h index aafb6224f..a1cec7a77 100644 --- a/src/ModuleBase/ModuleBase_WidgetSwitch.h +++ b/src/ModuleBase/ModuleBase_WidgetSwitch.h @@ -18,7 +18,7 @@ class QStackedLayout; /** * \ingroup GUI -* Implements a model widget for swithch as a container widget. It can be defined in XML with "switch" keyword +* Implements a model widget for switch as a container widget. It can be defined in XML with "switch" keyword */ class MODULEBASE_EXPORT ModuleBase_WidgetSwitch : public ModuleBase_PagedContainer { @@ -38,8 +38,10 @@ class MODULEBASE_EXPORT ModuleBase_WidgetSwitch : public ModuleBase_PagedContain /// Add a page to the widget /// \param theWidget a page widget /// \param theName a name of page - virtual int addPage(ModuleBase_PageBase* theWidget, - const QString& theName, const QString& theCaseId); + virtual int addPage( ModuleBase_PageBase* theWidget, + const QString& theName, + const QString& theCaseId, + const QIcon& theIcon ); protected: virtual int currentPageIndex() const;