Important: Please read the Qt Code of Conduct -

[SOLVED] Prevent users from moving Icons in QListWidget (IconMode)

  • I have a QListWidget with icon mode enabled:

    ! 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?

  • Without trying it, just from the docu I would try

  • Thanks, that solved it!

    I was begin fearing I would have to do something crazy, like installing an EventFilter. Perhaps I should look through the documentation more carefully next time.

Log in to reply