Re: Add icon to Qdialogs

2014-12-16 Thread Davy Cottet
Here a simple example of what I'm talking about : from leo.core.leoQt import QtWidgets b = QtWidgets.QMessageBox def independantBox(): This box is independant from Leo You can keep working without closing it It have its own tab on your desktop app panel # For no new app tab

Removed @chapter on undo

2014-12-16 Thread vitalije
Hello, I have been using Leo 4.8 or 4.9 for a long time (and older versions too). Recently, I updated my Leo to Leo-5.0-final. I am using ubuntu 14.04, Python 2.7.6, PyQt 4.8.6. In almost any of my leo files I have several @chapter nodes and didn't have any troubles until a few days ago when I

Re: Removed @chapter on undo

2014-12-16 Thread vitalije
Yes, certainly there is a bug related to chapter commands. I haven't reproduced the original bug, but I found possible related bug. To reproduce it: 1. open a new Leo file. 2. Execute command from menu Cmds - Chapters - Chapter-Create. 3. Type in mini-buffer non-ASCII name for newly

Re: Add icon to Qdialogs

2014-12-16 Thread Davy Cottet
Finally I think I find out the origin of this icon problem ! I was trying to play with evens of qFileDialog... and that was not working too. I found this thread http://stackoverflow.com/questions/23182678/qfiledialog-no-signals-emitted-wrong-starting-directory where it is advised not using