ListView { id: view model: skillModel delegate: SkillDelegate { width: ListView.view.width name: model.name + ' -' time.text: model.hours + ':' + model.minutes + ':' + model.seconds today.text: ' +' + model.todayHours + ':' + model.todayMinutes + ':' + model.todaySeconds pomodoroCount: model.pomodoros } } ListView reads data through a class derived from QAbstractListModel . How to update the data in ListView after changing it? I change the data in qml through the Q_INVOKABLE function on the c ++ side.
QAbstractListModel, then everything will work correctly. Read the documentation for this class. - ixSci