Loading a large list model with a WorkerScript
I am trying to use a WorkerScript to load up a list model with a very large data set. Something like: WorkerScript.onMessage = function(msg) { if (msg.action == 'append')...
View ArticleBlur effect for Rectangle
Hi guys… I need to put a blur affect to a rectangle qml object. I saw the example about FastBlur effect, but it’s work only for images… my code look like this and it’s doesn’t work: Rectangle{...
View ArticleLoading a large list model with a WorkerScript
It also seems like you can’t call clear() or append() on the ListModel from the QML when you have a WorkerScript. Even with judicious use of sync() the model and view still get out of sorts.
View ArticleHow to dynamic display & control ComboBox data from a XML file using...
ohm… After some study. Maybe I should use the QAbstractItemModel ? Only QML thinks can’t achieve my requirement. And, according to parse XML, I have found this Simple DOM Model Example [qt-project.org]...
View ArticleMultiPointTouchArea don't work, with official example
But, my question is, why qt developers decided to dont handle mouse events by MultiPointTouchArea ? I have resistive laptop with single-touch and it emulates mouse, so MultiPointTouchArea dont work. I...
View ArticleSave image with whatever on the image
HI, I Display an image in the qml window. I place two buttons on the image. I want to save the whole image with buttons. Is there any options in QT. Also I place an image on the loaded image and I want...
View ArticleQML serialization for saving whatever on the image
I have a QML application in which I create box (Rectangles) – each box can have other image – now I need to save the whole box with image into an image file. so I could load and reuse it later. I...
View ArticleListView, PathView, GridView multiple instance touch event support
hello guys, i’am working on an multitouch application launched on a big touch table. This project is a multi-user oriented project for collaborative work. As the title said we work with multiple...
View ArticleSave image with whatever on the image
grabWindow and then cut the image grabbed. http://qt-project.org/doc/qt-5/qquickwindow.html#grabWindow
View ArticlePolling for SDL events in a custom QObject-derived C++ class?
If the API that you are using for polling events is blocking, then a thread is the only option. Otherwise you can install a even filter at either the QApplication or your top level widget and do you...
View ArticleBlur effect for Rectangle
because the rectangle can be in any place over my application, so, I can’t have an exactly component as source…. That has nothing to do with the blur effect, it still needs to be applied over your...
View Articleseg fault: WorkerScript.onMessage called after destructor
I’ve started seeing a segmentation fault after adding a WorkerScript to load my ListModel. Rectangle { Component.onDestruction: console.log('onDestruction') ...
View ArticleHow to set individual combo boxes currentindex?
Hello,I have some question about set the combobox currentindex. I write some code like this ListModel {id: author1} //data may append from other model TableView { model:...
View ArticleHow to get all the elements of qml file dynamically in C++ class
I have one qml file. I want to access all the elements and their property in c++ file dynamically. How i can get it. Its very helpful anybody suggest idea. I am using QtQuick1.0 with Qt version 5.2.1...
View ArticleHow to get all the elements of qml file dynamically in C++ class
Is it enough for you: http://qt-project.org/doc/qt-5/qtqml-cppintegration-interactqmlfromcpp.html ?
View ArticleQML ScreenSaver element in Qt 5.x?
I am trying to search for…it’s difficult, many times official documentation is very lacking! Where does this example work on? scrensaver [qt-project.org] I am trying to achieve this on my Qt 5.x...
View Articleseg fault: WorkerScript.onMessage called after destructor
Filed a bug: https://bugreports.qt-project.org/browse/QTBUG-38863 Loader and WorkerScript don’t work well together.
View ArticleRe-size Image
Hi, I need to re-size an image as we do in ms-word or paint(on dragging diagonal,vertical,horizontal).How can i achieve in Qml. Thanks In Advance
View ArticleQML ScreenSaver element in Qt 5.x?
Hi, with old version I was speaking about Qt 4.7 Meego Harmattan…so it is not suitable for android and iOS. Compass is not supported yet and this is a little bit stupid since is a core component on...
View Article