Re: [Development] Using semicolons in JS (QML)

2016-09-30 Thread Michael Zanetti
FWIW, in unity8 (reasonably big QML application) we agreed to not use semicolons for declarative code unless you really want to write some things into a single line and need them, but always use semicolons for imperative code. This has served us very well over the past years, seems consistent and

Re: [Development] Revisiting high-DPI configuration options

2016-07-20 Thread Michael Zanetti
On 20.07.2016 11:12, Edward Welbourne wrote: > Prav said: >> Another problem will be with icons. They will scale bad. We are used >> to make icons with versions like _x2, _x3 ... and what we going to do >> if scale factor will be fractional? ... have icons versions like _1.1 >> _1.2 _1.3? Probab

Re: [Development] Revisiting high-DPI configuration options

2016-06-22 Thread Michael Zanetti
On 22.06.2016 14:46, Morten Sorvig wrote: > >> On 22 Jun 2016, at 10:30, Michael Zanetti >> wrote: >> >> >> >> On 20.06.2016 15:00, Morten Sorvig wrote: >>> >>> Another reason to not spend time on it would be that integer is, or is go

Re: [Development] Revisiting high-DPI configuration options

2016-06-22 Thread Michael Zanetti
On 20.06.2016 15:00, Morten Sorvig wrote: > >> On 17 Jun 2016, at 14:54, Frank Hemer wrote: >> >> Can you give a hint on what causes these glitches and how to avoid them? >> I'm not talking about general usage of fractional methods for painting here. >> >> For example when drawing to a pixmap

Re: [Development] Testability Driver

2015-05-28 Thread Michael Zanetti
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 28.05.2015 16:36, Friedemann Kleint wrote: > Hi, > >> adly we're not using it in Canonical any more. TDriver did a good >> job > with Qt4 apps. But it was desired to have a single tool to test > multiple toolkits (Qt & GTK & Html5) using pytho

Re: [Development] Rich Text Editor using QML

2014-11-14 Thread Michael Zanetti
Hi, I've been working on that last week for an Evernote client for Ubuntu Phone. Seems to work reasonably well. Here's the diff of just the edit mode: https://code.launchpad.net/~mzanetti/reminders-app/new-edit-mode/+merge/241226 Here's the complete app code: http://bazaar.launchpad.net/~remi

Re: [Development] ListView.positionViewAtIndex() seems to be unreliable during object initialization

2014-06-02 Thread Michael Zanetti
Hi, I think this is related to a similar issue I've been running into. We identified it to be related to the snapping of the ListView which makes it snap to somewhere else then one would expect for the initial positioning. In your example there seems to be an issue that you set snapMode to Lis

Re: [Development] QtLocation offline Navigation support

2013-10-28 Thread Michael Zanetti
On Monday 28 October 2013 07:34:08 Thiago Macieira wrote: > On segunda-feira, 28 de outubro de 2013 12:53:53, John Layt wrote: > > Until QtLocation does offer offline maps and navigation, you may want > > to consider Marble (http://marble.kde.org) which besides being a cool > > mapping app also pro

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Michael Zanetti
On Tuesday 01 October 2013 12:25:37 Kate Alhola wrote: > On Tue, Oct 1, 2013 at 11:23 AM, Michael Zanetti < > > michael.zane...@canonical.com> wrote: > > On Monday 30 September 2013 13:09:53 Thiago Macieira wrote: > > > On segunda-feira, 30 de setembro de 2

Re: [Development] Bluetooth and NFC vs Reference Platforms

2013-10-01 Thread Michael Zanetti
On Monday 30 September 2013 13:09:53 Thiago Macieira wrote: > On segunda-feira, 30 de setembro de 2013 19:39:53, Knoll Lars wrote: > > >As far as I know from my colleague, it misses some necessary API -- at > > >least the connection state changes notification and device disappearing > > >notificati