]> SALOME platform Git repositories - modules/gui.git/blobdiff - src/LightApp/LightApp_ModuleAction.cxx
Salome HOME
bos #20215 Help panels into SALOME for new users
[modules/gui.git] / src / LightApp / LightApp_ModuleAction.cxx
index fa9a8c6953ce059aee0e1f79d407e2af0f7f084e..9431ec346630067710ece247ea3bad8f697bc76c 100644 (file)
@@ -271,6 +271,15 @@ LightApp_ModuleAction::~LightApp_ModuleAction()
 {
 }
 
+/*!
+  \brief Get number of registered modules.
+  \return modules count
+*/
+int LightApp_ModuleAction::count() const
+{
+  return modules().count();
+}
+
 /*!
   \brief Get list of modules.
   \return modules names list
@@ -314,6 +323,15 @@ void LightApp_ModuleAction::setModuleIcon( const QString& name, const QIcon& ico
   update();
 }
 
+/*!
+  \brief Get module action.
+  \param name module name
+*/
+QAction* LightApp_ModuleAction::moduleAction( const QString& name ) const
+{
+  return mySet->moduleAction( name );
+}
+
 /*!
   \brief Add module into the list.
   \param name module name