On Fri, Oct 05, 2007 at 11:27:12AM +0200, Abdelrazak Younes wrote:
> Hello,
> 
> I would like to help Tommaso to finish his Advanced Search dialog (see 
> http://bugzilla.lyx.org/show_bug.cgi?id=3998). For this, we need a good 
> infrastructure for embedding one or more workareas into a dialog. So far 
> we have two options:
> 
> 1) The dialog is a main window dependent dock widget: it then make sense 
> to be able to use the control in the main view toolbar for editing. 
> Implementation wise, this means that the main window (LyXView/GuiView) 
> has to know about the embedding status of the current work area. This is 
> more or less the way Tommaso has implemented his feature.
> 
> 2) The dialog is independent from the main window (but dockable of 
> course): this means that the controls of the main window won't be 
> available. Implementation wise this mean that we would create a new 
> class inheriting from LyXView but specially tailored for embedded use 
> where things like buffer-switch etc don't make sense. Carefully chosen 
> controls can be chosen to be put in this reduced LyXView (the layout box 
> mainly). For complicated cases, my reasoning was that someone willing to 
> use this dialog will first type the text in the main window and, when 
> finished, copy&paste the text in the embedded dialog.
> 
> I am not sure which one I like, yesterday it was 2) but today it is 1).
> 
> Ideas or suggestions?

Wouldn't it be sufficient to have search&replace entiery embededed in
the status bar somehow. I find s&r _dialogs_ terrible in general.

Andre'

Reply via email to