src/document.cpp

changeset 117
121a40d5e34c
parent 111
1f42c03fafca
child 118
8e1c9f18ae15
equal deleted inserted replaced
116:aad3e897bc32 117:121a40d5e34c
31 model{model}, 31 model{model},
32 documents{documents}, 32 documents{documents},
33 colorTable{colorTable}, 33 colorTable{colorTable},
34 renderer{new Canvas{model, documents, colorTable, this}}, 34 renderer{new Canvas{model, documents, colorTable, this}},
35 ui{*new Ui::Document}, 35 ui{*new Ui::Document},
36 objectEditor{model, ldraw::NULL_ID, this} 36 objectEditor{model, ldraw::NULL_ID, this},
37 vertexMap{model}
37 { 38 {
38 this->ui.setupUi(this); 39 this->ui.setupUi(this);
39 this->ui.listView->setModel(model); 40 this->ui.listView->setModel(model);
40 this->ui.viewportFrame->setLayout(new QVBoxLayout{this->ui.listView}); 41 this->ui.viewportFrame->setLayout(new QVBoxLayout{this->ui.listView});
41 this->ui.viewportFrame->layout()->addWidget(this->renderer); 42 this->ui.viewportFrame->layout()->addWidget(this->renderer);

mercurial