[Fwd: What is the qt functions to get/set position of the main window?]

2006-03-26 Thread Hammer Armin
Hi Bo, i've hacked the get/set function for the qt frontend on macosx some time ago. Perhaps you can clean it up. lyx_gui.diff : qt frontend code to get/set the window size and position lyxrc_C.diff, lyxfunc.diff, lyxrc_h.diff : to save/retrieve the infos from the Lyx Settings file. The patches

Re: Mac, gcc-4.0 compile error

2005-11-10 Thread Hammer Armin
Hi Michael, > Hello, > > while I have not tried to compile lyx with gcc 4.0 on MacOSX the group I > work in had some problems with that particular gcc. In our case updating > to XCode 2.1 (which you get for free on the apple development website - > caution download size is roughly 750M) solved ou

Re: Mac, gcc-4.0 compile error

2005-11-10 Thread Hammer Armin
Hi Bennett, I've encountered the same problem on Tiger using XCode 2.1 (which uses gcc 4.0.0). My solution was to build gcc 4.0.2 on macosx from the source and compile lyx-1.4.0cvs with it. With gcc 4.0.2 lyx compiles without problem on macosx. I expect Apple upgrade to gcc4.0.2 on XCode 2.2.

[Patch 1.4] save & restore qt mainwindow geometry in lyx preferenes file

2005-05-29 Thread Hammer Armin
Hello, here is my first try of a patch. The two patches add the ability of the qt-frontend to automatically store and retrieve the mainwindow position (x,y,width,height) in/from the lyx preferences file. - preferences.diff Adds 5 new settings to lyx preferences file: geometry_xysaved (bool)

Re: 2 questions regarding qt2 frontend

2005-05-14 Thread Hammer Armin
Hi Jean-Marc, > Hammer> On MacOsX the options doens'nt seems active. I got an "unknown > Hammer> option" error. > > Forget about it, this is done by qt/x11. > > Hammer> QSessions seems quite easy. I will give it try. > > But It seems to me that they do not provide much that cannot be done > by

Re: 2 questions regarding qt2 frontend

2005-05-12 Thread Hammer Armin
Hi Jean-Marc, > Hammer> Hi, I've seen in the Whishlist the usage of QSession > Hammer> mentionend. It would be nice to store and retrieve the window > Hammer> size and position. Is someone working on this? > > Hammer> I'm a bit out of practise using C++ but a could help. > > That would be a very

Re: 2 questions regarding qt2 frontend

2005-05-12 Thread Hammer Armin
Hi Anus, >>I've seen in the Whishlist the usage of QSession mentionend. >>It would be nice to store and retrieve the window size and >>position. Is someone working on this? > > > Nope. > > >>I'm a bit out of practise using C++ but a could help. > > > Excellent! I've been playing around with

2 questions regarding qt2 frontend

2005-05-10 Thread Hammer Armin
Hi, I've seen in the Whishlist the usage of QSession mentionend. It would be nice to store and retrieve the window size and position. Is someone working on this? I'm a bit out of practise using C++ but a could help. The other question concerns the menuitems. In my build of LyX 1.4.0cvs - on Mac