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 { |