Re: [PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-30 Thread Bo Peng
But do we really need/want rc entries for this? This is the current behavior, and is the result of lengthy discussions. 1. by default, rc.geometry_widht/height = 0, use session to restore last window size 2. a user can set geometry temporarily using --geometry option 3. a user can set fixed g

Re: [PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-30 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | In the dialog, I check rc.geometry_width and geometry_height and | enable (all zeros) /disable (non zeros) save/load window size | checkbox. If a user uncheck save/load window size, specified geometry | will be saved as non-zero geometry rc entries. But do

Re: [PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-30 Thread Bo Peng
Sorry to chime in so late, but IMHO the best UI for setting these values is to simply size the window to the desired size and position before closing LyX like it is now. If you add these setting to the preferences you would need to disable the automatic setting (otherwise the selected values in th

Re: [PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-30 Thread Georg Baum
Am Sonntag, 30. Juli 2006 07:07 schrieb Bo Peng: > Hi, all, > > It is not bad to learn some signal-slot basics. Attached is a complete > qt3/qt4 patch that add these rc entries. Please test. If there is no > objection, I will apply the patch tomorrow. Sorry to chime in so late, but IMHO the best

Re: [PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-29 Thread Bo Peng
Hi, all, It is not bad to learn some signal-slot basics. Attached is a complete qt3/qt4 patch that add these rc entries. Please test. If there is no objection, I will apply the patch tomorrow. Now, the only missing part of the session patch series is the save and restoration of cursor stacks, wh

[PATCH] Add rc.geometry and rc.xysaved to preference dialog.

2006-07-28 Thread Bo Peng
Hi, all, I played with qt3 designer a bit and added rc.geometry_width, geometry_height, geometry_xysaved to the preference dialog. The problem is that I can not figure out a way to enable the spin boxes when checkbox load window size is unchecked. autoSaveCB autoSaveSB in the same page are playin