qt4_editor

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.

Also, when I open the figure options dialog, the dialog window
background is transparent instead of using the desktop default. Why is
that?

Darren

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 ?

···

On Sun, May 16, 2010 at 1:53 PM, Darren Dale <dsdale24@...149...> wrote:

On Thu, May 13, 2010 at 3:11 AM, Peter Butterworth <butterw@...149...> wrote:

patch attached

qt4ed_demo.py is an example file which should be put in
matplotlib\examples\pylab_examples
other than that figureoptions.py is the only file changed.

On Wed, May 12, 2010 at 11:56 PM, Darren Dale <dsdale24@...149...> wrote:

No, I'm sorry. Its unfair to you that I am the bottleneck here. I just
looked for the patch at
http://sourceforge.net/tracker/?func=detail&aid=2981606&group_id=80706&atid=560722
but didn't find it. Is the figureoptions.py file there all that is
needed?

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.

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

···

On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth <butterw@...149...> wrote:

On Sun, May 16, 2010 at 1:53 PM, Darren Dale <dsdale24@...149...> 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.

···

On Sat, May 22, 2010 at 11:30 PM, Darren Dale <dsdale24@...149...> wrote:

On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth <butterw@...149...> wrote:

On Sun, May 16, 2010 at 1:53 PM, Darren Dale <dsdale24@...149...> wrote:

I don't know if it is platform specific, although I tested on a 64-bit
kubuntu lucid with qt-4.6.2.

I'm not comfortable checking in changes that introduce problems I
don't understand.

Darren

···

On Sun, May 23, 2010 at 4:15 AM, Peter Butterworth <butterw@...149...> wrote:

On Sat, May 22, 2010 at 11:30 PM, Darren Dale <dsdale24@...149...> wrote:

On Sat, May 22, 2010 at 4:19 PM, Peter Butterworth <butterw@...149...> wrote:

On Sun, May 16, 2010 at 1:53 PM, Darren Dale <dsdale24@...149...> 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.