[SOLVED] Prevent users from moving Icons in QListWidget (IconMode)
General and Desktop
3
Posts
2
Posters
3.5k
Views
1
Watching
-
I have a QListWidget with icon mode enabled:
@setViewMode(QListView::IconMode);
setResizeMode(QListWidget::ResizeMode::Adjust);
setEditTriggers(QAbstractItemView::NoEditTriggers);
@!http://i.imgur.com/2YAGNOn.png(QListWidget IconMode)!
However, I am still able to move and rearrange the icons. I would like to prevent this. I thought "NoEditTriggers" would solve the problem, but it appears not.
Any suggestions?