[Qt-creator] 3.6 UML plugin

Ziller Eike Eike.Ziller at theqtcompany.com
Wed Oct 28 08:24:19 CET 2015


> On Oct 27, 2015, at 7:48 PM, Jochen Becher <jochen_becher at gmx.de> wrote:
> 
> 
> Hi,
> 
> No good reason to not change the syntax to something more QML alike.

Or JSON. Has the additional advantage that there is a parser in Qt.

> 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
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
 
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list