Where is the alpha of a color stored?
Hi, You can access it as follow, Component.onCompleted: { console.log(color.r, color.g, color.b, color.a) //a-alpha }
View ArticleMouse wheel behaviour in nested Flickables (Qt 5.2 vs. 5.3)
I have a big Listview, whose Item delegate contains another Listview (both horizontally scrolling). When I build my app (for Desktop) in 5.3 I can scroll both Listviews when mouse cursor is over the...
View Articlechanging property of element from other qml file
Hi, I know that there is tons of topic similar like this, I try to implement answer from them and I still have no results. I take some sample project from qt creator to play with this. I play with...
View Articleindex undefined for elements in ObjectModel?
Looks like a bug to me. The count property works but not the index.
View ArticleBest way to store downloaded XmlModel in LocalStorage with qml
The step with the db is only neccessary bcause i was not sure how to add elements to an existing xml document. I think QDomDocument does this job, so i can directly update a xml file. What about...
View Articlechanging property of element from other qml file
I don’t know about your other code. Atleast in the above code i dont see where you are assigning a value to itemUrl other than in View2.qml. AFAIK the on<property_name>Changed signal...
View Articleopengl under qml release resources
Hi! I’m planning to write some OpenGL demos with Qt and QML, but I did not find proper way to release my custom OpenGL resources. In openglunderqml example cleanup should trigger when QQuickWindow emit...
View ArticleHow to know if a property has a property binding?
Thanks. I think manually setting a bool flag when the code changes between binding and constant will do too.
View ArticleTrouble with calling a cpp method from qml
Hi every body, Actually I’m having trouble with merging both qml and c++ .My little application contains two pages at the moment and my problem is: In the first page (main.qml) whan I created an Item...
View ArticlePinchArea scale in and scale out touch coordinates
Hi, I really dont understand that will solve the problem.Consider *1st pinch: scale is 2.0 and previousScale: 0 *when we pinch again 2nd Pinch: scale is 3.0 and previousScale: 2 .so now u can say we...
View ArticleNo warning when importing directories with identically named types
If my directory structure is main.qml Controls/Button.qml ControlsEx/Button.qml and in main.qml I write import "Controls" import "ControlsEx" then...
View ArticleJavascript accessing local files in a webview?
Hi guys, I am trying to run pdf.js (a library built using js and html5 to show pdf inside a webview) in a webview but the js is not able to access local pdf files I am using Qt quick 2 How could i...
View Articlemultiple QQuickWindows and opengl context persistence
I found that turning on threaded render on Window (via QML_FORCE_THREADED_RENDERER=1 env var) forces all instances of QQuickWindow to create their own opengl context. But still wondering how to...
View ArticleNo warning when importing directories with identically named types
That would be a problem definitely. Maybe you can suggest this as a feature request to the Qt Creator developers.
View ArticleTrouble with calling a cpp method from qml
Thanks Dreehendra , but can you explain to me what are my mistakes exactly because I read integrating c++ with qml and how to extend the qml with c++ . The code that I’ve written is what I’ve...
View ArticleHow to set item at the top of screen?
Hello, i have some issue, i have an item: Item { id: pad Rectangle { id: header ...
View ArticleSlider Issue
Sure, and thanks for the welcoming :) So my app page is contained within a flickable object like this Flickable{ visible: !joinOn ...
View ArticleHow to set item at the top of screen?
I thik the UI shifting due to keyboard display is built into the OS and can’t be controlled from the application. One thing that could work is to extend the application window at the bottom: add an...
View Articledirectorys are shown twice in qrc path
Hello dear community, In my application I am only using the qrc file system. This is my approach: 1) I create a directory structure in my windows file system for my Qt Creator project....
View Article