animationsberechnung bei grossen steps beschleunigt, usw.
git-svn-id: http://svn.lsim.tuxzone.org/trunk@13 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
@@ -54,7 +54,8 @@ QRectF HomoBFieldItem::getRectF() const
|
||||
}
|
||||
|
||||
void HomoBFieldItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) {
|
||||
Qt::GlobalColor linecolor = Qt::red;
|
||||
//Qt::GlobalColor linecolor = Qt::red;
|
||||
QColor linecolor(92,105,118);
|
||||
painter->setPen(linecolor);
|
||||
if (isSelected()) painter->setBrush(Qt::Dense6Pattern); //selection deutlich machen
|
||||
painter->drawRect(sizeRect);
|
||||
|
||||
Reference in New Issue
Block a user