Top "Qtquick2" questions

Qt Quick is a modern user interface technology that separates the declarative UI design and the imperative programming logic.

How do I show a message box with Qt Quick Controls?

What is the equivalent of QMessageBox::information() when one wishes to write a QML application using Qt Quick Controls?

qt qml qt-quick qtquick2
How to implement QML ListModel like get method for an QAbstractListModel derived model

I want to use an QAbstractListModel derived model in QML. Binding the model to views already works great. The next …

qt qml qt-quick qtquick2 qabstractitemmodel
Image rounded corners in QML

To my surprise, the Image component has no radius property. I tried emulating the rounded corners by putting the image …

qml qt5 qtquick2
Change text color for QML controls

I am using some QML controls like GroupBox and CheckBox which have text associated with them. The default color of …

qt qml styling qtquick2
Different delegates for QML ListView

I would like to know if it's possible to use (several) different delegates for a QML ListView. Depending on the …

qt listview qml qtquick2
How to declare list property in QML

How do I declare a list property in QML (for use with Qt.labs.settings in my case): Settings { property …

qt qml qt5 qtquick2
QML button change text color

I'm new in QML and i want to personalize my buttons. I succeed to change the background's color and border …

qt qml qtquick2 qtquickcontrols2
How to create scrollbar in QtQuick 2.0?

I am trying to create a scrollbar in QtQuick 2.0, I found that Scrollbar component is available in QtQuick 1.0 but I …

qt qml qtquick2
QML, dynamically adding elements to a listview

I need some help with adding elements into a qml listview, i have a textarea and a button that will …

listview qml qtquick2
How to create drop shadow for Rectangle on QtQuick 2.0

How can i draw a drop shadow for a Rectangle visual item on QtQuick 2.0? I like to draw a drop …

qt qml qtquick2