Hi,

 

I have a listview with highlight following current listitem.

 

I need one small change to this listview, on key up/down pressed I want to keep 
the highlight constant and move list items up and down respectively.

Do we have any property setting for such functionality in Qt 5.0 ? I tried 
"move" in listview but it dint work for me.

 

Please share the links if any......!

 

Do  share code samples if any. 

 

Example:

 

                                                List Item 1  ß Highlight 
(constant)

                                                List Item 2

                                                List Item 3

                                                List Item 4

 

On key up pressed   

                                                List Item 2   ß-- Highlight 
(constant)

                                                List Item 3

                                                List Item 4

                                                List Item 5           

 

On key down pressed   

 

                                                List Item 0  ß-- Highlight 
(constant)

                                                List Item 1

                                                List Item 2

                                                List Item 3

 

 

Thanks

 

Regards,

 

Satya Praveen

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to