Skip to content
Snippets Groups Projects
Commit 13f1e855 authored by stefan's avatar stefan
Browse files

New SequenceViewer, changed backgroundcolor

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2191 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent a5b50f0c
Branches
Tags
No related merge requests found
...@@ -34,7 +34,7 @@ BackgroundPainter::BackgroundPainter(QObject* parent) ...@@ -34,7 +34,7 @@ BackgroundPainter::BackgroundPainter(QObject* parent)
void BackgroundPainter::Paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index){ void BackgroundPainter::Paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index){
painter->save(); painter->save();
if ((index.column()-1)%10 > 4){ if (index.column()>0 && (index.column()-1)%10 < 5){
painter->fillRect(option.rect, QColor(240,240,240)); painter->fillRect(option.rect, QColor(240,240,240));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment