virtual int addPage( ModuleBase_PageBase* theWidget,
const QString& theName,
const QString& theCaseId,
- const QPixmap& theIcon );
+ const QPixmap& theIcon,
+ const QString& theTooltip);
/// Redefinition of virtual function
virtual QList<QWidget*> getControls() const;
/// Redefinition of virtual function
virtual void enableFocusProcessing();
+ /// The slot is called when user press Ok or OkPlus buttons in the parent property panel
+ virtual void onFeatureAccepted();
+
protected:
/// Returns index of current page
virtual int currentPageIndex() const = 0;
/// Redefinition of virtual function
virtual bool restoreValueCustom();
+ // A flag which let to remeber last user choice and restore it on next launch
+ bool myRemeberChoice;
+
protected slots:
/// A slot called on page change
void onPageChanged();
bool myIsFocusOnCurrentPage;
QStringList myCaseIds;
QList<ModuleBase_PageBase*> myPages;
-
+ bool myIsFirst;
+ std::string myDefValue;
};
#endif /* MODULEBASE_PAGEDCONTAINER_H_ */