[QML][Android] element occypying two cells in gridview
-
Hi,
Is it possible to create element in gridview so it take for example two cells or more? If it is possible, can it be done from C++ code? I need to add new items dynamically. Btw, I am using Qt 5.1.1 and QtQuick 2.0.
Thanks in advance
-
this doesn't make sense for item views IMHO.
you can use a gridlayout though for displaying widgets/elements.
C++: "QGridLayout":http://qt-project.org/doc/qt-5.0/qtwidgets/qgridlayout.html
QML: "grid":http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-grid.html