Re: [Qt-qml] Left-to-right gradient

2010-08-23 Thread Nigel.Hietala
As a workaround you can rotate the Rectangle with 'rotation: 90' - Nigel Not yet; http://bugreports.qt.nokia.com/browse/QTBUG-7417 http://bugreports.qt.nokia.com/browse/QTBUG-7417Henrik On Aug 23, 2010, at 2:55 PM, ext Cornelius Hald wrote: Hi, is there a way to create a left-to-right

Re: [Qt-qml] Left-to-right gradient

2010-08-23 Thread Cornelius Hald
Am 23.08.2010 15:34, schrieb nigel.hiet...@nokia.com: As a workaround you can rotate the Rectangle with 'rotation: 90' Thanks, but to keep the normal anchor, height, width, etc. behavior, I thought I wrap a rotated Rectangle inside an Item. That way the Item would stile behave as expected. And

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread Cornelius Hald
Hi! Could someone reproduce the issue below? If yes, I´ll file it as bug. But there is still a (very good) chance, that I´m simply doing something wrong. Thanks! Conny Am 21.08.2010 15:51, schrieb Cornelius Hald: Hi, I'm having trouble with a ListView in combination with a

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread alan.westbrook
I just tried this on OS X 10.6 and it seems to work as you want it to. I can flick back and forth, and when I hit the black rect, it animates left or right. Alan On Aug 23, 2010, at 7:23 AM, ext Cornelius Hald wrote: Hi! Could someone reproduce the issue below? If yes, I´ll file it as

Re: [Qt-qml] draw order of GraphicsItem

2010-08-23 Thread alan.westbrook
In QML. rather than zValue, it's just z. Rectangle { z: otherItem.z + 1 } Alan On Aug 23, 2010, at 10:48 AM, ext alexis.men...@nokia.com wrote: On 23. aug. 2010, at 19.22, ext Jayesh Chaudhary wrote: Hi, I am newbie to QML. Its pretty cool. One thing that i am stuck with is

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread alan.westbrook
The QML Viewer is from a downloaded snapshot: Built on Aug 16 2010 at 03:43:44 From revision ddd3e8b1c9 What do you mean by 'the leaving rectangle'? In any case, if it's a problem on the other platforms, then it needs to be fixed if they can reproduce it. Alan On Aug 23, 2010, at 12:52

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread Cornelius Hald
- Ursprüngliche Mitteilung - The QML Viewer is from a downloaded snapshot: Built on Aug 16 2010 at 03:43:44 From revision ddd3e8b1c9 Thanks, mine is older so I'll give it a try with a more recent version tomorrow. What do you mean by 'the leaving rectangle'? I mean the

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread Martin Jones
On Tue, 24 Aug 2010 06:43:19 am ext Cornelius Hald wrote: - Ursprüngliche Mitteilung - The QML Viewer is from a downloaded snapshot: Built on Aug 16 2010 at 03:43:44 From revision ddd3e8b1c9 Thanks, mine is older so I'll give it a try with a more recent version

Re: [Qt-qml] Forcing Repaint

2010-08-23 Thread michael.brasser
The closest I can think of is calling repaint() on the QDeclarativeView. That will guarantee that the paintEvent has completed, but not that the screen has been updated. Can you say any more about what you are trying to achieve (maybe a workaround or alternative method would be possible)?

Re: [Qt-qml] scrolling a flickable to a particular location ‏

2010-08-23 Thread Martin Jones
On Tue, 24 Aug 2010 12:24:52 am ext Bartosh Wroblevksy wrote: Sorry for the flow of perhaps naive questions. But I would like to know if there is a way to scroll a flickable to a particular location programmaticaly with javascript. For a ListView they have ListView::positionViewAtIndex (

Re: [Qt-qml] Possible bug with ListView and VisualItemModel

2010-08-23 Thread Martin Jones
On Tue, 24 Aug 2010 08:49:53 am Westbrook Alan (Nokia-MS/MtView) wrote: On Aug 23, 2010, at 3:37 PM, Martin Jones wrote: On Tue, 24 Aug 2010 06:43:19 am ext Cornelius Hald wrote: - Ursprüngliche Mitteilung - The QML Viewer is from a downloaded snapshot: Built on Aug 16

Re: [Qt-qml] Left-to-right gradient

2010-08-23 Thread michael.brasser
Hi, We were actually just discussing this task yesterday here in Brisbane :-) I've added a comment to the task explaining the current status, based on the discussion: Gradients besides the vertical linear gradient can be significantly more expensive to draw. So while it's technically fairly

Re: [Qt-qml] QML element initialization

2010-08-23 Thread michael.brasser
Hi, On 17/08/2010, at 7:06 AM, ext Adriano Rezende wrote: To create wb2 object, classBegin() is called twice; in the first call parent is null, in the second call parent is not null (probably this is a bug). Yes, this is a bug -- classBegin() should only be called once. It was trivial to

Re: [Qt-qml] partial MouseArea

2010-08-23 Thread michael.brasser
On 23/08/2010, at 10:36 AM, ext Bartosh Wroblevksy wrote: I would like to set a partial MouseArea determine by real coordinates on an image. Is this possible in QML? Hi, Only Rectangular MouseAreas are supported for 4.7. http://bugreports.qt.nokia.com/browse/QTBUG-6862 is the suggestion

Re: [Qt-qml] UTF-8 vs. other encodings with XMLHttpRequest

2010-08-23 Thread bea.lam
On 20/08/2010, at 5:04 PM, ext ari.koivi...@nokia.com wrote: Hi, I've run into problems in how qml handles character encodings with XMLHttpRequest. The web service I'm using returns either a block of text with following response header content-type: text/plain; charset=iso-8859-1 or a

Re: [Qt-qml] Dynamically created items and properties

2010-08-23 Thread bea.lam
This does not seem to work too well for me. Or, well, not at all actually. What I have is: property alias connectionTarget: seenConnection.target id: dummyId states: [ State { name: UnitValid when: unit != undefined