Re: [Qt-qml] Flickable height

2010-09-23 Thread Matthias Ettrich
I would have expected 450px. Matthias On Thursday 23 September 2010 14:54:59 Bastian Thierry (Nokia-MS-Qt/Oslo) wrote: > Hi, > > I’m trying to help the QML Enablers project with getting gesture area to > work on top of Flickable . The first strange thing I encountered happens > with the foll

Re: [Qt-qml] How plugin paths should work

2010-08-09 Thread Matthias Ettrich
On Monday 09 August 2010 10:09:34 ext Jyrki Hämäläinen wrote: > > Thanks Matthias, Your welcome. [...] > > The problem (as I understand it and the actual technical background may be > somewhat different) was that we tried to use pluginpath to tell where > plugins are located and then force QT

Re: [Qt-qml] How plugin paths should work

2010-08-07 Thread Matthias Ettrich
On Friday 06 August 2010 09:14:44 ext Jyrki Hämäläinen wrote: > Hello everyone, > > We are trying to build a suite of applications with QML. > Some of the applications need to share C++-plugins. > > Also to enhance the structure of the application, some applications use > subfolders to group rela

Re: [Qt-qml] Behavior vs. Follow - 4:1

2010-07-01 Thread Matthias Ettrich
On Thursday 01 July 2010 07:29:01 Brasser Michael (Nokia-D-Qt/Brisbane) wrote: [...] > > A line in the docs or simple example show how to get this > Behavior-on-startup behavior would probably be nice if we remove the > Follows. > > > Main advantage for the follow-removal: no more asymetric API

[Qt-qml] Behavior vs. Follow - 4:1

2010-06-29 Thread Matthias Ettrich
Hi, here's a summary from an irc discussion on the topic of Behavior vs. Follow. Thesis: Follow is not needed, Behavior does all we need and more. Consequence: Now that we have SmoothAnimation, all we need is SpringAnimation and then we can depricate and remove all follows (SpringFollow and Smo

[Qt-qml] env variable expansion in import, useful for styles?

2010-04-26 Thread Matthias Ettrich
Hi, attached is a small patch which adds environment variable expansion to the import statement. Rationale: this might be useful to implement different (native) component styles. You could make a module: com.mycompany.qml-ui-components which contains a C++ plugin and a bunch of files, e.g. Bu

Re: [Qt-qml] Showing text into the console

2010-04-22 Thread Matthias Ettrich
On Wednesday 21 April 2010 03:28:54 Allison Warwick (Nokia-D-Qt/Brisbane) wrote: > > print() > > Please don't use that one. It's a QtScript extension, and makes your JS > quite incompatible with browser JS (which "print" is something in the > "File" menu). > Ooops ... what stops us from remov

Re: [Qt-qml] Plugin example [was: Re: A simple, complete example of QML onvoking C++?]

2010-04-16 Thread Matthias Ettrich
Exactly what's there already. It's a working example. The import path points to the application directory when you pass -I ., it contains the sub directory com/nokia/TimeExample (which the engine derives from the uri com.nokia.TimeExample by replacing the dots with slashes), and TimeExample conta

Re: [Qt-qml] Plugin example [was: Re: A simple, complete example of QML onvoking C++?]

2010-04-16 Thread Matthias Ettrich
If you execute qml plugins.qml you should get an error message: plugins.qml:1:1: module "com.nokia.TimeExample" is not installed import com.nokia.TimeExample 1.0 // import types from the plugin If you execute with qml -I . plugins.qml it works. Matthias On Friday 16 April 2010 0

[Qt-qml] patch for type resolving

2010-04-15 Thread Matthias Ettrich
Fellow qml hackers, I wasn't too happy with type shadowing and resolving in current qml. Background: the implicit "." import has been moved to be the last import checked. This was done in order to support our previous coding convention with case insensitive file systems. Example: Foo/foo.qml

Re: [Qt-qml] Unable to use external JS file with QML

2010-04-13 Thread Matthias Ettrich
On Tuesday 13 April 2010 12:56:29 ext Jack Wootton wrote: > Hello, > > It was recommended I post this question on > qt-qml@trolltech.com after first posting it > on Forum Nokia here: > http://discussion.forum.nokia.com/forum/showthread.php?p=724730 > > QML document

Re: [Qt-qml] FW: capabilities of qml.exe

2010-04-12 Thread Matthias Ettrich
For the time being the qml deployment solution are SIS files files. We will provide a tool to simplify package creation to the minimum possible. The tool will also take care of creating a "stub" to replace qml.exe on the device, with the correct capabilities. Anything else would be a can of wor