comparison panned.cpp @ 56:1394c8cbf991

* Minor layout improvement
author Chris Cannam
date Tue, 16 Nov 2010 11:26:51 +0000
parents 3c46b2ac45d3
children f583e44d9d31
comparison
equal deleted inserted replaced
55:261bfb9481fe 56:1394c8cbf991
23 23
24 #include <iostream> 24 #include <iostream>
25 25
26 Panned::Panned() 26 Panned::Panned()
27 { 27 {
28 // setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers))); 28 setRenderHints(QPainter::Antialiasing |
29 setRenderHints(QPainter::Antialiasing); 29 QPainter::TextAntialiasing);
30 } 30 }
31 31
32 void 32 void
33 Panned::resizeEvent(QResizeEvent *ev) 33 Panned::resizeEvent(QResizeEvent *ev)
34 { 34 {