API & Development
Responsible for starting CAD actions
Responsible for routing UI events
Generate GUI actions and connection to CAD actions
Access to GUI interface: Qt widgets
Base class for all CAD entity types
There are some segfaults by action( rs_action* methods) destructors caused by actions when closing the main window. These segfault can be fixed by detecting RS_GraphicView cleanup in action destructors.
A method to detect cleanup is added:
bool RS_GraphicView::isCleanUp() const;
whenever isCleanUp() returns true, action destructors should not try to cleanup, as entities may be deleted already.
TODO: We need a better solution probably by smart pointers.