Rid
18th April 2011, 12:05
Hi,
I'm new on this forum, so here is a short introduction.
My alias is Rid, I'm French, and I'm praticing Qt since January 2010.
I have a question concerning the way items are selected within a QTableView and the way we can modify it.
Indeed, if I select an item, hold Shift-Key and then select*another item, this is what I get:
http://img855.imageshack.us/img855/6528/image1p.png
I would like to modify this behaviour in order to select every items between the selected ones as in
this screenshot:
http://img708.imageshack.us/img708/5286/image2azo.png
I've made some tests in which I modified QTableView's select mode and behaviour, but they failed.
Can somebody give me help on this problem?
I'm new on this forum, so here is a short introduction.
My alias is Rid, I'm French, and I'm praticing Qt since January 2010.
I have a question concerning the way items are selected within a QTableView and the way we can modify it.
Indeed, if I select an item, hold Shift-Key and then select*another item, this is what I get:
http://img855.imageshack.us/img855/6528/image1p.png
I would like to modify this behaviour in order to select every items between the selected ones as in
this screenshot:
http://img708.imageshack.us/img708/5286/image2azo.png
I've made some tests in which I modified QTableView's select mode and behaviour, but they failed.
Can somebody give me help on this problem?