incapacitant
29th January 2006, 11:16
Hello,
In QListViews one can define columns, say from left to right A, B and C; and of course lines say from top to bottom 1, 2, 3...
I try to modify (for instance) the content of cell B2.
For the time being, I could not invent better than to click with the mouse (left) on line 2. This puts A2 as selected. I then loop through the list to find which line has been selected.
Then I programmed function key F1 to edit A2, F2 to edit B2, F3 to edit C2 etc...
But I really would like to click on any cell and program a slot to handle it.
Is there a better way that I could investigate ?
In QListViews one can define columns, say from left to right A, B and C; and of course lines say from top to bottom 1, 2, 3...
I try to modify (for instance) the content of cell B2.
For the time being, I could not invent better than to click with the mouse (left) on line 2. This puts A2 as selected. I then loop through the list to find which line has been selected.
Then I programmed function key F1 to edit A2, F2 to edit B2, F3 to edit C2 etc...
But I really would like to click on any cell and program a slot to handle it.
Is there a better way that I could investigate ?