I use a ListView
and inside each Item
of this ListView
, I have a ComboBox
or a SpinBox
.
My problem is that when I want to scroll
my ListView
, if my mouse
goes on a ComboBox
or a SpinBox
, the focus
will change andthe scroll
will now be on this Item
instead of the list.
I would like that focus is set on these Item only if I click on them.
Code example:
import QtQuick.Controls 1.4ListView { id: list ScrollBar.vertical: ScrollBar {} ... model: DelegateModel { id:delegate model: myModel delegate : Rectangle { id: rect ... SpinBox { id: spin ... } } }}
How could I proceed ?