Questions tagged [qt-quick]

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Declarative is a runtime interpreter that reads the Qt declarative user interface definition, QML data, and displays the UI that it describes. The QML syntax allows using JavaScript to provide the logic, and it is often used for this purpose. It is not the only way, however: logic can be written with native code as well.

Qt Quick and QML are officially supported in Qt 4.7 (with Qt Creator 2.1), and it is a commercial option in mobile applications when Qt 4.7 is available for deployment in Symbian and Maemo/MeeGo devices.

Qt Quick provides everything needed to create a rich application with a fluid and dynamic user interface. It enables user interfaces to be built around the behavior of user interface components and how they connect with one another, and it provides a visual canvas with its own coordinate system and rendering engine. Animation and transition effects are a first class concept in Qt Quick, and visual effects can be supplemented through specialised components for particle and shader effects.

Video Course

Pluralsight offers a course, Qt Quick Fundamentals, which specifically targets learning Qt Quick. It is part 2 of a three part course on the Qt framework.

Pluralsight is subscription based, but if you're only interested in Qt or Qt Quick you can send the author @todgentille a private tweet and request a week long VIP pass. You'll get unlimited access to the higher subscription level for a week that allows viewing online and offline and you can download the course materials.

884 questions
0
votes
2 answers

how to load bunch of images to the Image in QML?

I would like to load a few images to the Image object in QML. I want to do it one after another in a loop I think with some delay, because it should pretend to look like an animation. Im new in Qt and QML, so can anybody help me how to begin or…
user1986301
0
votes
2 answers

Deploying QtQuick 2.0 Application with SVG Plugin

My application is built with Qt 5.0.1 and QtQuick 2.0. It runs just fine in Qt Creator, but I'm having trouble getting it to deploy properly. I copied the executable (Release version) into a directory on my desktop called "Project Deployment" and…
jmbeck
  • 938
  • 2
  • 11
  • 21
0
votes
4 answers

Delay of tooltip dissapear in QML

I'm writing a program where there will be some buttons and tooltips connected with them. I would like the tooltip to disappear with a delay (couple of seconds). I made my own button and my own tooltip in two separate qml files. Tooltip pops up with…
user1986301
0
votes
1 answer

dynamically change the model used as base for a qml item

Im starting to work with qtquick 1.1. And i have designed a component consisting mainly out of a pathview. Rectangle { id: pathViewElement PathView { id: pathView pathItemCount: 4 preferredHighlightBegin: 0.5 …
Donny
  • 549
  • 2
  • 10
  • 24
0
votes
1 answer

Use fancy QT Quick Effects from C++

Is there a way to use things like Shader Effects, Particles, Sprites etc. without using QT Quick ? I'd like to make use of these effects but using only C++ code in, for example, a QGraphicsView.
joekr
  • 1,543
  • 1
  • 16
  • 22
0
votes
1 answer

QML: Property Animation, the X Coordinate always back to old position [Editted]

I made an animation that the 4 rectangle is change the x position, one to another. This is the screen shot of the default position: I assume that: - picture1 = A - picture2 = B - picture3 = C - picture4 = D The position is: A B C D And…
0
votes
1 answer

how to adjust listbox width according to the models item text size in qml

I am just looking to adjust the listbox width according to the model's item text size in qml. Is it possible, any ideas.
Rajeev Sahu
  • 1,732
  • 6
  • 26
  • 39
0
votes
1 answer

QML : Flippable issue

I am trying to make a flippable clock in QML. But am not able to get the flippable effect as desired, I have referred the documentation of flip method, took that as base for further development. Tried various approaches but didn't succeed. Any idea…
DNamto
  • 1,342
  • 1
  • 21
  • 42
0
votes
2 answers

Timer not working correctly

We have to make progress bar consisting with slider, which has colour transition as the slider proceeds as shown in the figure below. I tried my hand with below logic but could not get the desired effect. Any help or suggestion how to implement the…
DNamto
  • 1,342
  • 1
  • 21
  • 42
0
votes
1 answer

AJAX in Qt Quick

I'm thinking about using Qt Quick to build desktop applications, since it looks more friendly for someone like me that is coming from web development using node.js, but is it possible to do AJAX and populate controls like a GridView only using QML?
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
0
votes
0 answers

Qt Quick application running from command line

While I am trying to run Qt Quick desktop application exe from command line, it is not showing anything except an plain empty window. But when I run from Qt creator, it works fine. Please let me know did I missed something? How to run Qt Quick…
mbr
  • 913
  • 1
  • 11
  • 22
0
votes
1 answer

QML binding item issue

I have problem in binding item in QML, for example: Rectangle{ id: thetarget width:100 height:100 } Item{ id: container MouseArea{ id:mousearea drag.target: thetarget //not work …
David To
  • 547
  • 5
  • 12
-1
votes
1 answer

Displaced ViewTransition not triggered in QML

So I have a ListView and ListModel to which I'm adding objects dynamically. I want a displaced animation to happen to when a new object is added, but from what I can see, only the add transition is triggered and the displaced transition is never…
Evan Krause
  • 147
  • 1
  • 16
-1
votes
1 answer

Using GridLayout with QAbstractModelList and Repeaters

I have following problem in QtQuick (QML). I want to display a table with data from QAbstractListModel in a table layout. I use GridlĹayout and repeaters for it: ScrollView { id: scrollView width: parent.width anchors.fill:…
-1
votes
2 answers

Qt qml Button hover color

I have a custom QML Buton as shown bellow. import QtQuick 2.15 import QtQuick.Controls 2.15 Button{ id: dashId width: 155 height: 40 implicitWidth: 155 implicitHeight: 40 text: 'hello' flat: true property color…
Chairman
  • 134
  • 1
  • 10
1 2 3
58
59