From: Peter B. <bu...@gm...> - 2010-05-23 08:15:44
|
On Sat, May 22, 2010 at 11:30 PM, Darren Dale <dsd...@gm...> wrote: > On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth <bu...@gm...> wrote: >> On Sun, May 16, 2010 at 1:53 PM, Darren Dale <dsd...@gm...> wrote: >>> I don't think the demo is ready for inclusion. Clicking in the plot >>> window to open the dialog conflicts with all the other functionality >>> on the toolbar. >> >> Feel free to amend the example as needed. Clicking in the plot window >> to open the dialog is obviously not required. > > In that case I don't see the point of the demo. It is useful to provide code showcasing the full functionnality and allowing to test it quickly. That said I agree that it probably doesn't make sense to have a separate file for this. Should I move the test code back to if __name__ == "__main__": in figureoptions.py removing the mouse click binding ? > >>> Also, when I open the figure options dialog, the dialog window >>> background is transparent instead of using the desktop default. Why is >>> that? >> >> No idea. I haven't encountered this issue before. I use Python 2.6.5 + >> PyQt 4.7.2 on Win32. >> >> Could you possibly narrow this down a bit ? Is it caused by new code >> in figureoptions.py ? > > I have no idea, and I don't have enough time to dig into it. I'm sorry. Darren: your help is greatly appreciated. Is the platform/config specific transparent background issue blocking ? There is nothing in the figureoptions code that should cause this IMO. |