Top "Qml" questions

they interact and relate with one another.

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
QML Object Type is not a type error in QTCreator

Hi Everyone i am new to QT and i am having trouble loading one qml through another qml Basically i …

qt qml qqmlcomponent
How to make image to fill qml controls button

I want icon to fill Button. Here is code: import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 import QtQuick.Window 2.2 …

qt qml qtquickcontrols
Stretching element to contain all children

How is it possible in QML to automatically stretch element so that all its childs fit in it? And how …

qt qml
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 …

c++ qt transparent qml qt-quick
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
Get the path from a QML url

FileDialog gives a QML url variable. theurl.toString() gives something like file:///c:\foo\bar.txt. How do I get …

qt url qml filedialog
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 …

qt event-handling qml qt-quick
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