32 #include "colorSelectDialog.h" |
32 #include "colorSelectDialog.h" |
33 #include "history.h" |
33 #include "history.h" |
34 #include "widgets.h" |
34 #include "widgets.h" |
35 #include "misc.h" |
35 #include "misc.h" |
36 #include "primitives.h" |
36 #include "primitives.h" |
|
37 #include "moc_addObjectDialog.cpp" |
37 |
38 |
38 // ============================================================================= |
39 // ============================================================================= |
39 // ----------------------------------------------------------------------------- |
40 // ----------------------------------------------------------------------------- |
40 class SubfileListItem : public QTreeWidgetItem |
41 class SubfileListItem : public QTreeWidgetItem |
41 { PROPERTY (Primitive*, primInfo, setPrimInfo) |
42 { PROPERTY (Primitive*, primInfo, setPrimInfo) |
385 return; |
386 return; |
386 } |
387 } |
387 |
388 |
388 LDSubfile* ref = initObj<LDSubfile> (obj); |
389 LDSubfile* ref = initObj<LDSubfile> (obj); |
389 |
390 |
390 for (const Axis ax : g_Axes) |
391 for (const Axis ax : g_Axes) |
391 ref->setCoordinate (ax, dlg.dsb_coords[ax]->value()); |
392 ref->setCoordinate (ax, dlg.dsb_coords[ax]->value()); |
392 |
393 |
393 ref->setTransform (transform); |
394 ref->setTransform (transform); |
394 ref->setFileInfo (file); |
395 ref->setFileInfo (file); |
395 } |
396 } |