Customize Slider control
Well it looks like you can’t even modify this function using a SliderStyle. You’ll have to create a custom Slider which looks like the Controls Slider, kind of like the one in the example you providet...
View Articleanimation for parent/child on click (dynamic target)
so, is it possible to connect animation to target that was clicked? i mean something like target: context.find('Image') etc example, how to make same property animation for several elements, but only...
View ArticleLocation of the sources for tutorial "Getting Started Programming with QML"
I cannot find the sources for this tutorial. I found this post on the forums from 2010 [qt-project.org] but unfortuantely I still cannot find it! I’ve cloned the Qt repo, but I think I have the main...
View Articleanimation for parent/child on click (dynamic target)
You’re welcome, sadly i don’t know of a method for that. Target accesses it’s value so you’ll have to pass is directly. I have tried to pass an component to a property var and property alias, which...
View ArticleSend QImage from C++ to QML via QQuickImageProvider or using a signal
My C++ class receives signals that carry a QImage and I wish to update a corresponding QML image. The QQuickImageProvider seems unsuitable as it only allows the QML to pull the image across. So maybe I...
View ArticleQQmlApplicationEngine/QQuickWindow slower than qmlscene
I have an application that sets some dynamic properties in a qml scene. The qml document has several nested XmlListModels. When the window is shown, the data seems to stream in and layout slowly, while...
View ArticleJson array and qml
Hi. I have a little problem. This is the Json: {"therainman":{"id":166365,"name":"The Rain...
View ArticleLocation of the sources for tutorial "Getting Started Programming with QML"
Glad you found them. IIRC, there is an option for “source files” that can be checked/unchecked. The open-source and commercial versions of Qt use exactly the same documentation. The commercial-only...
View ArticleHow to create tray icon in QtQuick application
Hello and welcome to devnet, for me, it looks like there is an include missing or you are including the wrong header? Could you please provide us the code on how you create your tray icon?
View ArticleAccessing properties of button style from button
You’re welcome, i’m sorry that i couldn’t help you out more. style: and background: are properties, so the problem might be the accessing of a component which is the value of these properties?
View Articleqmlscene leaking memory on simple qml file
HI All, I got this simple qml file and qmlsceen is leaking memory while the image is bouncing around. This is on windows 64bit OpenGL installed from qt-opensource-windows-x86-1.5.0-2-online.exe the qml...
View ArticleShare repo between win and linux?
Hi, I have a QML project I’m working on. It is setup as a c++/QML project in Creator but I have done all the coding in QML. I use mercurial to store the project out on BitBucket. Up until now I have...
View ArticleShare repo between win and linux?
Qt has nothing with subversion programs. It will work even without installed mercurial client. You can convert to other repo type you want, etc. Just clone it and that’s all. All you need is compiler,...
View Article[Solved] Send QImage from C++ to QML via QQuickImageProvider or using a signal
Thanks for your suggestions guys. I had thought about a signal then a getImage via a provider, but wasn’t clear how to refresh with a new image for the same id. That link suggested how to overcome...
View ArticleQML program not working via remoteDesktop
e-em.. you can play games with current RDP. OpenGL is not supported on windows RDP, but DirectX is. what do you mean under “doesn’t work” ?
View ArticleQ_PROPERTY not highlighted in Creator
same message, no such member. i also changed private variable to p_language so qproperty has unique name, but still no sense to me About “In C++ code, compiler error “‘class...
View ArticleMiss cell in Grid
Hello. How i can miss a cell in Grid? For example, i need empty Cell 1 & 2.
View ArticleMiss cell in Grid
Why don’t you try something like the following? import QtQuick 2.2 Rectangle { id: root width: 400 height: 400 GridView { ...
View ArticleHow Can i use QWindow's setIcon public method in Window type in Qml?
hi guys i searched but all topics was about setIcon in C++, i want to know that is there any way to set icon for a window in QML file? for example in a Window type? i know how using signals of QWindow...
View ArticleCustom QuickItems not visual in designer
Hello Qt developers, The last few days I have spent developing a application that involves many custom QuickItems (both developed in C++ and QML). As the application is indented to be used also by non...
View Article