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
106
votes
5 answers

Qt Quick vs. Qt Widget

I am new to Qt and don't quite understand the difference between a Qt Quick Project and a Qt Widget Project. I am hoping to create a program that draws a lattice of hexagons that the user can rotate and shear, as well as pan around and zoom in and…
Anthony
  • 8,570
  • 3
  • 38
  • 46
88
votes
4 answers

Qt Designer vs Qt Quick Designer vs Qt Creator?

I have seen references to all three of these applications on various parts of the Qt website but am completely unclear as to the exact differences between them and whether they are actually separate things or just different names for the same thing,…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
84
votes
2 answers

Difference between qt qml and qt quick

I'm confused with QML, QtQuick 1.0 and QtQuick 2.0. What's the difference between them? I use QtCreator 2.8.1 based on Qt 5.1.1. I want to develop a desktop program, which technology should I use?
骑天大圣
  • 854
  • 1
  • 6
  • 8
32
votes
3 answers

Does Python go well with QML (Qt-Quick)?

I am a beginner in Qt-Quick. I am not aware of Qt which is a basis for QML. And also I'm not familiar with C++ which is again main supported language for both Qt and QML. I'm aware JS can do a lot of logic in QML layer itself. But if we need…
inblueswithu
  • 953
  • 2
  • 18
  • 29
31
votes
5 answers

How to define a "template" with child placeholders in QML?

I really like QML. I like how I can define components (comparable to classes) and their properties, and instantiate them from somewhere else (comparable to objects). I can define, let's say, a button, having some look and feel, and a label text on…
leemes
  • 44,967
  • 21
  • 135
  • 183
27
votes
5 answers

QML Keys.onEnterPressed issue

I have a QtQuick project for Desktop. It is very simple: // import QtQuick 1.0 // to target S60 5th Edition or Maemo 5 import QtQuick 1.1 Rectangle { width: 360 height: 360 Grid { id: xGrid width: parent.width …
nvcnvn
  • 4,991
  • 8
  • 49
  • 77
26
votes
2 answers

Clear QML anchor

I have a MouseArea that I want to start off centered and then have an absolute position once the up/down/left/right keys are pressed. My problem is that I don't know how to clear the anchor on the MouseArea so that I can specify an absolute…
Mitch
  • 23,716
  • 9
  • 83
  • 122
25
votes
4 answers

How to make a transparent window with Qt Quick?

Is there a way to make the window of a qml application transparent? I'm looking for a detailed description on how to draw simple shapes with qml while making the window of the application transparent, as well as the background. A working source code…
karlphillip
  • 92,053
  • 36
  • 243
  • 426
24
votes
2 answers

How to access the properties of a Repeater's children in QML?

Can you tell me for below code that is there any way to change the imgx element properties. I have to change imgx.x value using javascript. Or is there any other way? I search qt docs but not helpfull. Thanks. Row { Repeater { id:mmm …
serkan gezer
  • 429
  • 1
  • 5
  • 8
23
votes
2 answers

QML Code Coverage Analysis

Are there any tools for performing code coverage analysis on QML code? Is such a question even applicable to a declarative language like QML?
Paul Carlisle
  • 415
  • 1
  • 5
  • 11
22
votes
1 answer

Does QML support access specifiers like Private for properties?

I just want to know do we have any concept access specifiers like private property in QML as we have in C++. If not if would like to know in case i have about 10 properties in my QML component but i have to limit the access to only 2 properties. how…
DNamto
  • 1,342
  • 1
  • 21
  • 42
20
votes
5 answers

QML - tracking global position of a component

I would like to track a global position of an object (or relative to one of it's ancestors) and bind it to some other item's position. I was thinking about using mapFromItem as follows: SomeObject { x: ancestor.mapFromItem(trackedObject,…
Konrad Madej
  • 1,271
  • 1
  • 11
  • 19
19
votes
7 answers

Qml text wrap (max width)

I would like to put text inside a bubble, and I want that my bubble be equal to the text width, but if the text length is too long, I would like the text to wrap automatically and be equal to the parent width. This code works but the text is not…
NicoMinsk
  • 1,716
  • 6
  • 28
  • 53
19
votes
4 answers

QML window resize/move flicker

I'm developing a simple QML application right now and I noticed that resizing and moving a QML window generates an ugly flicker compared to a QtWidgets window, for instance. So I created 2 test applications to show the…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
19
votes
1 answer

What's the difference between QQuickView and QQuickWindow?

I am currently working with Qt 5.2.1... and I have a (maybe stupid?) question: What is the difference between QQuickView and QQuickWindow? I read the documentation but it is still not clear to me...
Morix Dev
  • 2,700
  • 1
  • 28
  • 49
1
2 3
58 59