I created a simple plugin using the Plugin Builder and placing the "Tool button with a dialog" option, however, as I added more things to the plugin, I saw the need to place it as a Processing Provider, and one of the things that my plugin had was a QLineEdit with a ToolButton that allowed the user to click on the ToolButton, select a point on the map and it returned the coordinates of this point to QLineEdit. In the Plugin format as a Processing Provider, I don't know how to do this, is there any way?