qt-quick
Qml text wrap (max width)
I would like to put text inside a bubble, and I want that my bubble be equal to the text width, but if the text length is too long, I would like the text to wrap automati开发者_JAVA百科cally and be eq[详细]
2023-03-13 08:47 分类:问答QT QML import ListModel from C++ to QML
How can i change the model of a PathView with c++ code ? i add an objectName to my pathView to find it, then i change the property like this, but when i do that, my list is empty :[详细]
2023-03-09 17:13 分类:问答I can't get qml to use my custom plugin
I\'m working in QtQuick and right now struggling with a weird problem: I can\'t get my custom plugin to work in Qml. There\'s a s开发者_运维问答imple demo in the SDK (Examples/4.7/declarative/tutorial[详细]
2023-03-08 06:40 分类:问答Accessing properties of QML objects from C++ withoun Q_PROPERTY definition
I know, it\'s possible to define a QObject with custom properties and expose this object in QML environment. But this way, for each new property I\'d need to recompile C++ code.[详细]
2023-03-06 07:47 分类:问答Best approach to retrieve values from a QML Modal dialog
In my QT C++ application i call a QML ModalDialog with 2 buttons (OK/CANCEL), which displays correctly on screen and so, no problem there.[详细]
2023-03-02 21:39 分类:问答QML Animation with both "velocity" and infinite "loops"
I\'m trying to put together an animation in which I get to specify the velocity (rather than the duration) and which loops forever. I came up with two non-working examples:[详细]
2023-03-02 03:50 分类:问答QtQuick GridView element animations
When a GridView is resized and it\'s elements get rearranged the animations of that elements don\'t seem to work.[详细]
2023-02-24 04:11 分类:问答'Traditional Qt' or 'Qt Quick' for a desktop program? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-02-20 19:06 分类:问答Adding elements at runtime
How can I add an element to any view at runtime? for example, when s开发者_JAVA技巧ome signal is fired, the application should add a rectangle to a specific row.[详细]
2023-02-18 19:28 分类:问答About switching pages in a ListView
I made a ListView that contains 3 rectangles (pages) & they are flicked horizontally, a rectangle is shown at a time & the view switches between them using a button,[详细]
2023-02-18 13:14 分类:问答