X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetValidated.h;fp=src%2FModuleBase%2FModuleBase_WidgetValidated.h;h=2271c2be1407878bf0b25dfc961dcd98e7b4f10e;hb=30c051954fe28016ee74f7aaf851dbdec4249d8c;hp=427ecf169d63547f6e0a3f226e4db00f0875d973;hpb=daa4b94e31bc333bbbc39ba0125cfce95a0ce729;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetValidated.h b/src/ModuleBase/ModuleBase_WidgetValidated.h index 427ecf169..2271c2be1 100644 --- a/src/ModuleBase/ModuleBase_WidgetValidated.h +++ b/src/ModuleBase/ModuleBase_WidgetValidated.h @@ -137,7 +137,8 @@ private: bool isValidAttribute(const AttributePtr& theAttribute) const; protected: - /// Gets the validity state of the presentation in an internal map. Returns true if the valid state of value is stored + /// Gets the validity state of the presentation in an internal map. + /// Returns true if the valid state of value is stored /// \param theValue a viewer presentation /// \param theValid a valid state bool getValidState(const std::shared_ptr& theValue, bool& theValid); @@ -166,8 +167,11 @@ protected: private: ObjectPtr myPresentedObject; /// back up of the filtered object #ifdef LIST_OF_VALID_PRS - QList> myValidPrs; /// cash of valid selection presentations - QList> myInvalidPrs; /// cash of invalid selection presentations + /// cash of valid selection presentations + QList> myValidPrs; + + /// cash of invalid selection presentations + QList> myInvalidPrs; #else // assume that one presentation selection presentation corresponds only one shape NCollection_DataMap > myValidPrs;