We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc176e commit fed7cedCopy full SHA for fed7ced
src/FlowView.cpp
@@ -40,14 +40,13 @@ FlowView(QWidget *parent)
40
41
setBackgroundBrush(flowViewStyle.BackgroundColor);
42
43
- //setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
44
- //setViewportUpdateMode(QGraphicsView::MinimalViewportUpdate);
45
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
46
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
47
48
setTransformationAnchor(QGraphicsView::AnchorUnderMouse);
49
50
setCacheMode(QGraphicsView::CacheBackground);
+ setViewportUpdateMode(QGraphicsView::BoundingRectViewportUpdate);
51
52
//setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers)));
53
}
0 commit comments