QGC new flight mode in main mode menu

Hi guys,

I have added new flight mode in PX4 stack and want to add the same mode to QGroundControl as well so that I can change the flight modes through QGC. How can I add my mode to the main flight modes menu on the QGC toolbar? Any suggestions are greatly appreciated. Thanks in advance.

Could you please tell me the steps to add new flight mode in px4 latest version v1.15