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); |