Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
As of rev d8f026289718... Leo's core loads with PyQt5. Here is the checkin log: QQQ A mass update to support Qt5. When Qt5 is in effect, QtGui is QtWidgets, and QtGui2 is QtGui. When Qt4 is in effect, both are the same as QtGui. Next: carefully rename QtGui - QtWidgets and QtGui2 - QtGui

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thursday, June 12, 2014 11:17:32 AM UTC-5, Edward K. Ream wrote: As of rev d8f026289718... Leo's core loads with PyQt5. Next, I'll do the renaming mentioned above. To repeat, in the Qt4 world both QtGui and QtWidgets mean the QtGui module. Done at rev 3ed6491149db... **Important**: from

Re: Support for Qt5 has begun

2014-06-12 Thread dufriz
Just to get it right, do you advise us to uninstall PyQt4 and install PyQt instead? To do so would be no trouble at all for me, so no problem. I only need to know which of the two is expected to be less problematic from now on. -- You received this message because you are subscribed to the

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thu, Jun 12, 2014 at 3:38 PM, duf...@gmail.com wrote: Just to get it right, do you advise us to uninstall PyQt4 and install PyQt instead? To do so would be no trouble at all for me, so no problem. On Windows, it is very easy to install PyQt5 just for some versions of Python. I'm not so

Re: Support for Qt5 has begun

2014-06-12 Thread 'Terry Brown' via leo-editor
On Thu, 12 Jun 2014 16:03:27 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 12, 2014 at 3:38 PM, duf...@gmail.com wrote: Just to get it right, do you advise us to uninstall PyQt4 and install PyQt instead? To do so would be no trouble at all for me, so no problem. To answer

Re: Support for Qt5 has begun

2014-06-12 Thread dufriz
To answer dufriz, I'd say don't change anything right now, just keep using the current Leo so you're testing the new code, for Qt4 for now. Thanks. I'll stick to this piece of advice. -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thu, Jun 12, 2014 at 11:54 AM, Edward K. Ream edream...@gmail.com wrote: The last task will be hook up connections again when using Qt5. Actually, there were a few more items, but as of rev dc9568360f7d... just about everything appears to be working. Some notes: 1. The new signal code is

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thu, Jun 12, 2014 at 4:15 PM, Terry Brown terry_n_br...@yahoo.com wrote: I couldn't get more than one Qt running in Windows when I tried, I was aiming for Qt4+Py2.7 and Qt5+Py3.4 but whichever one I installed last always seemed to break the other one (DLL load failure). Did you uninstall

Re: Support for Qt5 has begun

2014-06-12 Thread 'Terry Brown' via leo-editor
On Thu, 12 Jun 2014 17:55:45 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 12, 2014 at 11:54 AM, Edward K. Ream edream...@gmail.com wrote: The last task will be hook up connections again when using Qt5. Actually, there were a few more items, but as of rev dc9568360f7d...

log window version numbers

2014-06-12 Thread 'Terry Brown' via leo-editor
Hey Jacob, I think you've worked on this most recently? Latest Leo, in Ubuntu / Py 2.7.4 Qt 4 it says Leo Log Window Leo 4.11 final, build dc9568360f7d (branch: master), 2014-06-12 18:00:40 Python 2.7.6, qt version 4.8.6 linux2 But in Win7 / Py 3.4 Qt 5 it says Leo 4.11 final, build 6240,

Re: Support for Qt5 has begun

2014-06-12 Thread 'Terry Brown' via leo-editor
On Thu, 12 Jun 2014 18:00:22 -0500 Edward K. Ream edream...@gmail.com wrote: On Thu, Jun 12, 2014 at 4:15 PM, Terry Brown terry_n_br...@yahoo.com wrote: I couldn't get more than one Qt running in Windows when I tried, I was aiming for Qt4+Py2.7 and Qt5+Py3.4 but whichever one I

Re: Support for Qt5 has begun

2014-06-12 Thread gatesphere
Just updated Leo from github, and Win7/Python 2.7/PyQt4 gives me this error: exception importing plugin leo.plugins.viewrendered2 Traceback (most recent call last): File C:\cygwin\home\Jake\programming\leo\leo-editor\leo\core\leoPlugins.py, line 548, in loadOnePlugin

Re: log window version numbers

2014-06-12 Thread gatesphere
Hi Terry, In Win7/Py 2.7/PyQt4 I get: Leo 4.11 final, build 5d56a98ee77c (branch: master), 2014-06-12 20:12:12 Python 2.7.3, qt version 4.8.4 Windows 7 AMD64 (build 6.1.7601) SP1 Was your Win7 copy not checked-out from git? There's some fall-back code in leoVersion.py that goes back to

Re: log window version numbers

2014-06-12 Thread 'Terry Brown' via leo-editor
On Thu, 12 Jun 2014 20:25:29 -0400 gatesphere gatesph...@gmail.com wrote: Was your Win7 copy not checked-out from git? There's some fall-back Ha, I guess that explains it - I got it from https://github.com/leo-editor/leo-editor/archive/master.zip which includes .gitignore, but not .git. Ok

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thu, Jun 12, 2014 at 7:19 PM, gatesphere gatesph...@gmail.com wrote: Just updated Leo from github, and Win7/Python 2.7/PyQt4 gives me this error: I'll get to vr2 next. EKR -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from

Re: Support for Qt5 has begun

2014-06-12 Thread Edward K. Ream
On Thu, Jun 12, 2014 at 6:20 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Minor non-import thing, line 464 in qtGui.py, QWheelEvent.delta() is now QWheelEvent.angleDelta(), to separate it from the new QWheelEvent.pixelDelta(). Fixed at recent rev. Also fixed