Graphics/UMLItem.py

changeset 2992
dbdf27746da5
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
diff -r 226481ff40d1 -r dbdf27746da5 Graphics/UMLItem.py
--- a/Graphics/UMLItem.py	Sun Oct 06 19:52:33 2013 +0200
+++ b/Graphics/UMLItem.py	Mon Oct 07 19:10:11 2013 +0200
@@ -183,7 +183,8 @@
         @param widget optional reference to the widget painted on (QWidget)
         """
         pen = self.pen()
-        if (option.state & QStyle.State_Selected) == QStyle.State(QStyle.State_Selected):
+        if (option.state & QStyle.State_Selected) == \
+                QStyle.State(QStyle.State_Selected):
             pen.setWidth(2)
         else:
             pen.setWidth(1)
@@ -222,8 +223,8 @@
         Public method to build a string to persist the specific item data.
         
         This string must start with ", " and should be built like
-        "attribute=value" with pairs separated by ", ". value must not contain ", "
-        or newlines.
+        "attribute=value" with pairs separated by ", ". value must not
+        contain ", " or newlines.
         
         @return persistence data (string)
         """

eric ide

mercurial