[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Mon Mar 12 02:05:55 UTC 2012
SVN commit 1285088 by habacker:
Added overriding of dot edges attributes through config file entries
M +3 -2 dotgenerator.h
--- trunk/KDE/kdesdk/umbrello/umbrello/dotgenerator.h #1285087:1285088
@@ -264,7 +264,7 @@
else if (m_edgeParameters.contains("ranking::type::default")) {
edgeParameters = m_edgeParameters["ranking::type::default"];
}
- params << edgeParameters;
+ params << edgeParameters.split(',');
QString vkey = QLatin1String("visual::") + key;
if (m_edgeParameters.contains(vkey))
@@ -272,10 +272,11 @@
else if (m_edgeParameters.contains("visual::type::default")) {
edgeParameters = m_edgeParameters["visual::type::default"];
}
- params << edgeParameters;
+ params << edgeParameters.split(',');
QString aID = fixID(ID2STR(assoc->getWidgetID(Uml::A)));
QString bID = fixID(ID2STR(assoc->getWidgetID(Uml::B)));
+ if (!findItem(params,"label="))
params << QString("label=\"%1\"").arg(type);
#ifdef DOTGENERATOR_DATA_DEBUG
More information about the umbrello-devel
mailing list