25 I_ASSIGN(m_noneStatusSchemeCompPtr,
"NoneStatusColorSchema",
"Color schema used for shapes without any status",
false,
"NoneStatusColorSchema");
26 I_ASSIGN(m_okColorSchemeCompPtr,
"OkColorSchema",
"Color schema used for ok shapes",
false,
"OkColorSchema");
27 I_ASSIGN(m_warningColorSchemeCompPtr,
"WarningColorSchema",
"Color schema used for warning shapes",
false,
"WarningColorSchema");
28 I_ASSIGN(m_errorColorSchemeCompPtr,
"ErrorColorSchema",
"Color schema used for error shapes",
false,
"ErrorColorSchema");
38 bool connectToModel =
true)
const;
54 bool connectToModel)
const
56 if (shapeFactoryPtr !=
nullptr){
57 auto shapePtr = shapeFactoryPtr->
CreateShape(objectPtr, connectToModel);
58 if (shapePtr ==
nullptr){
62 if (infoPtr ==
nullptr){
73 if ((userColorSchemaPtr ==
nullptr) && m_errorColorSchemeCompPtr !=
nullptr){
74 shapePtr->SetUserColorSchema(m_errorColorSchemeCompPtr.get());
79 if ((userColorSchemaPtr ==
nullptr) && m_warningColorSchemeCompPtr !=
nullptr){
80 shapePtr->SetUserColorSchema(m_warningColorSchemeCompPtr.get());
85 if ((userColorSchemaPtr ==
nullptr) && m_okColorSchemeCompPtr !=
nullptr){
86 shapePtr->SetUserColorSchema(m_okColorSchemeCompPtr.get());
91 if ((userColorSchemaPtr ==
nullptr) && m_noneStatusSchemeCompPtr !=
nullptr){
92 shapePtr->SetUserColorSchema(m_noneStatusSchemeCompPtr.get());
virtual std::unique_ptr< iview::IShape > CreateResultShape(const iview::IShapeFactory *shapeFactoryPtr, const istd::IChangeable *objectPtr, const istd::IInformationProvider *infoPtr, bool connectToModel=true) const
Create a shape for the result object and corresponding status information.
Common interface for data model objects, which can be changed.
Defines set of standard pens, brushes and simple management of unions.
Interface for creation of visualization shapes of some geometrical object.
virtual std::unique_ptr< IShape > CreateShape(const istd::IChangeable *objectPtr, bool connectToModel=false) const =0
Create a graphical representation of the given 2D-object object.
Contains Qt based implementations of inspection classes and components.