qtopiahooo
18th January 2007, 10:30
hi, everyone
i met a question about QTable. i want to set the background of the current (row, col) by subclassing QTable and implementing the paintCell funtion.
in the paintCell funtion, if the current cell is selected, the QColorGroup::Background is set to the proper color, then QTable::paintCell(...) funtion is called. but it doesn't work.
anyone has any advice?Thanks advance
i met a question about QTable. i want to set the background of the current (row, col) by subclassing QTable and implementing the paintCell funtion.
in the paintCell funtion, if the current cell is selected, the QColorGroup::Background is set to the proper color, then QTable::paintCell(...) funtion is called. but it doesn't work.
anyone has any advice?Thanks advance