Keep list of figures or plots and flip through list using UI

Hi all,

I often have scripts that make a lot of plots, and I would like to be
able to create the plots and then have a UI tool that shows a list of
their titles, click on the title and have the plot be drawn in a
window. So far, I have been able to use PyQt to create a UI with a
list box and a Widget to display plots. What I can't seem to figure
out is how to make a bunch of plots and then have the Window update.

So, in psuedo code:

list of plots = []

Go through datasets:
        plots.append(plot(dataset))

For plot in plots:
       add plot title to UI list, position in list is reference back
into list of plots

On UI:
        click on plot name/title
        widget draws plot

So - basically like docked plots, except there is just a list to the
side instead (much cleaner IMHO)

I haven't been able to find any examples from googling. Has any one
been able to do this or seen examples?

Any help or suggestions are appreciated!

Thanks!

: