Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CDrawLogicsElements.cpp File Reference
Include dependency graph for CDrawLogicsElements.cpp:

Namespaces

namespace  LogicElementProperties
 
namespace  LogicElementProperties::StrokeColor
 
namespace  LogicElementProperties::FillColor
 
namespace  LogicElementProperties::LineDash
 
namespace  LogicElementProperties::Font
 
namespace  LogicElementProperties::DefaultProperties
 
namespace  LogicElementProperties::DefaultSelectedProperties
 
namespace  LogicElementProperties::HighlightedProperties
 
namespace  LogicElementProperties::HighlightedSelectedProperties
 
namespace  LogicElementProperties::WarningProperties
 
namespace  LogicElementProperties::WarningSelectedProperties
 

Functions

static double prvWidthOfTextToShow (const std::string &textToShow)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsDefault (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsSelected (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsHighlighted (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsSelectedHighlighted (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsWarning (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsWarningSelected (const CDrawLogicsElements::TTupleElementType &elementType, const AbstractCanvasItem::TTupleDrawingMode &drawingMode)
 
static CDrawLogicsElements::TMapDrawingModePartsDrawProperties prvBuildDrawingModesPropertiesComponents (const CDrawLogicsElements::TTupleElementType &elementType)
 
static std::string prvComponentSubText1 (const std::shared_ptr< CLogicsComponent > &logicsComponent)
 
static std::string prvComponentSubText2 (const std::shared_ptr< CLogicsComponent > &logicsComponent)
 
static std::string prvComponentSubText3 (const std::shared_ptr< CLogicsComponent > &logicsComponent)
 
static iv::ui::TextPosition prvElementTextPosition (const std::shared_ptr< AbstractLogicsElement > &logicsElement, AbstractLogicsElement::EPartType textPartType)
 
static std::string prvElementSubText1 (const std::shared_ptr< AbstractLogicsElement > &logicsElement)
 
static std::string prvElementSubText2 (const std::shared_ptr< AbstractLogicsElement > &logicsElement)
 
static std::string prvElementSubText3 (const std::shared_ptr< AbstractLogicsElement > &logicsElement)
 
static std::string prvElementPartText (const std::shared_ptr< AbstractLogicsElement > &logicsElement, AbstractLogicsElement::EPartType partType)
 
static ICanvasItemprvNewMainShape (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static ICanvasItemprvNewMainText (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static ICanvasItemprvNewSubText1 (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static ICanvasItemprvNewSubText2 (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static ICanvasItemprvNewSubText3 (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvNewElementParts (const std::shared_ptr< AbstractLogicsElement > &logicsElement, ICanvasItem *groupItem, CDrawLogicsElements::graphics_t *graphicsUsed, const AbstractLogicsElement::TMapIndexPartType &lCParts)
 
static void prvNewElement (const std::shared_ptr< AbstractLogicsElement > &logicsElement, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElementPosition (const std::shared_ptr< AbstractLogicsElement > &logicsElement, bool isGrabbed, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElementSize (const std::shared_ptr< AbstractLogicsElement > &logicsElement, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElementTexts (const std::shared_ptr< AbstractLogicsElement > &logicsElement, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElementTooltip (const std::shared_ptr< AbstractLogicsElement > &logicsElement, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateLineDash (ICanvasItem *groupItem, const std::string &lineDashParams, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElementDrawing (const std::shared_ptr< AbstractLogicsElement > &logicsElement, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static void prvUpdateElement (const std::shared_ptr< AbstractLogicsElement > &logicsElement, bool isGrabbed, CDrawLogicsElements::graphics_t *graphicsUsed)
 
static uint16_t prvElementTextLines (const std::shared_ptr< AbstractLogicsElement > &logicsElement)
 

Variables

static const std::string kPrvStrDrawPropertyFillColor = "fill-color"
 
static const std::string kPrvStrDrawPropertyFont = "font"
 
static const std::string kPrvStrDrawPropertyLineDash = "line-dash"
 
static const std::string kPrvStrDrawPropertyStrokeColor = "stroke-color"
 
static constexpr std::string kPrvColorSubText3LightMode = "gray"
 
static constexpr std::string kPrvColorSubText3DarkMode = "wheat"
 
static constexpr CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::StrokeColor::blackStrokeColor
 
static constexpr CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::StrokeColor::greenStrokeColor
 
static constexpr CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::StrokeColor::redStrokeColor
 
static constexpr CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::StrokeColor::yellowStrokeColor
 
static constexpr CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::StrokeColor::lightBlueStrokeColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::greenFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::redFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::yellowFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::wheatFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::coralFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::aquamarineFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::burlywoodFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::cadetBlueFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::orangeFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::invisibleFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::FillColor::mainTextFillColor
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::LineDash::noLineDash
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::LineDash::invisibleLine
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::LineDash::lineDash
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::LineDash::thickLineDash
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::LineDash::veryThickLineDash
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::mainNormal
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::mainBold
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::mainItalic
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText1Normal
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText1Bold
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText1Italic
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText2Normal
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText2Bold
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText2Italic
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText3Normal
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText3Bold
 
static const CDrawLogicsElements::TPairDrawPropertyValue LogicElementProperties::Font::subText3Italic
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultProperties::othersLabelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::DefaultSelectedProperties::othersLabelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::libraryBlockProperties = DefaultProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersChannelProperties = DefaultProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersBroadCastChannelProperties = DefaultProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersConstantProperties = DefaultProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersLibraryInProperties = DefaultProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersLibraryOutProperties = DefaultProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedProperties::othersLabelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::libraryBlockProperties = DefaultSelectedProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersChannelProperties = DefaultSelectedProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersBroadCastChannelProperties = DefaultSelectedProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersConstantProperties = DefaultSelectedProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersLibraryInProperties = DefaultSelectedProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersLibraryOutProperties = DefaultSelectedProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::HighlightedSelectedProperties::othersLabelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::libraryBlockProperties = DefaultProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersConstantProperties = DefaultProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersLibraryInProperties = DefaultProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersLibraryOutProperties = DefaultProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningProperties::othersLabelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::connectionPointProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::connectionProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::textProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::rectangleProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::basicBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::libraryBlockProperties = DefaultSelectedProperties::libraryBlockProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersBroadCastChannelProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersConstantProperties = DefaultSelectedProperties::othersConstantProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersLibraryInProperties = DefaultSelectedProperties::othersLibraryInProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersLibraryOutProperties = DefaultSelectedProperties::othersLibraryOutProperties
 
static const std::map< AbstractLogicsElement::EPartType, CDrawLogicsElements::TSetDrawPropertiesLogicElementProperties::WarningSelectedProperties::othersLabelProperties
 

Function Documentation

◆ prvBuildDrawingModePropertiesComponentsDefault()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsDefault ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModePropertiesComponentsHighlighted()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsHighlighted ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModePropertiesComponentsSelected()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsSelected ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModePropertiesComponentsSelectedHighlighted()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsSelectedHighlighted ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModePropertiesComponentsWarning()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsWarning ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModePropertiesComponentsWarningSelected()

static CDrawLogicsElements::TMapPartTypeDrawProperties prvBuildDrawingModePropertiesComponentsWarningSelected ( const CDrawLogicsElements::TTupleElementType & elementType,
const AbstractCanvasItem::TTupleDrawingMode & drawingMode )
static

◆ prvBuildDrawingModesPropertiesComponents()

static CDrawLogicsElements::TMapDrawingModePartsDrawProperties prvBuildDrawingModesPropertiesComponents ( const CDrawLogicsElements::TTupleElementType & elementType)
static

◆ prvComponentSubText1()

static std::string prvComponentSubText1 ( const std::shared_ptr< CLogicsComponent > & logicsComponent)
static

◆ prvComponentSubText2()

static std::string prvComponentSubText2 ( const std::shared_ptr< CLogicsComponent > & logicsComponent)
static

◆ prvComponentSubText3()

static std::string prvComponentSubText3 ( const std::shared_ptr< CLogicsComponent > & logicsComponent)
static

◆ prvElementPartText()

static std::string prvElementPartText ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
AbstractLogicsElement::EPartType partType )
static

◆ prvElementSubText1()

static std::string prvElementSubText1 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement)
static

◆ prvElementSubText2()

static std::string prvElementSubText2 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement)
static

◆ prvElementSubText3()

static std::string prvElementSubText3 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement)
static

◆ prvElementTextLines()

static uint16_t prvElementTextLines ( const std::shared_ptr< AbstractLogicsElement > & logicsElement)
static

◆ prvElementTextPosition()

static iv::ui::TextPosition prvElementTextPosition ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
AbstractLogicsElement::EPartType textPartType )
static

◆ prvNewElement()

static void prvNewElement ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvNewElementParts()

static void prvNewElementParts ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed,
const AbstractLogicsElement::TMapIndexPartType & lCParts )
static

◆ prvNewMainShape()

static ICanvasItem * prvNewMainShape ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvNewMainText()

static ICanvasItem * prvNewMainText ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvNewSubText1()

static ICanvasItem * prvNewSubText1 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvNewSubText2()

static ICanvasItem * prvNewSubText2 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvNewSubText3()

static ICanvasItem * prvNewSubText3 ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
ICanvasItem * groupItem,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvUpdateElement()

static void prvUpdateElement ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
bool isGrabbed,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvUpdateElementDrawing()

static void prvUpdateElementDrawing ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

◆ prvUpdateElementPosition()

static void prvUpdateElementPosition ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
bool isGrabbed,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

prvUpdateElementPosition

Updates the position of an element, or its path if it's a path.

◆ prvUpdateElementSize()

static void prvUpdateElementSize ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

prvUpdateElementSize

Updates the size of an element in the canvas depending on its shape.

◆ prvUpdateElementTexts()

static void prvUpdateElementTexts ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

prvUpdateElementTexts

Updates the texts shown by a element in the canvas.

◆ prvUpdateElementTooltip()

static void prvUpdateElementTooltip ( const std::shared_ptr< AbstractLogicsElement > & logicsElement,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

prvUpdateElementTooltip

Updates the tooltip of the element in the canvas.

◆ prvUpdateLineDash()

static void prvUpdateLineDash ( ICanvasItem * groupItem,
const std::string & lineDashParams,
CDrawLogicsElements::graphics_t * graphicsUsed )
static

prvUpdateLineDash

Applies a line-dash to a canvas item. Parameters in the string will be separated by ',' with the format: "<uint16_t numDashes>, <float dashLength>, <float gapLength>, <float startOffset>"

◆ prvWidthOfTextToShow()

static double prvWidthOfTextToShow ( const std::string & textToShow)
static

Variable Documentation

◆ kPrvColorSubText3DarkMode

std::string kPrvColorSubText3DarkMode = "wheat"
staticconstexpr

◆ kPrvColorSubText3LightMode

std::string kPrvColorSubText3LightMode = "gray"
staticconstexpr

◆ kPrvStrDrawPropertyFillColor

const std::string kPrvStrDrawPropertyFillColor = "fill-color"
static

◆ kPrvStrDrawPropertyFont

const std::string kPrvStrDrawPropertyFont = "font"
static

◆ kPrvStrDrawPropertyLineDash

const std::string kPrvStrDrawPropertyLineDash = "line-dash"
static

◆ kPrvStrDrawPropertyStrokeColor

const std::string kPrvStrDrawPropertyStrokeColor = "stroke-color"
static