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:
catdog2
2008-11-12 21:50:47 +00:00
parent 9730481953
commit 75632cdbbc
7 changed files with 340 additions and 40 deletions

View File

@@ -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);