From eb8f61fcf1537473df1c1b35303019b227ea8deb Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 17 Apr 2008 08:27:36 +0000 Subject: [PATCH] add method allowing to customize help page + virtual QString helpPage() const; --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 5 +++++ src/GUI/NETGENPluginGUI_HypothesisCreator.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index 6f81cf2..a844327 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -345,3 +345,8 @@ QString NETGENPluginGUI_HypothesisCreator::type() const { return tr( QString( "NETGEN_%1_HYPOTHESIS" ).arg(myIs2D?QString("2D"):QString("3D")) ); } + +QString NETGENPluginGUI_HypothesisCreator::helpPage() const +{ + return "netgen_2d_3d_hypo_page.html"; +} diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.h b/src/GUI/NETGENPluginGUI_HypothesisCreator.h index 3cbd96a..290c622 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.h +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.h @@ -64,7 +64,8 @@ public: NETGENPluginGUI_HypothesisCreator( const QString& ); virtual ~NETGENPluginGUI_HypothesisCreator(); - virtual bool checkParams() const; + virtual bool checkParams() const; + virtual QString helpPage() const; protected: virtual QFrame* buildFrame (); -- 2.39.2