69 m_compiler = new GLCompiler (this); |
69 m_compiler = new GLCompiler (this); |
70 m_toolTipTimer = new QTimer (this); |
70 m_toolTipTimer = new QTimer (this); |
71 m_toolTipTimer->setSingleShot (true); |
71 m_toolTipTimer->setSingleShot (true); |
72 setAcceptDrops (true); |
72 setAcceptDrops (true); |
73 connect (m_toolTipTimer, SIGNAL (timeout()), this, SLOT (showCameraIconTooltip())); |
73 connect (m_toolTipTimer, SIGNAL (timeout()), this, SLOT (showCameraIconTooltip())); |
74 connect(model, SIGNAL(aboutToRemoveObject(LDObject*)), this, SLOT(removeObject(LDObject*))); |
74 connect(model, SIGNAL(aboutToRemoveObject(LDObject*, int)), this, SLOT(removeObject(LDObject*))); |
75 resetAllAngles(); |
75 resetAllAngles(); |
76 m_needZoomToFit = true; |
76 m_needZoomToFit = true; |
77 |
77 |
78 // Init camera icons |
78 // Init camera icons |
79 for (Camera camera : iterateEnum<Camera>()) |
79 for (Camera camera : iterateEnum<Camera>()) |