'Repeater' not displaying the data from its DataModel in fetched sequence
Hello, While working with Qt5.0.2, we are encountering a strange issue of ‘Repeater’ not displaying the data from its DataModel in given sequence. Below is the DataModel of the repeater that should be...
View ArticleBinding in a looping Sequential Animation doesn't work?
Check out this code: SequentialAnimation on coord { NumberAnimation { to: topw.width; duration:2000 ; easing.type:...
View Article[SOLVED] Transition in a row works only once.
Hi all, Here the code : import QtQuick 2.0 Rectangle { width: 200 height: 50 Row { ...
View Article[SOLVED] Transition in a row works only once.
I found a solution : import QtQuick 2.0 Rectangle { width: 200 height: 50 Row { ...
View ArticleEmbedding QX11EmbedContainer (via QGraphicsProxyWidget) in QML - possible?
Wondering this myself as I have come across this problem in the last few days. Still searching but the crux of the issue appears to be that window id’s become invalid for the QWidget once its added to...
View ArticleAccessing TabView component (accessing children properties of component)
There are several ways to do this based on scoping rules. One solution is for instance to share root properties that your text fields update when modified or accepted. import QtQuick.Controls 1.1...
View ArticleMultiPointTouchArea not working?
I can’t get a simple application of MultiPointTouchArea to work. My touch screen works perfectly, and I am able to create mouse events and touch events with it, so that is not the problem. Here is the...
View ArticleMultiPointTouchArea not working?
Problem solved: my touch screen was the issue, someone in the office switched it out accidentally.
View ArticleQtQuick 2 application crash
I assume the Q_PROPERTY(SubClass sub…) was actually Q_PROPERTY(SubClass *sub…) as required for QObjects exposed to QML? The backtrace suggests that the crash actually occurs due to a bound signal...
View ArticleQSGVertexColorMaterial alpha value not working?
I have a custom geometry that uses a QSGVertexColorMaterial to give each vertex in the geometry a rgba value. The rbg value is set as expected, but the alpha value has no affect if there is a...
View ArticleHow to get Screen Coordinates of a QML Item?
I recall doing this before. I believe you want myItem.mapToItem(null, 0, 0) Which is the top left corner of myItem relative to myItem. If you use myItem.mapToItem(null, myItem.x, myItem.y) myItem.x and...
View ArticleNon Rectangular Mouse Area. (Triangular or polygon) [Solved]
Is there a way to catch mouse event in a triangular or polygon area? At least a workaround. I’m using Qt Quick 2
View ArticleNon Rectangular Mouse Area. (Triangular or polygon) [Solved]
Wonderful, it works! Thank you, very much.
View Articlehowto protect my app from xml bombs?
My Qt app displays Html text that is supplied by external users, and I can’t control what content it will get to display. In order to prevent my app from crashing because of a Xml bomb (e.g. blillion...
View ArticleQt Quick 2.0 how to publish viewer class to QML [ SOLVED ]
Hi! I’m developing desktop app using Qt Quick 2.0 and I need to be able to access viewer class through QML in order to hide/minimise application ( I’m building app with custom window decorations ). I...
View ArticleQt Quick 2.0 how to publish viewer class to QML [ SOLVED ]
Pleasure. Happy further coding!
View ArticleHow to animate "width" property of ListView Item ?
I have following code which is supposed to animate the “width” property of the Item which is being added to a ListView. But it doesn’t work. However if i replace the “width” property with “x” or...
View ArticleMulti-User Touch input on Multiple Areas
I’m thinking about a multi-user touch-input environment. I’ve done some basic testing with my touch display, and while I can happily use 10 fingers for some of the demos, doing something like creating...
View ArticleExchange data between "pure" C++ and QML
Hi I’m making a small test application which has a QML UI and some “pure” c++ logic (by which i mean it doesn’t depend on the Qt framework). On my model side, I have a Workflow class which has a vector...
View ArticleRotated Quick WebView Clipping Problem
When I free rotate a Quick 2.1 WebView it doesn’t seem to clip correctly. If the webpage in question is of the same size as the Quick widget, then everything looks fine. I see a proper rectangle...
View Article