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

New SequenceViewer, fixed coloring of selection

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2279 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent f7f54419
Branches
Tags
No related merge requests found
......@@ -38,6 +38,9 @@ void BackgroundPainter::Paint(QPainter* painter, const QStyleOptionViewItem& opt
painter->fillRect(option.rect, QColor(240,240,240));
}
else{
painter->fillRect(option.rect, QColor(255,255,255));
}
if(index.row()>0 && (index.column())%10 == 0){
painter->setPen(QPen(QColor(135,135,135)));
painter->drawLine(option.rect.topRight(),option.rect.bottomRight());
......
......@@ -169,7 +169,9 @@ void SequenceTableView::InitStaticField(){
static_field_->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
static_field_->show();
static_field_->setStyleSheet("QTableView { border: 0px;"
"background-color: #FFFFFF}"
"selection-color: transparent;"
"selection-background-color: transparent;"
"background-color: white}"
"QTableView::item{ border: none;"
"padding: 0px; border-width: 0px; margin: 0px;}");
static_field_->setShowGrid(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment