-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/// If there is found selected attribute, widgets are created and contains
/// only a widget for the attribute
/// It is important for Property Panel filling by sketch point attribute
- /// \param theOperation a started operation
+ /// \param theFeature a feature of the started operation
+ /// \param theXmlRepr an XML representation of the operation
/// \param theWidgets a list of created widgets
/// \return boolean result, false by default
- virtual bool createWidgets(ModuleBase_Operation* theOperation,
+ virtual bool createWidgets(const FeaturePtr& theFeature, const QString& theXmlRepr,
QList<ModuleBase_ModelWidget*>& theWidgets) const;
/// Launching of a edit operation on the feature
/// Reads description of features from XML file
virtual void createFeatures();
+ /// add texture
+ static void setTexture(const AISObjectPtr& thePrs, const ResultPtr& theResult);
+
public slots:
/// Slolt called on object display
/// \param theObject a data object
/// Called on transformation in current viewer
/// \param theTrsfType type of tranformation
- void onViewTransformed(int theTrsfType = 2);
+ virtual void onViewTransformed(int theTrsfType = 2);
+
+ /// Called on remove conflicting constraints
+ void onRemoveConflictingConstraints();
protected slots:
/// Called when previous operation is finished