1
0
Fork 0

GUI: color fix in StdTable

This commit is contained in:
Mr. eXoDia 2014-04-26 21:19:01 +02:00
parent 9f514b2751
commit ebfca9adf7
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ StdTable::StdTable(QWidget *parent) : AbstractTableView(parent)
QString StdTable::paintContent(QPainter* painter, int_t rowBase, int rowOffset, int col, int x, int y, int w, int h) QString StdTable::paintContent(QPainter* painter, int_t rowBase, int rowOffset, int col, int x, int y, int w, int h)
{ {
if(isSelected(rowBase, rowOffset) == true) if(isSelected(rowBase, rowOffset) == true)
painter->fillRect(QRect(x, y, w, h), QBrush(QColor("#808080"))); painter->fillRect(QRect(x, y, w, h), QBrush(QColor("#C0C0C0")));
//return "c " + QString::number(col) + " r " + QString::number(rowBase + rowOffset); //return "c " + QString::number(col) + " r " + QString::number(rowBase + rowOffset);
return mData->at(col)->at(rowBase + rowOffset); return mData->at(col)->at(rowBase + rowOffset);