Jean-Marc Lasgouttes
2011-07-18 18:47:48 UTC
It occurred to me that it is better to let Qt make a nice windows title
for us. The following patch does that (Qt >= 4.4).
The main gain is to get the sexy mac os features that are useless and
therefore a must-have
- a black dot in the windows close button to indicate that the file is
modified
- a small icon beside the file name in the title bar. This icon is a
proxy for the file that can be dragged and dropped easily; moreover
Command-click on the icon shows the path up to the file and allows to
open the finder
- "LyX" is not shown anymore in the title bar (the main menu bar does
that already)
For other OSes, one just gets a name "LyX -- file.lyx", along with a
star for dirty documents.
The problem is what we lose to pieces of information:
- version control
- read only
I think these hints should move to small dedicated areas of the status
bar (and I'd prefer SVN/CVS/RCS to Version Control), where theu would be
easier to spot. However, I do not know how to do that, and therefore I
just drop this patch here for whoever knows how to go forward.
JMarc
for us. The following patch does that (Qt >= 4.4).
The main gain is to get the sexy mac os features that are useless and
therefore a must-have
- a black dot in the windows close button to indicate that the file is
modified
- a small icon beside the file name in the title bar. This icon is a
proxy for the file that can be dragged and dropped easily; moreover
Command-click on the icon shows the path up to the file and allows to
open the finder
- "LyX" is not shown anymore in the title bar (the main menu bar does
that already)
For other OSes, one just gets a name "LyX -- file.lyx", along with a
star for dirty documents.
The problem is what we lose to pieces of information:
- version control
- read only
I think these hints should move to small dedicated areas of the status
bar (and I'd prefer SVN/CVS/RCS to Version Control), where theu would be
easier to spot. However, I do not know how to do that, and therefore I
just drop this patch here for whoever knows how to go forward.
JMarc