src/gl/partrenderer.cpp

changeset 311
fab454611f9b
parent 309
d862721d19a3
child 313
c24d87f64bed
equal deleted inserted replaced
310:5d6639a9607f 311:fab454611f9b
44 documents{documents}, 44 documents{documents},
45 colorTable{colorTable} 45 colorTable{colorTable}
46 { 46 {
47 this->setMouseTracking(true); 47 this->setMouseTracking(true);
48 this->setFocusPolicy(Qt::WheelFocus); 48 this->setFocusPolicy(Qt::WheelFocus);
49 this->setCursor(Qt::CrossCursor);
50 QSurfaceFormat surfaceFormat; 49 QSurfaceFormat surfaceFormat;
51 surfaceFormat.setSamples(8); 50 surfaceFormat.setSamples(8);
52 this->setFormat(surfaceFormat); 51 this->setFormat(surfaceFormat);
53 connect(model, &Model::rowsInserted, [&]{ 52 connect(model, &Model::rowsInserted, [&]{
54 this->needBuild = true; 53 this->needBuild = true;

mercurial