Yes, that makes sense. QGraphicsView uses the press event to determine which
item will get subsequent mouse events.
BR,
Martin.
From: Wangbing Kevin (Nokia-MS/Beijing)
Sent: Tuesday, 14 December 2010 4:52 PM
To: Jones Martin (Nokia-MS-Qt/Brisbane); qt-qml@trolltech.com
Subject: RE: How to simul
We handle mouse release in our tests without any problem. Are you able to
provide a runable example?
BR,
Martin.
From: Wangbing Kevin (Nokia-MS/Beijing)
Sent: Tuesday, 14 December 2010 2:19 PM
To: Jones Martin (Nokia-MS-Qt/Brisbane); qt-qml@trolltech.com
Subject: RE: How to simulate mouse event
We do this in the MouseArea autotests:
QGraphicsScene *scene = canvas->scene();
QGraphicsSceneMouseEvent pressEvent(QEvent::GraphicsSceneMousePress);
pressEvent.setScenePos(QPointF(100, 100));
pressEvent.setButton(Qt::LeftButton);
pressEvent.setButtons(Qt::LeftButton);
QApp
This one I can reproduce. I've reopened the bug.
http://bugreports.qt.nokia.com/browse/QTBUG-15926
Thanks,
Martin.
> -Original Message-
> From: ext Michael Dippold [mailto:m...@dippold.com]
> Sent: Friday, 10 December 2010 2:30 AM
> To: Jones Martin (Nokia-MS-Qt/Brisbane)
> Cc: qt-qml@
This behavior is inherited from QGraphicsView. I don't know why it is this
way. Perhaps the QGraphicsView documentation has some hints.
BR,
Martin.
> -Original Message-
> From: ext Adriano Rezende [mailto:adriano.reze...@openbossa.org]
> Sent: Friday, 10 December 2010 12:02 AM
> To: Pa
Log a bug. It would be good if you could suggest where the docs are lacking -
i.e. where you started looking when this didn't work as expected. The
"accepted" behavior is documented in the MouseArea signal documentation.
BR,
Martin.
> -Original Message-
> From: ext Halton Huo [mailto:
You need to accept in onPressed. accepted is ignored for any other event.
BR,
Martin.
> -Original Message-
> From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
> Behalf Of ext Halton Huo
> Sent: Wednesday, 8 December 2010 11:42 AM
> To: Adriano Rezende
> Cc: qt
This is not reproducible using the current Qt 4.7 branch. The 4.7 branch from
http://qt.gitorious.org/qt should always build and run.
BR,
Martin.
> -Original Message-
> From: ext Michael Dippold [mailto:m...@dippold.com]
> Sent: Wednesday, 8 December 2010 2:55 AM
> To: Jones Martin (Nok
Which version of Qt are you using? There have been some fixes in PathView
which your bug may be related to. I suggest trying the latest qt/4.7 from git.
If you still see the problem then file a bug with an example that can be used
to reproduce it (an unreliable example is better than none).
B
Right now if you want to access data in your model in script, you will need to
add methods to your model to allow that.
For the specific case of showing data from the currentItem, you can expose the
model data, e.g.
ListView {
Id: list
delegate: Text {
property variant data: mod
You may be able to do this via QGraphicsProxyWidget, but as the documentation
states: "This class is provided for convenience when bridging QWidgets and
QGraphicsItems, it should not be used for high-performance scenarios". If you
are able then it is better to port the widget's functionality to
There was no deliberate change and the
examples/declarative/ui-components/scrollbar example appears to behave
correctly. Can you provide an example of the problem?
BR,
Martin.
> -Original Message-
> From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
> Behalf O
The documentation should be sufficient. If it is not then that is a bug.
BR,
Martin
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Thomas PABST
Sent: Friday, 26 November 2010 1:05 AM
To: qt-qml@trolltech.com
Subject: Re: [Qt-qml] work with folder proper
The parent folder is easy to get, since there is a parentFolder property.
There is no way to get a directory in the current folder, short of using the
model in a repeater, for example. FolderListModel is quite simple and really
only designed to allow selecting a file from a list. You could ad
Unfortunately there is no easy way to add setData() to QDeclarativeView.
You'll probably have to make your own QGraphicsView subclass, since
QDeclarativeViewPrivate is not exported.
You can create an object from a QML string using Qt.createQmlObject(string qml,
object parent, string filepath)
QGraphicsItem::itemChange() may do what you want:
http://doc.qt.nokia.com/4.7-snapshot/qgraphicsitem.html#itemChange
Martin.
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Charley Bay
Sent: Tuesday, 23 November 2010 12:51 PM
To: qt-qml@trolltech.com
Su
The ListView has no height so only one delegate is created. Add anchors.fill:
parent to the ListView.
BR,
Martin.
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Thomas PABST
Sent: Tuesday, 23 November 2010 1:19 AM
To: qt-qml@trolltech.com
Subject: [Qt
There is no way to position the footer manually. If it is appearing anywhere
but directly after the last item it is a bug. I think you'll need to work out
how it is being triggered and log a bug.
BR,
Martin.
> -Original Message-
> From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun
This will not work, or worse, has undefined behavior. ListView does not
instantiate all of its elements - only those that are needed to fill the
visible area of the view. If you define the view's height to be the height of
its children, but the number of children needed depends upon the height
Definitely a bug. Please report at http://bugreports.qt.nokia.com
Martin.
> -Original Message-
> From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
> Behalf Of ext Johannes P
> Sent: Thursday, 11 November 2010 11:18 PM
> To: qt-qml@trolltech.com
> Subject: [Qt-qm
Hi Sampo,
This sounds like a bug to me, so I suggest logging a bug on
http://bugreports.qt.nokia.com
You may get more help on the qt-mobility-feedb...@trolltech.com mailing list.
Martin.
> -Original Message-
> From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
QtQuick 1.0 starts with Qt 4.7.1 (to be released soon). Use import Qt 4.7
until then.
Martin.
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Mark S. Townsley
Sent: Tuesday, 9 November 2010 10:39 AM
To: qt-qml@trolltech.com
Subject: [Qt-qml] QtQuick no
So who will add the suggestion?
Martin.
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Charley Bay
Sent: Tuesday, 9 November 2010 7:05 AM
To: Niels Mayer
Cc: qt-qml@trolltech.com; Ratcliff Andrew (Nokia-MS/Oulu)
Subject: Re: [Qt-qml] How to spawn N8 Ap
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 Novemb
Only properties in the root item of a component are accessible, so you need to
expose mainAnimation via an alias, for example:
Rectangle {
id: redRect
property alias animation: mainAnimation
SequentialAnimation {
id: mainAnimation
}
}
Martin.
__
It may be a combination of this change and others. There have been a number of
changes to this code since the rc was released.
If you still see QTBUG-13628 I'd suggest getting the qt 4.7 branch from
gitorious. If you have problems after that let me know and I'll reopen it.
Martin.
_
I'm planning to push it to 4.7 on Monday.
Martin.
From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf Of
Cunha Leo (Nokia-MS-Qt/Oslo)
Sent: Friday, 3 September 2010 8:13 PM
To: qt-qml@trolltech.com
Subject: Re: [Qt-qml] Avoid bindi
This is a bug. The attached patch fixes it.
BR,
Martin.
-Original Message-
From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On
Behalf Of ext Adriano Rezende
Sent: Friday, 3 September 2010 3:01 AM
To: Cunha Leo (Nokia-MS-Qt/Oslo)
Cc: qt-qml@trolltech.com
Subject:
smooth: true
Martin.
From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf Of
ext Shady Zayat [sh...@zoogylabs.com]
Sent: Wednesday, 4 August 2010 7:23 PM
To: qt-qml@trolltech.com
Subject: [Qt-qml] Antialiasing
Is there a was to enab
Gestures are not built by default. Once I had Qt built, I did:
cd src\imports\gestures
nmake
And the following files were placed in imports\Qt\labs\gestures (I built both
release and debug)
gesturesqmlplugin.dll
gesturesqmlplugin.exp
gesturesqmlplugin.lib
gesturesqmlplugind.dll
gesturesqmlplug
30 matches
Mail list logo