Browse Source

changed color of selGraphItem

pull/974/head
krepa098 11 years ago
parent
commit
2b20a23c3d
  1. 6
      src/chatlog/chatlog.cpp

6
src/chatlog/chatlog.cpp

@ -57,11 +57,9 @@ ChatLog::ChatLog(QWidget* parent)
setViewportUpdateMode(SmartViewportUpdate); setViewportUpdateMode(SmartViewportUpdate);
//setRenderHint(QPainter::TextAntialiasing); //setRenderHint(QPainter::TextAntialiasing);
selGraphItem = new QGraphicsRectItem(); const QColor selGraphColor = QColor(166,225,255);
selGraphItem = scene->addRect(0,0,0,0,selGraphColor.darker(120),selGraphColor);
selGraphItem->setZValue(-10.0); //behind all items selGraphItem->setZValue(-10.0); //behind all items
selGraphItem->setBrush(QBrush(QColor(166,225,255)));
scene->addItem(selGraphItem);
// copy action // copy action
copyAction = new QAction(this); copyAction = new QAction(this);

Loading…
Cancel
Save