[Uml-devel] branches/work/soc-umbrello/umbrello

Gopala Krishna A krishna.ggk at gmail.com
Thu Jul 31 08:19:03 UTC 2008


SVN commit 839954 by gopala:

Ported ClassifierWidget using TextItem and TextItemGroups.
Changelog.
1) Use 2 TextItemGroups for Template literals and Classifier literals.

2) Introduced an enumeration mechanism for setting, getting and toggling various
   properties like ShowAttributes, ShowOperations.. The enumeration name is
   VisualProperty.
   To get a property use ClassifierWidget::visualProperty(<propertyname>).
   To set a property use ClassifierWidget::setVisualProperty(<propname>, bool)
   To toggle a property use ClassifierWidget::toggleVisualProperty(propname)

3) Precalculates all the drawing and therefore ClassifierWidget::paint is light weight
   and fast.


Also fixed a few unused symbol warning in other Widget files.



 M  +3 -3      associationwidget.cpp  
 M  +4 -0      associationwidget.h  
 M  +584 -650  classifierwidget.cpp  
 M  +83 -326   classifierwidget.h  
 M  +1 -1      combinedfragmentwidget.cpp  
 M  +18 -18    dialogs/classoptionspage.cpp  
 M  +1 -1      entitywidget.cpp  
 M  +1 -3      enumwidget.cpp  
 M  +1 -1      floatingdashlinewidget.cpp  
 M  +1 -1      floatingtextwidget.cpp  
 M  +3 -0      linepath.cpp  
 M  +14 -14    listpopupmenu.cpp  
 M  +1 -1      nodewidget.cpp  
 M  +1 -1      notewidget.cpp  
 M  +1 -1      objectwidget.cpp  
 M  +1 -1      pinwidget.cpp  
 M  +1 -1      preconditionwidget.cpp  
 M  +1 -1      regionwidget.cpp  
 M  +1 -1      statewidget.cpp  
 M  +1 -0      test.cpp  
 M  +0 -2      textitemgroup.cpp  
 M  +11 -10    umlscene.cpp  
 M  +6 -6      widget_factory.cpp  






More information about the umbrello-devel mailing list