36 documents{documents}, |
36 documents{documents}, |
37 colorTable{colorTable}, |
37 colorTable{colorTable}, |
38 compiler{new gl::Compiler{this->colorTable, this}} |
38 compiler{new gl::Compiler{this->colorTable, this}} |
39 { |
39 { |
40 this->setMouseTracking(true); |
40 this->setMouseTracking(true); |
|
41 connect(model, &Model::rowsInserted, [&]{ |
|
42 this->needBuild = true; |
|
43 }); |
|
44 connect(model, &Model::rowsRemoved, [&]{ this->needBuild = true; }); |
41 } |
45 } |
42 |
46 |
43 PartRenderer::~PartRenderer() |
47 PartRenderer::~PartRenderer() |
44 { |
48 { |
45 } |
49 } |