- int addPage(QWidget * theWidget, const QString & theName);
- int count() const;
- int currentIndex() const;
- QWidget * currentWidget() const;
- int indexOf(QWidget * theWidget) const;
- int insertPage(int index, QWidget * theWidget, const QString & theName);
- bool isPageEnabled(int index) const;
- QString pageText(int index) const;
- QString pageToolTip(int index) const;
- void removePage(int index);
- void setPageEnabled(int index, bool enabled);
- void setPageName(int index, const QString & text);
- void setPageToolTip(int index, const QString & toolTip);
-
- public slots:
- void setCurrentIndex(int index);
-
-signals:
- void currentPageChanged(int);
+ /// 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);