Top "Qt-quick" questions

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.

QML TableView access model properties from delegate

I have a TableView for which I've defined my own itemDelegate. Now, from within this delegate I can access the …

qt qml qt-quick qtquick2 qtquickcontrols
Clear QML anchor

I have a MouseArea that I want to start off centered and then have an absolute position once the up/…

qt position qml qt-quick
Measuring elapsed time in QML

Let's consider the following example: we have a Qt Quick Controls Button. The user clicks it twice within 5 seconds. After …

qt time qml qtquick2 qt-quick
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 …

qt qml qt-quick qtquick2
How to Emit signals from javascript to qml

I want to emit signal from javascript-file and receive it in qml-file (To find when time-consuming operation will finished). How …

javascript qt qt4 qml qt-quick
QML - main window position on start (screen center)

How I can do following: I’d like show my main window on start on the center screen.

c++ qt qml qt-quick
QtQuick - button onClick event

Background story So I recently decided that I should try out Qt. I started making a QtQuick Apllication. In my …

qt qml qtquick2 qt-quick qtquickcontrols
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 …

qt qml qt-quick
Align horizontalcenter in Column

Column documentation explains how to achieve this: However, I would like to achieve this: That is, all items inside the …

qt qml qtquick2 qt-quick
FileDialog in QTQuick (QML): Save file under given name

We're building a Qt Quick app, that must be able to save a file under a given name. In the …

qt qml qt-quick qtquick2 qfiledialog