Re: Where to put "compress lyx file" check box?

2006-04-28 Thread Abdelrazak Younes
Andre Poenitz a écrit : On Thu, Apr 27, 2006 at 09:08:19PM +0200, Abdelrazak Younes wrote: 4) Extend QFileDialog without hacking. Just create the beast, hunt through the list of child widgets and layouts until you find something appropriate, and add a new button as child widget there. I'd say th

Re: Where to put "compress lyx file" check box?

2006-04-28 Thread Andre Poenitz
On Thu, Apr 27, 2006 at 09:08:19PM +0200, Abdelrazak Younes wrote: > >4) Extend QFileDialog without hacking. Just create the beast, hunt > >through the list of child widgets and layouts until you find something > >appropriate, and add a new button as child widget there. > > I'd say this is a hack

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Andre Poenitz a écrit : On Thu, Apr 27, 2006 at 12:37:45PM +0200, Abdelrazak Younes wrote: I just had an interesting journey in QFileDialog implementation. The functionality is all there but it's all private :-( It looks very easy to add any button we'd like there. Another option would be to

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Andre Poenitz
On Thu, Apr 27, 2006 at 10:31:16AM +0200, Jean-Marc Lasgouttes wrote: > > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> Bo Peng a écrit : > >> Dear all, The document -> settings dialog is pretty well organized, > >> and I could not find a good place for this opt

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Andre Poenitz
On Thu, Apr 27, 2006 at 12:37:45PM +0200, Abdelrazak Younes wrote: > I just had an interesting journey in QFileDialog implementation. The > functionality is all there but it's all private :-( > It looks very easy to add any button we'd like there. > > >Another option would > >be to create our ow

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Enrico Forestieri
On Thu, Apr 27, 2006 at 05:26:09PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >On Thu, Apr 27, 2006 at 10:46:13AM +0200, Abdelrazak Younes wrote: > > > >>On windows, I think there's a public API for that kind of stuff yes. But > >>I really prefer the simpler, faster, leaner ly

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Thu, Apr 27, 2006 at 10:46:13AM +0200, Abdelrazak Younes wrote: On windows, I think there's a public API for that kind of stuff yes. But I really prefer the simpler, faster, leaner lyx file dialog. I really don't understand why people insist on using the native o

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> OK, I think this is the easiest think to do now. Bo, do you still >> have your patch at hand? File-> Compressed or document->compressed? I'd say Document>Compressed. JMarc

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Enrico Forestieri
On Thu, Apr 27, 2006 at 10:46:13AM +0200, Abdelrazak Younes wrote: > On windows, I think there's a public API for that kind of stuff yes. But > I really prefer the simpler, faster, leaner lyx file dialog. I really > don't understand why people insist on using the native ones for opening > lyx f

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Bo Peng
> OK, I think this is the easiest think to do now. Bo, do you still have > your patch at hand? File->Compressed or document->compressed? Bo

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> You're misunderstanding. My idea was not to put it in the Bennett> dialog, but in the *menu*. So if a user selects Document > Bennett> Compressed, that menu line gets checked and if the user Bennett> r

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> You're misunderstanding. My idea was not to put it in the Bennett> dialog, but in the *menu*. So if a user selects Document > Bennett> Compressed, that menu line gets checked and if the user Bennett> reselects it, it gets uncheck

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Bo Peng a écrit : I think Bennet is talking about a checkable menu item in the Document menu. That's not a bad idea actually. I posted that patch long ago (File->compressed) ... JMarc suggested Document->settings. I won't position myself between you too ;-) Abdel.

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Bennett Helm
On Apr 27, 2006, at 8:38 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Why not make it an item under the Document menu, say just Bennett> under Document Settings...? (If checked, the file is Bennett> compressed; if not, it's not -- similar to Do

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Bo Peng
> I think Bennet is talking about a checkable menu item in the Document > menu. That's not a bad idea actually. I posted that patch long ago (File->compressed) ... JMarc suggested Document->settings. Bo

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Why not make it an item under the Document menu, say just Bennett> under Document Settings...? (If checked, the file is Bennett> compressed; if not, it's not -- similar to Document -> Change Bennett> T

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Why not make it an item under the Document menu, say just Bennett> under Document Settings...? (If checked, the file is Bennett> compressed; if not, it's not -- similar to Document -> Change Bennett> Tracking -> Show Changes in O

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Bennett Helm
On Apr 27, 2006, at 4:31 AM, Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bo Peng a écrit : Dear all, The document -> settings dialog is pretty well organized, and I could not find a good place for this option. Any idea? Abdelrazak>

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> Dear all, The document -> settings dialog is pretty well Bo> organized, and I could not find a good place for this option. Any Bo> idea? Not really :( JMarc

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Leuven, E. a écrit : On windows, I think there's a public API for that kind of stuff yes. But I really prefer the simpler, faster, leaner lyx file dialog. I really don't understand why people insist on using the native ones for opening lyx files. But I agree that th

RE: Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Leuven, E.
> Haven't looked at QFileDialog yet but the documentation seems to say > that it is not up to the Q3 version feature wise. Another option would > be to create our own dialog using QDirModel. ok thanks > PS: There seems to be a problem with your mailer, no line wrap. the problem with my mailer i

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Leuven, E. a écrit : On windows, I think there's a public API for that kind of stuff yes. But I really prefer the simpler, faster, leaner lyx file dialog. I really don't understand why people insist on using the native ones for opening lyx files. But I agree that the native dialog is useful whe

RE: Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Leuven, E.
> On windows, I think there's a public API for that kind of stuff yes. But >I really prefer the simpler, faster, leaner lyx file dialog. I really >don't understand why people insist on using the native ones for opening >lyx files. But I agree that the native dialog is useful when you want to >i

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bo Peng a écrit : >> Dear all, The document -> settings dialog is pretty well organized, >> and I could not find a good place for this option. Any idea? Abdelrazak> I would put it in the File dialog instead. The idea

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Bo Peng a écrit : Dear all, The document -> settings dialog is pretty well organized, and I could not find a good place for this option. Any idea? Abdelrazak> I would put it in the File d

Re: Where to put "compress lyx file" check box?

2006-04-27 Thread Abdelrazak Younes
Bo Peng a écrit : Dear all, The document -> settings dialog is pretty well organized, and I could not find a good place for this option. Any idea? I would put it in the File dialog instead. The idea is that this feature is transparent for the user, right? In this case, lyx will only save in

Where to put "compress lyx file" check box?

2006-04-26 Thread Bo Peng
Dear all, The document -> settings dialog is pretty well organized, and I could not find a good place for this option. Any idea? Bo