Control Face edges from Part/Section

This commit is contained in:
WandererFan
2016-09-13 10:19:41 -04:00
parent 90c3f719ec
commit a080e3bcbc
4 changed files with 11 additions and 0 deletions

View File

@@ -109,6 +109,14 @@ void QGIFace::setFill(QBrush b) {
m_styleNormal = b.style();
}
void QGIFace::setDrawEdges(bool b) {
if (b) {
setStyle(Qt::DashLine);
} else {
setStyle(Qt::NoPen); //don't draw face lines, just fill
}
}
void QGIFace::resetFill() {
m_colNormalFill = m_colDefFill;
m_styleNormal = m_styleDef;