[TD] add property for section line style

see https://forum.freecadweb.org/viewtopic.php?f=35&t=44320
This commit is contained in:
donovaly
2020-03-21 02:28:03 +01:00
committed by WandererFan
parent e16a452c3d
commit 69125f7ef7
5 changed files with 23 additions and 0 deletions

View File

@@ -285,6 +285,12 @@ QColor QGISectionLine::getSectionColor()
}
//SectionLineStyle
void QGISectionLine::setSectionStyle(int style)
{
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (style);
setStyle(sectStyle);
}
Qt::PenStyle QGISectionLine::getSectionStyle()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->