Re: [Development] Units in QML

2016-02-25 Thread André Somers
Op 25/02/2016 om 12:49 schreef Alberto Mardegan: On 25/02/2016 13:20, Welbourne Edward wrote: André Somers used m* for minutes and metres, footnoting: )* Note the first clash already... I think it is fairly sane to just insist that SI units take precedence, especially given that we support m

Re: [Development] Units in QML

2016-02-25 Thread Welbourne Edward
> What's wrong with in that case defining the conversion? Or resetting > the default conversions and defining everything in "space-time"? By all means provide the means for the user to define context-specific conversion. I'm mostly arguing against trying to automagically do it all for them.

Re: [Development] Units in QML

2016-02-25 Thread Alberto Mardegan
On 25/02/2016 13:20, Welbourne Edward wrote: > André Somers used m* for minutes and metres, footnoting: >> )* Note the first clash already... > > I think it is fairly sane to just insist that SI units take precedence, > especially given that we support multi-letter unit names (e.g. pt, px, > mm, c

Re: [Development] Units in QML

2016-02-25 Thread André Somers
Op 25/02/2016 om 11:20 schreef Welbourne Edward: André Somers used m* for minutes and metres, footnoting: )* Note the first clash already... I think it is fairly sane to just insist that SI units take precedence, especially given that we support multi-letter unit names (e.g. pt, px, mm, cm),

Re: [Development] Units in QML (was: Re: Scalable UIs in QtQuick (take 2))

2016-02-25 Thread Welbourne Edward
André Somers used m* for minutes and metres, footnoting: > )* Note the first clash already... I think it is fairly sane to just insist that SI units take precedence, especially given that we support multi-letter unit names (e.g. pt, px, mm, cm), so min will do fine for minutes. > Numerical values

[Development] Units in QML (was: Re: Scalable UIs in QtQuick (take 2))

2016-02-24 Thread André Somers
Op 25/02/2016 om 01:41 schreef Michael Brasser: Hi, Regarding (2), last time around I had concerns about the proposed limitations associated with language-level unit support (see some of the discussion at https://codereview.qt-project.org/98288). I'd be interested to hear the particulars of

Re: [Development] Units in QML

2016-02-18 Thread Welbourne Edward
> Of course I am going slightly off-topic with this thoughts... So let's have a change of Subject. > The QML based DSL driving it would benefit greatly if one could easily > express the physical unit of each number (ampere, newton, meters, ...) > and if one could preserve this information during c