PDA

View Full Version : add buttons using QStringList in qml



mouni
5th October 2016, 07:53
i have QStringList list << "14","15","16","17"; like this


using this list values i want to create buttons in qml how can i add

anda_skoa
6th October 2016, 17:03
By using a Repeater (http://doc.qt.io/qt-5/qml-qtquick-repeater.html), with the button type as its delegate.

Cheers,
_