I am writing a plugin that offers to open a CSV. I know the local path to the CSV but I don't know if it contains spatial data nor which name the X and Y could have.
The best way I can think of, is to utilize the QGIS Delimited Text Widget and set the path to the file, so it is possible to...