RE: Re: Empty Math Panel Popups

2007-06-21 Thread Leuven, E.
Alfredo wrote: >> Edwin Leuven wrote: >> unless someone shouts out i am gonna put this in by noon tomorrow (thu 21) > > (shouting) You have my ok :-) enjoy: http://www.lyx.org/trac/changeset/18842

RE: RE: RE: RE: Re: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
From: news on behalf of Alfredo Braunstein > Works fine here (linux, qt 4.2.3). Nice stuff. great. so if now some mac people can chime in...

RE: RE: RE: Re: Empty Math Panel Popups

2007-06-19 Thread Alfredo Braunstein
Leuven, E. wrote: > another approach: > > here i use the old math panel (the one that works for everyone) > > and draw a tear-off widget ourselves > > works fine for me > > so am seeking volunteers (esp mac and linux)! > > any takers? ;-) Works fine here (linux, qt 4.2.3). Nice stuff. A/

RE: RE: RE: Re: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
another approach: here i use the old math panel (the one that works for everyone) and draw a tear-off widget ourselves works fine for me so am seeking volunteers (esp mac and linux)! any takers? ;-) Index: src/frontends/qt4/IconPalette.cpp ==

RE: RE: Re: Empty Math Panel Popups

2007-06-18 Thread Alfredo Braunstein
Leuven, E. wrote: >> Tried it (qt 4.2.3 here). Doesn't seem to work well: >> the panel gets a decoration like normal windows when opened (so it's >> already detached) >>, and moreover closes itself when clicking on a symbol. > > no! no! no! ;-) > > the idea is the following: > > "detaching" mak

Re: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:58:32PM +0200, Leuven, E. wrote: > Andre Poenitz wrote: > > On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: > >> +/* i didn't find a smarter way to find out > >> + * whether a move was made by the user > >> + * because we also move the widget ours

RE: Re: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
Andre Poenitz wrote: > On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: >> +/* i didn't find a smarter way to find out >> + * whether a move was made by the user >> + * because we also move the widget ourselves >> + * to make it popup in the right position... >> + */

Re: RE: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:20:07PM +0200, Leuven, E. wrote: > > Tried it (qt 4.2.3 here). Doesn't seem to work well: > > the panel gets a decoration like normal windows when opened (so it's > > already detached) > >, and moreover closes itself when clicking on a symbol. > > no! no! no! ;-) > >

Re: Re: Empty Math Panel Popups

2007-06-18 Thread Andre Poenitz
On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: > + /* i didn't find a smarter way to find out > + * whether a move was made by the user > + * because we also move the widget ourselves > + * to make it popup in the right position... > + */ > + switch (event->

RE: RE: Re: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
> Tried it (qt 4.2.3 here). Doesn't seem to work well: > the panel gets a decoration like normal windows when opened (so it's already > detached) >, and moreover closes itself when clicking on a symbol. no! no! no! ;-) the idea is the following: "detaching" makes the panel stay on top so that y

RE: Re: Empty Math Panel Popups

2007-06-18 Thread Alfredo Braunstein
Leuven, E. wrote: > can people try the attached? > > it is another approach to tear off the panels: simply move the panel > > this time only using 4.1 stuff ... Tried it (qt 4.2.3 here). Doesn't seem to work well: the panel gets a decoration like normal windows when opened (so it's already deta

Re: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: > can people try the attached? > > it is another approach to tear off the panels: simply move the panel > > this time only using 4.1 stuff ... Works for me with both Qt 4.1.4 and 4.2.2. However, the panel disappears after making a choi

RE: Re: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
can people try the attached? it is another approach to tear off the panels: simply move the panel this time only using 4.1 stuff ... Index: src/frontends/qt4/IconPalette.cpp === --- src/frontends/qt4/IconPalette.cpp (revision 18813)