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
0 answers

Qt Quick output is displaying incorrectly after compile

I designed a form in Qt Quick and compiled it for Android. When executed on simulated Android device the form appears completely different! I aligned the components to each other but nothing changed! (All items are in a Rectangle) Is it a good idea…
rostamiani
  • 2,859
  • 7
  • 38
  • 74
0
votes
1 answer

How to parse JSON for Qt Quick?

I am trying to do a simple programming to parse JSON message value from web to Qt Quick. The JSON message would like to parse: [ { "id": 2, "name": "yahoo", "link": "http://www.yahoo.com/", "created_by":…
Lapson Wong
  • 107
  • 11
0
votes
1 answer

What are the differences between QtQml and QtQuick?

http://doc.qt.io/qt-5/qtqml-qmlmodule.html QtQml and QtQuick seem to be different things that's why there are two separate import statements. import QtQml 2.2 import QtQuick 2.3 What are the differences between QtQml and QtQuick, and in which real…
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
1 answer

ListView.onRemove animation vs childrenRect.height

I noticed strange behaviour in ListView childrenRect.height when I am removing elements from its model with ListView.onRemove animation. When I remove all elements except the last one, childrenRect.height property is wrong, but contentHeight…
Mateusz Drost
  • 1,171
  • 10
  • 23
0
votes
1 answer

MouseArea event is propagated to its parent sibling. Why?

Here's a code snippet with current form of the code Rectangle { id: menu GridLayout { id: layout columns: 4 rows: 3 Repeater { model: ListModel {} ToolButton {} } …
alexander.sivak
  • 4,352
  • 3
  • 18
  • 27
0
votes
1 answer

Embed child in child of a custom type

I'm creating a custom type in QML that has a Column inside a GroupBox. When users of the type add components to CustomType, they should be inside the Column, not GroupBox. How can this be achieved without making extra wrapper…
Dan Watkins
  • 918
  • 9
  • 25
0
votes
1 answer

Is there a way to enable qt quick/qml doc/help in qt creator?

Qt doc was very helpful, I could always look up what methods does the certain object have, what args do they take and what do they do and return. But trying to build my app with qml is really frustrating. Not only I have to manually modify ui.qml…
Dan M.
  • 3,818
  • 1
  • 23
  • 41
0
votes
1 answer

Is it possible to detect key event in opened ComboBox?

I want to implement some kind of search in ComboBox with lots of items. It contains ~ 500 lines, ordered by name. So I want to do it in manner when user press A key it shows only lines begin with A... , when then press s it shows lines begin with…
folibis
  • 12,048
  • 6
  • 54
  • 97
0
votes
1 answer

Custom qml view

Can I create some custom view? I have some model(written in C++ inheriting QAbstractListModel), which I use in ListView and GridView. When I do some changes in C++, I can just emit dataChanged signal to update my views. Can I connect some QML…
VALOD9
  • 566
  • 2
  • 6
  • 22
0
votes
1 answer

How to change a ComboBox to display items in a Loader?

I would like to have a ComboBox that handles large amounts of content by loading them asynchronously inside a Loader, so I can display a little BusyIndicator over the drop-down. Is it maybe possible to achieve this through a style? I want to avoid…
i know nothing
  • 951
  • 1
  • 10
  • 27
0
votes
1 answer

How to Layout Contents of Window when Resizing window width?

Suppose I have a Grid, shows 4X4(4 rows and 4 columns), when I reduce the width by half, It should layout as 2X8. I search in Google, and I god some idea that, it can be achieve through calls of JavaScript to change dynamically, but I have…
Ashif
  • 1,652
  • 14
  • 30
0
votes
1 answer

qml: achieve a chrome-like menu

I would like to achieve with QML a menu with a single menu item, like chrome does it. It has this button with those three horizontal bars and when you click it you get a single menu. Recent versions of firefox also follow the same principle. It…
Emmanuel Touzery
  • 9,008
  • 3
  • 65
  • 81
0
votes
2 answers

Implement functionality of multiple windows in same file?

In my Qt Quick(Qt v5.4 and QtQuick 2.4) project I have these five .qml files: MainForm.ui.qml - Which contains the main window of the application main.qml - Contains all the functionality implementations of objects of mainForm.ui.qml, such as…
Amol Borkar
  • 2,321
  • 7
  • 32
  • 63
0
votes
1 answer

Warning when connecting c++ signal to qml slot

I connect a c++ signal to qml function in qt4.8.4. It's working fine but makes warning in application output as below: Object::connect: No such slot QDeclarativeItem_QML_9::onValue_changed(double) Object::connect: (sender name: …
Ali Mofrad
  • 308
  • 5
  • 21
0
votes
1 answer

Open a QFileDialog over a QQuickItem

I want to open a QFileDialog over a QQuickItem. void MyCoolQQuickItem::loadFileDialog() { QString filename = QFileDialog::getOpenFileName(this, "Open a file", "C:\\path to my stuff\\", "*.*"); if(filename.size()>0) { …
Vasco Rinaldo
  • 171
  • 1
  • 6