Re: Empty Math Panel Popups

2007-06-26 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h(revision 18812) +++ src/frontends/qt4/IconPalette.h(working copy) @@ -20,7 +20,7

Re: Empty Math Panel Popups

2007-06-26 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: > > > >> --- src/frontends/qt4/IconPalette.h(revision 18812) > >> +++ src/frontends/qt4/IconPalette.h(working copy) > >>

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: 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: Empty Math Panel Popups

2007-06-20 Thread Edwin Leuven
Bennett Helm wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so people won't likely try clicking there and discover the tear-off

Re: Empty Math Panel Popups

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 1:17 PM, Edwin Leuven wrote: Bennett Helm wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so people won't

Re: Empty Math Panel Popups

2007-06-20 Thread Edwin Leuven
Edwin Leuven wrote: PING! just for the record: unless someone shouts out i am gonna put this in by noon tomorrow (thu 21)

Re: Empty Math Panel Popups

2007-06-20 Thread Alfredo Braunstein
Edwin Leuven wrote: Edwin Leuven wrote: PING! just for the record: unless someone shouts out i am gonna put this in by noon tomorrow (thu 21) (shouting) You have my ok :-) A/

Re: Empty Math Panel Popups

2007-06-20 Thread Edwin Leuven
Bennett Helm wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so people won't likely try clicking there and discover the tear-off

Re: Empty Math Panel Popups

2007-06-20 Thread Bennett Helm
On Jun 20, 2007, at 1:17 PM, Edwin Leuven wrote: Bennett Helm wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so people won't

Re: Empty Math Panel Popups

2007-06-20 Thread Edwin Leuven
Edwin Leuven wrote: PING! just for the record: unless someone shouts out i am gonna put this in by noon tomorrow (thu 21)

Re: Empty Math Panel Popups

2007-06-20 Thread Alfredo Braunstein
Edwin Leuven wrote: > Edwin Leuven wrote: >> PING! > > just for the record: > > unless someone shouts out i am gonna put this in by noon tomorrow (thu 21) (shouting) You have my ok :-) 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: 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: Empty Math Panel Popups

2007-06-19 Thread Bennett Helm
On Jun 19, 2007, at 6:08 AM, 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? ;-) tearoff2.diff It works on Mac, though

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: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
Bennett Helm wrote: It works on Mac, though it's not obvious that it should. don't know what this means The panel that pops up has a wider border on the top with an extra horizontal line, but nothing that looks like a title bar. sounds like intended behavior: this is the regular popup

Re: Empty Math Panel Popups

2007-06-19 Thread Bennett Helm
On Jun 19, 2007, at 9:13 AM, Leuven, E. wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. don't know what this means What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so

RE: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
Bennett Helm wrote: What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so people won't likely try clicking there and discover the tear-off feature. Is there some other way to make this function more apparent? i've

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 04:14:18PM +0200, Leuven, E. wrote: in summary: - allow panels to tear off using only qt 4.1 functionality - reported to work on windows, linux and mac seeking 2 ok's Edwin, I really appreciate your effort for trying to provide this feature with Qt 4.1. However,

Re: Empty Math Panel Popups

2007-06-19 Thread Edwin Leuven
Enrico Forestieri wrote: Edwin, I really appreciate your effort for trying to provide this feature with Qt 4.1. However, I think that we should not jump through hoops if something is hard to obtain with older Qt versions. It suffices to let the thing compile, even with reduced functionality. I

Re: Empty Math Panel Popups

2007-06-19 Thread Andreas Neustifter
in summary: - allow panels to tear off using only qt 4.1 functionality - reported to work on windows, linux and mac seeking 2 ok's tearoff2.diff works for me with latest svn, qt4.3.0 and mac os x. andi

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 08:40:52PM +0200, Edwin Leuven wrote: the attached patch has the advantage that it also allows tearoff panels on the mac i would be very surprised if this one doesn't work for you You did it! Works like a charm. A big thank you! -- Enrico

Re: Empty Math Panel Popups

2007-06-19 Thread Edwin Leuven
Enrico Forestieri wrote: You did it! Works like a charm. :) A big thank you! thanks for testing! ... will collect 2 ok's tomorrow. josé?

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: 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: Empty Math Panel Popups

2007-06-19 Thread Bennett Helm
On Jun 19, 2007, at 6:08 AM, 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? ;-) It works on Mac, though it's not obvious

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: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
Bennett Helm wrote: > It works on Mac, though it's not obvious that it should. don't know what this means > The panel > that pops up has a wider border on the top with an extra horizontal > line, but nothing that looks like a title bar. sounds like intended behavior: this is the regular popup

Re: Empty Math Panel Popups

2007-06-19 Thread Bennett Helm
On Jun 19, 2007, at 9:13 AM, Leuven, E. wrote: Bennett Helm wrote: It works on Mac, though it's not obvious that it should. don't know what this means What I meant is that when the panel pops up, there's no clear indication from its appearance that tearing it off can work, and so

RE: Empty Math Panel Popups

2007-06-19 Thread Leuven, E.
Bennett Helm wrote: > What I meant is that when the panel pops up, there's no clear indication > from its appearance that tearing it off can work, and so people won't > likely try clicking there and discover the tear-off feature. Is there > some other way to make this function more apparent?

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 04:14:18PM +0200, Leuven, E. wrote: > in summary: > > - allow panels to tear off using only qt 4.1 functionality > > - reported to work on windows, linux and mac > > seeking 2 ok's Edwin, I really appreciate your effort for trying to provide this feature with Qt 4.1.

Re: Empty Math Panel Popups

2007-06-19 Thread Edwin Leuven
Enrico Forestieri wrote: Edwin, I really appreciate your effort for trying to provide this feature with Qt 4.1. However, I think that we should not jump through hoops if something is hard to obtain with older Qt versions. It suffices to let the thing compile, even with reduced functionality. I

Re: Empty Math Panel Popups

2007-06-19 Thread Andreas Neustifter
in summary: - allow panels to tear off using only qt 4.1 functionality - reported to work on windows, linux and mac seeking 2 ok's works for me with latest svn, qt4.3.0 and mac os x. andi

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 08:40:52PM +0200, Edwin Leuven wrote: > the attached patch has the advantage that it also allows tearoff panels > on the mac > > i would be very surprised if this one doesn't work for you You did it! Works like a charm. A big thank you! -- Enrico

Re: Empty Math Panel Popups

2007-06-19 Thread Edwin Leuven
Enrico Forestieri wrote: You did it! Works like a charm. :) A big thank you! thanks for testing! ... will collect 2 ok's tomorrow. josé?

Empty Math Panel Popups

2007-06-18 Thread Andreas Neustifter
Hi, I yesterday finally had the time to compile the latest SVN version and give it a try, unfortunately I had a problem with the math toolbars: After firing LyX up and turning on the math panel all the pop-up windows (to select Greek letters for example or to select AMS symbols) are

RE: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
Andreas Neustifter wrote: I yesterday finally had the time to compile the latest SVN version and give it a try, unfortunately I had a problem with the math toolbars: After firing LyX up and turning on the math panel all the pop-up windows (to select Greek letters for example or to select

Re: Empty Math Panel Popups

2007-06-18 Thread Stefan Schimanski
Am 18.06.2007 um 11:39 schrieb Leuven, E.: Andreas Neustifter wrote: I yesterday finally had the time to compile the latest SVN version and give it a try, unfortunately I had a problem with the math toolbars: After firing LyX up and turning on the math panel all the pop-up windows (to

RE: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
Stefan Schimanski wrote: Yes, they are empty! I am also on Mac. Never use them though, so I never noticed. This is a show stopper for mac. well, then the tear-off version needs to be disabled for mac until someone finds a solution. would the attached do this? Index:

Re: Empty Math Panel Popups

2007-06-18 Thread Stefan Schimanski
It does not even compile: #if QT_VERSION = 0x040200 !Q_WS_MACX gives operator '!' has no right operand. Stefan Am 18.06.2007 um 12:06 schrieb Leuven, E.: disabletearoff.diff PGP.sig Description: Signierter Teil der Nachricht

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h (revision 18812) +++ src/frontends/qt4/IconPalette.h (working copy) @@ -20,7 +20,7 @@ // FIXME: this can go when we move to Qt 4.3 #define QT_VERSION_CHECK(major, minor, patch)

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h (revision 18812) +++ src/frontends/qt4/IconPalette.h (working copy) @@ -20,7 +20,7 @@ // FIXME: this can go when we move to Qt 4.3 #define QT_VERSION_CHECK(major,

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h(revision 18812) +++ src/frontends/qt4/IconPalette.h(working copy) @@ -20,7 +20,7

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: I think there are two solutions: 1) require Qt4.2 While tearing away math panels maybe a nice feature, it is not essential, So are a lot of features of LyX :-). But I personally won't use that

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

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 choice,

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

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 you

Re: Empty Math Panel Popups

2007-06-18 Thread Andre Poenitz
On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote: It does not even compile: #if QT_VERSION = 0x040200 !Q_WS_MACX gives operator '!' has no right operand. Maybe !defined(Q_WS_MACX) is better. Andre'

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

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! ;-) the idea is

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:44:15PM +0200, Andre Poenitz wrote: On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote: It does not even compile: #if QT_VERSION = 0x040200 !Q_WS_MACX gives operator '!' has no right operand. Maybe !defined(Q_WS_MACX) is better.

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: 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 ourselves +

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 makes the panel

Empty Math Panel Popups

2007-06-18 Thread Andreas Neustifter
Hi, I yesterday finally had the time to compile the latest SVN version and give it a try, unfortunately I had a problem with the math toolbars: After firing LyX up and turning on the math panel all the pop-up windows (to select Greek letters for example or to select AMS symbols) are

RE: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
Andreas Neustifter wrote: > I yesterday finally had the time to compile the latest SVN version and > give it a try, unfortunately I had a problem with the math toolbars: > > After firing LyX up and turning on the math panel all the pop-up windows > (to select Greek letters for example or to

Re: Empty Math Panel Popups

2007-06-18 Thread Stefan Schimanski
Am 18.06.2007 um 11:39 schrieb Leuven, E.: Andreas Neustifter wrote: I yesterday finally had the time to compile the latest SVN version and give it a try, unfortunately I had a problem with the math toolbars: After firing LyX up and turning on the math panel all the pop-up windows (to

RE: Empty Math Panel Popups

2007-06-18 Thread Leuven, E.
Stefan Schimanski wrote: > Yes, they are empty! I am also on Mac. Never use them though, so I never > noticed. This is a show stopper for mac. well, then the tear-off version needs to be disabled for mac until someone finds a solution. would the attached do this? Index:

Re: Empty Math Panel Popups

2007-06-18 Thread Stefan Schimanski
It does not even compile: #if QT_VERSION >= 0x040200 && !Q_WS_MACX gives "operator '!' has no right operand". Stefan Am 18.06.2007 um 12:06 schrieb Leuven, E.: PGP.sig Description: Signierter Teil der Nachricht

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: > --- src/frontends/qt4/IconPalette.h (revision 18812) > +++ src/frontends/qt4/IconPalette.h (working copy) > @@ -20,7 +20,7 @@ > // FIXME: this can go when we move to Qt 4.3 > #define QT_VERSION_CHECK(major, minor, patch) >

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h (revision 18812) +++ src/frontends/qt4/IconPalette.h (working copy) @@ -20,7 +20,7 @@ // FIXME: this can go when we move to Qt 4.3 #define QT_VERSION_CHECK(major,

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: > > > >> --- src/frontends/qt4/IconPalette.h(revision 18812) > >> +++ src/frontends/qt4/IconPalette.h(working copy) > >>

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: I think there are two solutions: 1) require Qt4.2 While tearing away math panels maybe a nice feature, it is not essential, So are a lot of features of LyX :-). But I personally won't use that

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

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

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

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

Re: Empty Math Panel Popups

2007-06-18 Thread Andre Poenitz
On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote: > It does not even compile: > > #if QT_VERSION >= 0x040200 && !Q_WS_MACX > > gives "operator '!' has no right operand". Maybe !defined(Q_WS_MACX) is better. Andre'

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

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: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:44:15PM +0200, Andre Poenitz wrote: > On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote: > > It does not even compile: > > > > #if QT_VERSION >= 0x040200 && !Q_WS_MACX > > > > gives "operator '!' has no right operand". > > Maybe !defined(Q_WS_MACX)

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: 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

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"