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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator


_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to