qreator-discuss team mailing list archive
-
qreator-discuss team
-
Mailing list archive
-
Message #00058
Re: QML updates
Hi David,
If you want to do a hangout, I'm here today, tomorrow and then again on
sunday.
We can do it anytime, since I do homeoffice without fixed hours at the
moment.
Cheers,
Stefan
On Mon, Apr 29, 2013 at 8:51 AM, Stefan Schwarzburg <
stefan.schwarzburg@xxxxxxxxx> wrote:
> Hi David
>
> On Sun, Apr 28, 2013 at 5:36 PM, David Planella <david.planella@xxxxxxxxxx
> > wrote:
>
>> Al 17/03/13 09:06, En/na Stefan Schwarzburg ha escrit:
>> > Hi David,
>> >
>> > On Fri, Mar 15, 2013 at 3:18 PM, Stefan Schwarzburg
>> > <stefan.schwarzburg@xxxxxxxxx <mailto:stefan.schwarzburg@xxxxxxxxx>>
>> wrote:
>> >
>> > Hi David,
>> >
>> > In the last two days I had some time and had a closer look at the
>> > qml code you have written for Qreator.
>> > I really like it a lot and have started to use it as a basis for
>> > some tests of my own [1].
>> >
>> > I think in the long run, we should start a new series in launchpad
>> > and continue there.
>> >
>> > I'm not really sure that I have really understood all the concepts
>> > of QML, especially how to work around the limitations..., but I have
>> > nevertheless started to organize your code a little and add some
>> > features...
>> >
>> > 1) qrcode.js
>> > I have extended qrcode.js to allow for qrcodes up to size 40
>> > (177x177 modules) instead of only size 10.
>> > I have added a custom excetion that can be caught in order to
>> > increase the size if the text does not fit the current size.
>> > With those two changes, we now start at the smallest version and
>> > upgrade the size dynamically...
>> >
>> > 2) directory structure
>> > I have reorganized a lot of code. All longer functions are now in
>> > 'coffee/qreator.coffee' and get compiled to 'js/qreator.js'
>> > QR code pages have their own folder and one file per code, they
>> > register themselves in a global model.
>> > All other pages are also single files in a different folder.
>> >
>> > 3) About / credits
>> > I have added a few pages
>> >
>> > 4) Theming
>> > I have slightly modified your already existing theming capabilities,
>> > added color-themes and dot themes as separate entities, both of
>> > which can be selected.
>> > The current color theme and the current dot theme are stored in a
>> > Qt.LocalStorage database and are persistent.
>> > Every user will eventually be able to add colorthemes themselves (as
>> > soon as there is a color picker in the Ubuntu SDK).
>> >
>> > 5) maybe more...
>> >
>> > Actually, I struggled a lot with the limitations of QML and
>> > javascript. I feel like having to jump through hoops in order to get
>> > the simplest things done (e.g. triggering all qrcanvases to redraw
>> > themselves without changing any text is something I still can't
>> do...)
>> >
>> >
>> > Just an update: this automatic update is now working as well...
>> > Connecting signals to signals to functions... :-)
>> >
>>
>> That is absolutely stunning, thanks for the great work! I actually saw
>> it over the weekend before reading your e-mail.
>>
>> I'm on a plane right now and with limited time, but we should schedule a
>> call or continue the discussion on the mailing list on the week of the
>> 6th of April when I'm back.
>>
>>
> Great! I have only limited time from the 9th to the 11th, but apart from
> that I'm here.
> Lets have another call, its easier than writing...
>
>
>
>> In terms of feedback, the only think that I noticed was that your
>> functional branch had a noticeable lag in typing and the changes
>> appearing in real time in the QR code, in comparison to my demo branch.
>>
>> It might well be that the original branch was simply faster because,
>> well, it didn't do much :), but it'd be interested to know if you've
>> noticed this lag and if so, if you've got any ideas where it might come
>> from and how to overcome it.
>>
>> I have definitely noticed it, and I guess I already know where it comes
> from (I have implemented the dynamic resizing badly). It's just not
> super-easy to fix, because we have to understand the size calculation
> better as it is implemented in the library. But lets talk about this in a
> hangout.
>
> Cheers,
> Stefan
>
>
>> Thanks!
>>
>> Cheers,
>> David.
>>
>> > Cheers,
>> > Stefa
>> >
>> >
>> >
>> > Nevertheless: Its also fun to get something working, and I would
>> > really like Qreator to be ready when users actually have Ubuntu
>> > Phones in their hands...
>> >
>> > Cheers,
>> > Stefan
>> >
>> >
>> > [1] http://ubuntuone.com/1HFUhyVRZwfLWWsh7nJSQg
>> >
>> >
>> >
>> >
>>
>>
>> --
>> David Planella
>> Ubuntu App Development Liaison
>> http://gplus.to/dplanella / @dplanella
>> www.ubuntu.com / www.davidplanella.org
>>
>>
>> --
>> Mailing list: https://launchpad.net/~qreator-discuss
>> Post to : qreator-discuss@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~qreator-discuss
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
Follow ups
References