- /// Overrides ModuleBase_PagedContainer
- int addPage(ModuleBase_PageBase* theWidget,
- const QString& theName, const QString& theCaseId);
+
+ /// Defines if it is supported to set the value in this widget
+ /// \return false because this is an info widget
+ virtual bool canAcceptFocus() const { return false; };
+
+ /// Add a page to the widget
+ /// \param theWidget a page widget
+ /// \param theName a name of page
+ /// \param theCaseId an Id of the page
+ /// \param theIcon an icon of the page
+ virtual int addPage( ModuleBase_PageBase* theWidget,
+ const QString& theName,
+ const QString& theCaseId,
+ const QPixmap& theIcon );