Skip to content
Advertisement

Tag: qt

Inserting text in the MenuBar of QML

These menus by default appear on the left side. I want to place some text on the left side before the menu starts appearing. How to push the menus to right in order to create space for the text in the menubar? I want the following: That text “AmplifyRemote” is appearing before the menu starts. How to achieve that here?

Get value for given index in QML LISTMODEL

I have a QML ListModel like follows: Then I have some simple QML labels like follows: My problem is to fill that brackets in myListMode.get().myValue. In fact I need a condition: if myListModel has some myId that equals my current labelInt, then return me the corresponding myId, otherwise leave empty space: I tried with: but I am not sure It’s

Advertisement