How to add a message display in WIGETS submenu analyze of qgroundcontrol

Hi,everyone!
I add a mavlink message in px4.
By test I confirm that it can send this message to pc.
I modified qgroundcontrol code to display the message in the submenu of the menu of qgroundcontrol WIGETS menu.
I want to know whether I only modify the function ‘UAS::receiveMessage(mavlink_message_t message)’。
any one knows?