[Uml-devel] branches/work/soc-umbrello/umbrello
Andi Fischer
andi.fischer at hispeed.ch
Sun Oct 14 13:19:19 UTC 2012
SVN commit 1320504 by fischer:
Small fixes added.
M +5 -5 umlscene.cpp
M +5 -0 widgets/widgetbase.cpp
M +1 -1 widgets/widgetbase.h
--- branches/work/soc-umbrello/umbrello/umlscene.cpp #1320503:1320504
@@ -1393,12 +1393,12 @@
UMLApp::app()->beginMacro(i18n("Change Line Color"));
foreach(UMLWidget *temp, selectedWidgets()) {
temp->setLineColor(color);
- // [PORT] temp->setUsesDiagramLineColour(false);
+ temp->setUsesDiagramLineColor(false);
}
AssociationWidgetList assoclist = selectedAssocs();
foreach(AssociationWidget *aw, assoclist) {
aw->setLineColor(color);
- // [PORT] aw->setUsesDiagramLineColour(false);
+ aw->setUsesDiagramLineColor(false);
}
UMLApp::app()->endMacro();
}
@@ -1410,12 +1410,12 @@
{
foreach(UMLWidget* temp, selectedWidgets()) {
temp->setLineWidth(width);
- // [PORT] temp->setUsesDiagramLineWidth(false);
+ temp->setUsesDiagramLineWidth(false);
}
AssociationWidgetList assoclist = selectedAssocs();
foreach(AssociationWidget *aw , assoclist) {
aw->setLineWidth(width);
- // [PORT] aw->setUsesDiagramLineWidth(false);
+ aw->setUsesDiagramLineWidth(false);
}
}
@@ -1428,7 +1428,7 @@
foreach(UMLWidget* widget, selectedWidgets()) {
widget->setBrush(QBrush(color));
- // [PORT] temp->setUsesDiagramFillColour(false);
+ // [PORT] widget->setUsesDiagramBrush(false);
}
UMLApp::app()->endMacro();
}
--- branches/work/soc-umbrello/umbrello/widgets/widgetbase.cpp #1320503:1320504
@@ -512,6 +512,11 @@
}
}
+/**
+ * Returns state if diagram text color is used
+ *
+ * @return True means diagram text color is used
+ */
bool WidgetBase::usesDiagramTextColor() const
{
return m_usesDiagramTextColor;
--- branches/work/soc-umbrello/umbrello/widgets/widgetbase.h #1320503:1320504
@@ -32,7 +32,7 @@
#include <QPainter>
#include <QPen>
-// forward delcarations
+// forward declarations
class IDChangeLog;
class ListPopupMenu;
class UMLDoc;
More information about the umbrello-devel
mailing list