This PR mainly refactor the flow of generating profiles of old CARTA. The signal-slot for trigger rendering profiles are removed. Also, the newProfile() and _loadProfile() functions are abolished. The generation of profiles are controlled by front end. Besides, the data of profiles are saved in the state of CurveData. Some other changes are related to the connection of callbacks.
This PR mainly refactor the flow of generating profiles of old CARTA. The signal-slot for trigger rendering profiles are removed. Also, the newProfile() and _loadProfile() functions are abolished. The generation of profiles are controlled by front end. Besides, the data of profiles are saved in the state of CurveData. Some other changes are related to the connection of callbacks.