Salome HOME
#1186 misprint “Origin/PointCoordindates”. The correction: using 'title' or 'label...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFactory.h
index 05f3b7b8a2bba7c6fc1c8750ac3e109523047785..f51f541fac81f8c9091281bc1d9c7a776fbdad27 100644 (file)
@@ -48,7 +48,15 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFactory
     return myModelWidgets;
   }
 
- protected:
+  /// Returns the value of the title key from XML definition of the attribute in the feature
+  /// \param theFeatureKind a value of a kind of a feature
+  /// \param theAttributeId a value of a kind of the attribute under the feature
+  /// \param theTitle the result title
+  void getAttributeTitle(const std::string& theFeatureKind,
+                         const std::string& theAttributeId,
+                         std::string& theTitle);
+
+protected:
   /// check if ModuleBase_Widget has expandable widgets in getControls
   bool hasExpandingControls(QWidget* theParent);