new server deck folder display

This commit is contained in:
Max-Wilhelm Bruker 2009-12-03 18:43:43 +01:00
parent fb61b442ca
commit bf92ef87da
6 changed files with 401 additions and 130 deletions

View file

@ -6,7 +6,7 @@ GameView::GameView(QGraphicsScene *scene, QWidget *parent)
setBackgroundBrush(QBrush(QColor(0, 0, 0)));
setRenderHints(QPainter::TextAntialiasing | QPainter::Antialiasing/* | QPainter::SmoothPixmapTransform*/);
setDragMode(RubberBandDrag);
// setViewportUpdateMode(FullViewportUpdate);
setViewportUpdateMode(BoundingRectViewportUpdate);
connect(scene, SIGNAL(sceneRectChanged(const QRectF &)), this, SLOT(updateSceneRect(const QRectF &)));
}