Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HPP:
- signals:
- void dataChanged(QModelInde& Top, QModelIndex& Bottom, QVector<int> roles);
- CPP:
- void update(QVector<Object> objects)
- {
- // updating every Object
- emit dataChanged(index(0, 0), index(0, columnCount()), QVector<int>() << CoordinateRole;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement