[TD]Standard Line Styles - Gui components
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Parameter.h>
|
||||
#include <Mod/TechDraw/App/Preferences.h>
|
||||
#include <Mod/TechDraw/App/LineGenerator.h>
|
||||
|
||||
|
||||
#include "PreferencesGui.h"
|
||||
#include "Rez.h"
|
||||
@@ -154,6 +156,8 @@ double PreferencesGui::edgeFuzz()
|
||||
return Preferences::getPreferenceGroup("General")->GetFloat("EdgeFuzz", 10.0);
|
||||
}
|
||||
|
||||
|
||||
// this is for the iso vs ansi positioning of arrows and text. rename to sectionLineConvention?
|
||||
Qt::PenStyle PreferencesGui::sectionLineStyle()
|
||||
{
|
||||
Qt::PenStyle sectStyle = static_cast<Qt::PenStyle> (Preferences::getPreferenceGroup("Decorations")->GetInt("SectionLine", 2));
|
||||
@@ -274,3 +278,4 @@ QColor PreferencesGui::lightenColor(QColor orig)
|
||||
|
||||
return QColor(red, green, blue, alpha);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user