I have made a plugin for QGIS in pyQt. Then I can make a query from a PostGIS database and I get the plot or bunch or plots results of that query in a layer. This layer is overlapped on the top of a layer who show all the plots. But sometimes I get only one of two plots, and they "lose" between more than 5000 plots, then I would like to put the plot or bunch of plots in a frame.
Any idea how could I do that?