[Qt-qml] How to spawn N8 Apps from within QML?

2010-11-08 Thread Andrew.Ratcliff
How would I spawn other Symbian (N8) applications like Messaging, Contacts etc. from within my QML? ___ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml

[Qt-qml] How get informations from a qml-object ?

2010-11-08 Thread Thomas PABST
Hi, I recently discover the new QML language. I try to find the better way to make modular software. I currently trying to find how to get value of variables without entering the same value twice in another item, for example the size of the main screen. I would like to get the value of variables

Re: [Qt-qml] How get informations from a qml-object ?

2010-11-08 Thread Juha Turunen
Hi Thomas, If the item you want to refer to has an id (not dynamically created) you can give the rootitem in your main.qml and id and then simply refer to it or bind other properties to it by it's id. For example: First.qml: import Qt 4.7 Item { id: screen width: 500 height: 300

[Qt-qml] Change property of dynamically created component

2010-11-08 Thread shiping.ji
Hi, We have a QML with two states and one loader component. In state2, a new component yellowRectComponent is created by the loader. In state3, we'd like to modify this newly created component's properties, but it doesn't seem to work (the new component creation is successful though). Do you

Re: [Qt-qml] How to spawn N8 Apps from within QML?

2010-11-08 Thread Charley Bay
Niels spaketh: Seems like QtQuick/QML ought to have a declarative subprocess facility as well. (Or maybe it does and i didn't see it documented anywhere?) This would allow launching of subprocesses asynchronously, using declarative statements to handle changing application state based on

Re: [Qt-qml] Change property of dynamically created component

2010-11-08 Thread martin.jones
There's nothing wrong with this in concept. Could you provide a small self-contained example of what you've tried? Martin. -Original Message- From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On Behalf Of Ji Shiping (Nokia-MS/Espoo) Sent: Tuesday, 9 November

[Qt-qml] QtQuick not installed

2010-11-08 Thread Mark S. Townsley
Hi: I am fairly new to QML. I just did a simple Rectangle but QmlViewer says module QtQuick is not installed on the line import QtQuick 1.0. Isn't QtQuick module pretty basic? I am on a macbook, is there anything I need to set in the environment? Thanks Mark

Re: [Qt-qml] How to spawn N8 Apps from within QML?

2010-11-08 Thread Charley Bay
Martin spaketh: So who will add the suggestion? I win. ;-)) http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-236 --charley ___ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml

Re: [Qt-qml] QML Listmodel signal parameters

2010-11-08 Thread bea.lam
Hi Christian, On 08/11/2010, at 8:32 PM, ext ext-christian@nokia.com wrote: The ListModel in QML has a number of signals like: onItemsInserted onItemsChanged onItemsRemoved etc… Is there any way to know which items have actually been changed? I can’t find any documentation on

Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread michael.brasser
Hi, On 06/11/2010, at 7:17 AM, ext Tico Ballagas wrote: I was trying to create a basic QML Webkit + Flickable proof of concept. import Qt 4.7 import QtWebKit 2.0 Flickable{ width: 640; height: 480 contentWidth: webView.width contentHeight: webView.height WebView {

Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread tico.ballagas
Hmm. It looks like it also works if I just use constants for the preferredWidth / preferredHeight: import Qt 4.7 import QtWebKit 1.0 Flickable{ width: 640; height:480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView

Re: [Qt-qml] Basic QML Webkit + Flickable not working

2010-11-08 Thread Tico Ballagas
Looks like we were revisiting this at the same time. Yes, the following works correctly: import Qt 4.7 import QtWebKit 1.0 Flickable{ id: myflickable width: 640; height:480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView

Re: [Qt-qml] Few beginner's questions about QML

2010-11-08 Thread michael.brasser
Hi, On 06/11/2010, at 1:12 AM, ext Jerzy Chalupski wrote: I've been reading about and playing with Qt Quick for the last few days and I have some questions: 1. I've always thought QML was supposed to be used strictly for presentation layer of application, but in declarative examples and

Re: [Qt-qml] Change property of dynamically created component

2010-11-08 Thread shiping.ji
Hi, Forgot the attachment, here it comes :) BR, Shiping -Original Message- From: Jones Martin (Nokia-MS-Qt/Brisbane) Sent: 09 November, 2010 01:05 To: Ji Shiping (Nokia-MS/Espoo); qt-qml@trolltech.com Subject: RE: Change property of dynamically created component There's nothing wrong