[Qt-creator] 3.6 UML plugin

Jochen Becher jochen_becher at gmx.de
Tue Oct 27 19:48:51 CET 2015


Hi,

No good reason to not change the syntax to something more QML alike.
Using QtQuick for diagrams would be much harder.

Regards, Jochen


Am Dienstag, den 27.10.2015, 17:43 +0100 schrieb Jason H via Qt-creator:
> I noticed the syntax was very close to QML ( http://doc-snapshots.qt.io/qtcreator-3.6/creator-modeling.html ) :
>  Icon UseCase
>      Title: "Use-Case"
>      Elements: item
>      Stereotype: 'usecase'
>      Display: icon
>      Width: 40
>      Height: 20
>      BaseColor: #5fb4f0
>  Begin
>      Ellipse 20, 10, 20, 10
>  End
> 
> Could be converted to:
> 
> Icon { 
>   id: useCase
>    elements: item
>    stereotype: 'usecase'
>    display: icon
>    width: 40
>    height: 20
>    baseColor: #5fb4f0
>    visualization: Elipse {
>       x: 20
>       y: 10
>       width: 20
>       height: 10
>     }
>     //or
>     function draw() {
>     ...
>     }
> }
> 
> Was there a reason QML couldn't be used?
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator





More information about the Qt-creator mailing list