And to make the code cleaner one could do:
test.js
var rectComponent = null
var rects = new Object()
function createRect (color)
{
if (!rectComponent) rectComponent = Qt.createComponent("Rect.qml")
if(rectComponent.status == Component.Ready)
{
var ret = r
> I was wondering if there is a way to set the cache control within qml.
> I would like to set the control to QNetworkRequest::PreferCache as I
> know the data will not change on my server.
Do you control the server? If so, publishing a reasonable Expires header on the
content should work (with t
I was wondering if there is a way to set the cache control within qml.
I would like to set the control to QNetworkRequest::PreferCache as I
know the data will not change on my server.
Thanks,
Mike
___
Qt-qml mailing list
Qt-qml@trolltech.com
http://list
Hi,
On 03/08/2010, at 4:55 AM, ext Jan Ekholm wrote:
> I was recommended to make a C++ QDeclarativeItem subclass for my game map
> tiles to get better performance. This worked well
Given the simplicity of the QML tile (from http://gitorious.org/tactics), I'm a
bit surprised that using a C++ ite
Hi-
I've been playing around with QML's Webkit, and tried to enable flash. Here is
the QML code I tested:
-
import Qt 4.7
import QtWebKit 1.0
Rectangle {
width: webView.width
height: webView.height
WebView {
id: webView
width: 640
height: 48
At least doing the binding via two new properties work like this:
Rect.qml
=
import Qt 4.7
Rectangle {
id: rectangle
width: 50
height: 24
border.color:"Gainsboro"
color: "white"
}
and the main qml file:
==
import Qt 4.7
Rectangle {
id: scene
wi
Put it here for others to see;
http://developer.qt.nokia.com/forums/viewthread/452/
On Aug 3, 2010, at 3:01 PM, ext henrik.ha...@nokia.com wrote:
> Hi Paul,
>
>
> my spontaneous take on a good route through DevDays 2010 sessions for those
> focusing 100% on Qt Quick)
>
>
> Sessions relev
Hi Paul,
my spontaneous take on a good route through DevDays 2010 sessions for those
focusing 100% on Qt Quick)
Sessions relevant for QtQuick / QML / QtDeclarative;
Training (Day 0):
All Day Qt Quick for C++ Developers:
http://qt.nokia.com/qtdevdays2010/training
Tech sessions (Day 1):
I have one problem with dynamiccaly binding, I checked the documentation, but
has not found needed information. If you have a time, please help me, because I
wish to write the program with use qml.
Simple example:
//Rect element Rect.qml
//Rectangle with binding elements for height and width pr
Note that we're also planning to do something similar in Qt Components, i.e.
that runinng a QML App on MeeGo actually uses the relevant MComponentData etc
and allows integration with the window chrome as described in
http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-31
Henrik
On Jul 13, 2010,
On Tuesday 03 August 2010 09:51:13 michael.bras...@nokia.com wrote:
> Hi,
>
> On 03/08/2010, at 4:27 PM, ext Jan Ekholm wrote:
> > On Tuesday 03 August 2010 04:55:46 Gregory Schlomoff wrote:
> >> Hello !
> >>
> >> You may want to have a look at our code for drag and drop, it's working
> >> well:
11 matches
Mail list logo