Share

Umbrello UML Modeller

Email Archive: uml-devel (read-only)

2001:
Jan
   
Feb
   
Mar
   
Apr
   
May
   
Jun
   
Jul
   
Aug
   
Sep
(2)
Oct
(10)
Nov
(12)
Dec
(8)
2002:
Jan
(11)
Feb
   
Mar
(11)
Apr
(26)
May
(64)
Jun
(30)
Jul
(211)
Aug
(34)
Sep
(164)
Oct
(598)
Nov
(483)
Dec
(166)
2003:
Jan
(341)
Feb
(412)
Mar
(697)
Apr
(381)
May
(324)
Jun
(169)
Jul
(112)
Aug
(286)
Sep
(390)
Oct
(421)
Nov
(339)
Dec
(291)
2004:
Jan
(347)
Feb
(297)
Mar
(170)
Apr
(224)
May
(252)
Jun
(212)
Jul
(336)
Aug
(261)
Sep
(213)
Oct
(147)
Nov
(172)
Dec
(253)
2005:
Jan
(188)
Feb
(153)
Mar
(121)
Apr
(117)
May
(151)
Jun
(108)
Jul
(151)
Aug
(240)
Sep
(205)
Oct
(130)
Nov
(80)
Dec
(114)
2006:
Jan
(121)
Feb
(176)
Mar
(168)
Apr
(105)
May
(107)
Jun
(92)
Jul
(170)
Aug
(131)
Sep
(117)
Oct
(90)
Nov
(142)
Dec
(106)
2007:
Jan
(111)
Feb
(323)
Mar
(131)
Apr
(137)
May
(149)
Jun
(166)
Jul
(112)
Aug
(89)
Sep
(53)
Oct
(38)
Nov
(48)
Dec
(50)
2008:
Jan
(32)
Feb
(33)
Mar
(78)
Apr
(37)
May
(28)
Jun
(58)
Jul
(138)
Aug
(152)
Sep
(59)
Oct
(41)
Nov
(16)
Dec
(24)
2009:
Jan
(80)
Feb
(26)
Mar
(61)
Apr
(77)
May
(61)
Jun
(40)
Jul
(27)
Aug
(135)
Sep
(16)
Oct
(15)
Nov
(11)
Dec
   
From: Gopala Krishna <krishna.ggk@gm...> - 2008-08-01 17:18
Hi , I apologize for not having updated you people with my soc
progress so far. So I hereby will give a brief updates of my progress
:)

Step by step progress.

1) I started with a simple canvas-graphicsitem port where I mostly
mapped QCanvas classes to QGraphicsItem classes.

2) I moved most of UMLView's functionality to UMLScene, so that in
future we will be able to support split views.

3) I spent considerable amount of time in designing NewUMLWidget and
NewUMLRectWidget classes. Infact WidgetBase became NewUMLWidget and
UMLWidget became NewUMLRectWidget, but the difference being
NewUMLWidget is also a QGraphicsItem.

4) I implemented resizing mechanism through external item called
WidgetHandle for NewUMLRectWidget. The WidgetHandle displays 8
resize handles and also takes care of displaying appropriate
cursor.

5) Added sizeHint support to NewUMLRectWidget (intially sizeHint
method, but later setMinimumSize and setMaximumSize method).

6) I implemented NewEnumWidget based on new classes and here is where
I realized the problem of too many calculations surrounding fonts.

7) I did a few benchmarks and finally implemented TextItem and
TextItemGroup framework classes.

The aim was to encapsulate Text display with support for tooltips,
hover effect, grouping mechanism and font calculations. Though this
is not bug free, I am happy that I zeroed on this idea.

It is scalable enough to add validation support, inline editing and
also optimizable(if needed) by implementing the text items
ourselves which share common data with other text items!

8) The journey of porting all other widgets using these TextItem and
TextItemGroup began and here is a list of the accomplished work so
far.

The file names beginning with --- are the ported ones.

---activitywidget.h
---actorwidget.h
---artifactwidget.h
associationwidget.h
---boxwidget.h
---categorywidget.h
---classifierwidget.h
combinedfragmentwidget.h
---componentwidget.h
---datatypewidget.h
---entitywidget.h
---enumwidget.h
---floatingdashlinewidget.h
floatingtextwidget.h
---forkjoinwidget.h
linkwidget.h
messagewidget.h
---newumlrectwidget.h
---newumlwidget.h
---nodewidget.h
---notewidget.h
---objectnodewidget.h
objectwidget.h
---packagewidget.h
pinwidget.h
preconditionwidget.h
---regionwidget.h
---seqlinewidget.h
---signalwidget.h
---statewidget.h
---toolbarstateonewidget.h
---umlwidget.h
---usecasewidget.h

9) I implemented a notification mechanism through
QVariant NewUMLWidget::attributeChange(WidgetAttributeChange
change, const QVariant& oldValue) function
and
WidgetAttributeChange enumeration. This is modelled similar to
QGraphicsItem::itemChange.

Now all subclasses can react to notifications like NameHasChanged,
FontHasChanged.. to handle any required functionality.



* So what is for FUTURE (withing soc timeframe - before Aug 18th) ?

My college is starting from 4th August and hence I will have still
lesser time to code. So unfotunately I had to change my plans a
bit. This is my first ever "timeframe" based project and hence I
guess I overestimated the work that can be covered during
soc. Especially TextItem and TextItemGroup was not planned before at
all!! Ofcourse I will be working on umbrello even after soc :)

I hope you people can understand me :-)

I firstly want to finish off with porting all widgets. Especially I
still have Associationwidget to be ported which is the most complex
widget :( I will be needing your help in this regard specially.

Then, I need to cleanup the UMLScene class and all other
AssociationWidget stuff used elsewhere. Also I need to make
ToolBarStates to work and removed Controller code.

Next, I will provide user interface for selecting gradients/brush
styles for selecting "fill"

Implement Codefolding like mechanism to hide attributes and methods
of ClassifierWidget.

XMI based cut/copy/paste.


* What next after soc timeframe ?

Fix all regressions.

Fix undo/redo.

Implement inplace editing (i can't do this in soc time frame because
this needs robust validation support which varies from widget to
widget)

Work on merge to trunk (if you people are satisfied ;) )
Plan again for futher developments!


Any feedback/comments/suggestions appreciated. Thanks :)


--
Cheers,
Gopala Krishna A


    From: Rafael Fernández López <ereslibre@kd...> - 2008-08-01 18:13

    Attachments: Message as HTML     
    Hi,

    > Any feedback/comments/suggestions appreciated. Thanks :)

    I have been following the overview of your commits in a general way and I can
    only say one thing: you have done a really impressive work.

    I really want to congratulate you for your amazing work in umbrello, and I
    really look forward to keep seeing you in our KDE development team.


    Regards,
    Rafael Fernández López.

    From: Andi Fischer <andi.fischer@hi...> - 2008-08-02 07:41
    Gopala Krishna wrote:
    > Any feedback/comments/suggestions appreciated. Thanks :)
    >
    From time to time I compiled your amazing work.

    This will bring Umbrello a big step forward and I can't wait to the
    merge to trunk.

    Regards,

    Andi

    From: Gopala Krishna <krishna.ggk@gm...> - 2008-08-04 10:46
    Thank you all for the nice feedback!
    I'll definitely work harder to make umbrello reach new heights :)

    --
    Cheers,
    Gopala Krishna A