src/dialogs/subfilereferenceeditor.cpp

changeset 1313
4baed9f54de3
parent 1299
b692088dc1a6
child 1326
69a90bd2dba2
equal deleted inserted replaced
1312:f2974f3ac1ab 1313:4baed9f54de3
12 { 12 {
13 this->ui.setupUi(this); 13 this->ui.setupUi(this);
14 this->ui.referenceName->setText(reference->referenceName()); 14 this->ui.referenceName->setText(reference->referenceName());
15 this->color = reference->color(); 15 this->color = reference->color();
16 ::setColorButton(this->ui.colorButton, this->color); 16 ::setColorButton(this->ui.colorButton, this->color);
17 this->ui.positionX->setValue(reference->position().x()); 17 this->ui.positionX->setValue(reference->position().x);
18 this->ui.positionY->setValue(reference->position().y()); 18 this->ui.positionY->setValue(reference->position().y);
19 this->ui.positionZ->setValue(reference->position().z()); 19 this->ui.positionZ->setValue(reference->position().z);
20 connect( 20 connect(
21 this->ui.colorButton, 21 this->ui.colorButton,
22 &QPushButton::clicked, 22 &QPushButton::clicked,
23 [&]() 23 [&]()
24 { 24 {

mercurial