Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Pradeep Kumar last edited by
how to make items in listview scroll up and down with respect to key uppressed, and key downpressed, once it works fine with key down pressed, it wont work for key up pressed, it should work in both key uppressed and key downpressed, please help me out
mcosta last edited by
once it works fine with key down pressed, it wont work for key up pressed
could you show your code?
Pradeep Kumar last edited by p3c0
This post is deleted!
@Pradeep-Kumar.M Since you are using a
ListViewits better to make use of currentIndex. Setting it to some index will automatically scroll
ListViewto that item.
Another way would be to use flick method. IMO, setting
currentIndexwould be a better idea.
P.S: Always try to post a minimal compilable example that shows the exact problem just in case someone wants to test it first.