M
M
Mans2014-05-20 13:31:59
Qt
Mans, 2014-05-20 13:31:59

How to add rows with rectangles in QT (QML)?

Hello.
It is required to display a table from rectangles of different colors with indents between each other. How can I implement this via QML to conveniently add rows via C++? I tried to use ListView, but, unfortunately, nothing good came of it, because I don’t know how to set the number of rectangles and their colors in the parameters. Tell me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2014-05-21
@PavelK

Read: habrahabr.ru/post/181712

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question