Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Public Attributes | Private Attributes
Visualization::SvgShapeStyle Class Reference
Inheritance diagram for Visualization::SvgShapeStyle:
Core::Reflect< Base >

Public Member Functions

virtual ~SvgShapeStyle () override
 
virtual void load (StyleLoader &sl) override
 
void paint (QPainter *painter, int x, int y, int width, int height) const
 

Public Attributes

Property< double > bottomContentMarginFraction {this, "bottomContentMarginFraction"}
 
Property< QString > filename {this, "filename"}
 
Property< double > leftContentMarginFraction {this, "leftContentMarginFraction"}
 
Property< double > rightContentMarginFraction {this, "rightContentMarginFraction"}
 
Property< double > topContentMarginFraction {this, "topContentMarginFraction"}
 

Private Attributes

QSvgRenderer renderer_
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ ~SvgShapeStyle()

Visualization::SvgShapeStyle::~SvgShapeStyle ( )
overridevirtual

Member Function Documentation

◆ load()

void Visualization::SvgShapeStyle::load ( StyleLoader sl)
overridevirtual

◆ paint()

void Visualization::SvgShapeStyle::paint ( QPainter *  painter,
int  x,
int  y,
int  width,
int  height 
) const

Member Data Documentation

◆ bottomContentMarginFraction

Property<double> Visualization::SvgShapeStyle::bottomContentMarginFraction {this, "bottomContentMarginFraction"}

◆ filename

Property<QString> Visualization::SvgShapeStyle::filename {this, "filename"}

◆ leftContentMarginFraction

Property<double> Visualization::SvgShapeStyle::leftContentMarginFraction {this, "leftContentMarginFraction"}

◆ renderer_

QSvgRenderer Visualization::SvgShapeStyle::renderer_
mutableprivate

◆ rightContentMarginFraction

Property<double> Visualization::SvgShapeStyle::rightContentMarginFraction {this, "rightContentMarginFraction"}

◆ topContentMarginFraction

Property<double> Visualization::SvgShapeStyle::topContentMarginFraction {this, "topContentMarginFraction"}