Top "Qml" questions

they interact and relate with one another.

C++ signal to QML slot in Qt

I want to send a Signal from C++ to a Slot in my QML File. I already got it working …

c++ qt qml signals-slots
QML Listview selected item highlight on click

Hi I want to put this code : highlight: Rectangle { color: "black" radius: 5 opacity: 0.7 focus: true } into mouseArea in onclick handler: …

qt listview qml selecteditem
How to get an instantiated delegate component from a GridView or ListView in QML

My conundrum, phrased generally, is: through some action outside the GridView, I want to figure out the coordinates of a …

qt qml
How to make QML items to grow to fit contents?

How to make ServerItem to grow to fit contents? Right now ServerItems just overlap each other. main.qml import Qt 4.7 …

qt qml
How to access C++ enum from QML?

class StyleClass : public QObject { public: typedef enum { STYLE_RADIAL, STYLE_ENVELOPE, STYLE_FILLED } Style; Style m_style; //... }; The .h file …

c++ qt qml qtquick2
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 …

qt qml qt-creator qt-designer qt-quick
If statement in QML

Completely new to QT and QML. I'm trying to set the color of a rectangle based on the relationship between …

qt user-interface qml qt-quick
Access C++ function from QML

I'm trying to make a little program with Qt. I have a main.cpp with the following code: #include <…

c++ qt function qml
ListView scrolling animation

I want to implement a scrolling animation for QML ListView. Here is a sample image: Can anybody advise me for …

qt listview animation qml qtquick2
Can't load Image source in QML Image

This seems really basic but for some reason I can't get the image source to work in the ultra-simple QML …

image qt qml