Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-14 Thread John Levon
On Mon, Aug 04, 2003 at 11:19:34PM +0200, Jean-Marc Lasgouttes wrote: > So I did that and the thing works (wow!) *but* selection is broken... > > So this is the place in my message where I say: ``John, I need your > help!'' Well, I spent some time looking and have come up with a hypothesis : Go

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-14 Thread Angus Leeming
John Levon wrote: > p.s. if we wanted to be really cool we'd accept images too :) or things defined by external_templates, or by the include inset or by the bibtex inset... -- Angus

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-07 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Mon, Aug 04, 2003 at 11:19:34PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> The following patch aims at making drag and drop of lyx files work >> on Qt. The main code (in QWorkarea) is trivial, but I need >> Bufferview_pimpl::wo

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-07 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: >> Maybe I should just add a new 'droppedFile' signal to workarea and >> call that directly... Would that make sense? John> Yes, I think. I'll try that, then. Or I could change BufferView::Pimpl::workareaDispatch to pass only mouse actions

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-06 Thread Andre Poenitz
On Mon, Aug 04, 2003 at 11:19:34PM +0200, Jean-Marc Lasgouttes wrote: > The following patch aims at making drag and drop of lyx files work on > Qt. The main code (in QWorkarea) is trivial, but I need > Bufferview_pimpl::workareaDispatch to call LyXView::dispatch instead > of its own. > > So I did

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-05 Thread John Levon
On Tue, Aug 05, 2003 at 04:30:06PM +0200, Jean-Marc Lasgouttes wrote: > And do you know what the > selection_possible = false; > line in lyxfunc::dispatch is supposed to do? No. That was my first suspect, but it's fine. I suspect the idea is that if you hover over an inset starting from o

Re: [PATCH] first go at making drag and drop of files work under Qt

2003-08-05 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Mon, Aug 04, 2003 at 11:19:34PM +0200, Jean-Marc Lasgouttes John> wrote: >> So I did that and the thing works (wow!) *but* selection is >> broken... >> >> So this is the place in my message where I say: ``John, I need your >> help!''

[PATCH] first go at making drag and drop of files work under Qt

2003-08-04 Thread Jean-Marc Lasgouttes
The following patch aims at making drag and drop of lyx files work on Qt. The main code (in QWorkarea) is trivial, but I need Bufferview_pimpl::workareaDispatch to call LyXView::dispatch instead of its own. So I did that and the thing works (wow!) *but* selection is broken... So this is the place