Combine math toolbar and math panel?

2009-02-26 Thread David Raymond
I use math a lot in lyx, and it would seem simpler to me to combine the math toolbar and the math panel into a single, double-decker toolbar. I find myself using the panel as much as the toolbar, and I am not sure why they are separated. One minor problem: When adding math to the end of a file

Re: Combine math toolbar and math panel?

2009-02-26 Thread Pavel Sanda
David Raymond wrote: One minor problem: When adding math to the end of a file, the automatic popup of the toolbar (which I like very much) partially covers the math box until one starts typing math. If the math panel is also activated, it completely covers the box. The box pops into view

Combine math toolbar and math panel?

2009-02-26 Thread David Raymond
I use math a lot in lyx, and it would seem simpler to me to combine the math toolbar and the math panel into a single, double-decker toolbar. I find myself using the panel as much as the toolbar, and I am not sure why they are separated. One minor problem: When adding math to the end of a file

Re: Combine math toolbar and math panel?

2009-02-26 Thread Pavel Sanda
David Raymond wrote: > One minor problem: When adding math to the end of a file, the > automatic popup of the toolbar (which I like very much) partially > covers the math box until one starts typing math. If the math panel > is also activated, it completely covers the box.

Re: Empty Math Panel Popups

2007-06-26 Thread Enrico Forestieri
perform like the preprocessor. It doesn't parse included files, such that QT_VERSION is undefined, and doesn't understand macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread tear-off math panel. I think there are two solutions: 1) require

Re: Empty Math Panel Popups

2007-06-26 Thread Enrico Forestieri
_VERSION_CHECK(4, 2, 0) > >> +#if QT_VERSION >= QT_VERSION_CHECK(4, 2, 0) && !Q_WS_MACX > >> #include > >> #endif > > > > Edwin, moc doesn't perform like the preprocessor. It doesn't parse > > included files, such that QT_VERSION is undefin

[patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3557 Pretty simple. OK to apply? Jürgen P.S.: Edwin, did you notice that the math panel items that use POPUP_MENU (the first for in the toolbar) to not get unpressed correctly? E.g. activate the spaces popup and then some the other ones in line. All

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Alfredo Braunstein
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3557 Pretty simple. OK to apply? OK. A/

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread José Matos
On Sunday 24 June 2007 13:33:54 Jürgen Spitzmüller wrote: Pretty simple. OK to apply? Jürgen OK. -- José Abílio

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Edwin Leuven
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3557 Pretty simple. OK to apply? sure P.S.: Edwin, did you notice that the math panel items that use POPUP_MENU (the first for in the toolbar) to not get unpressed correctly? E.g. activate the spaces popup and then some

[patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3557 Pretty simple. OK to apply? Jürgen P.S.: Edwin, did you notice that the math panel items that use POPUP_MENU (the first for in the toolbar) to not get "unpressed" correctly? E.g. activate the "spaces" popup and then some the oth

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Alfredo Braunstein
Jürgen Spitzmüller wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=3557 > > Pretty simple. OK to apply? OK. A/

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread José Matos
On Sunday 24 June 2007 13:33:54 Jürgen Spitzmüller wrote: > Pretty simple. OK to apply? > > Jürgen OK. -- José Abílio

Re: [patch] bug 3557: Math panel toolbar should be enabled in text mode

2007-06-24 Thread Edwin Leuven
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3557 Pretty simple. OK to apply? sure P.S.: Edwin, did you notice that the math panel items that use POPUP_MENU (the first for in the toolbar) to not get "unpressed" correctly? E.g. activate the "spaces"

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

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

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
macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread tear-off math panel. -- Enrico

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
, and doesn't understand macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread tear-off math panel. I think there are two solutions: 1) require Qt4.2 2) Modify the build system(s) to selectively compile IconPalette_42.{h,cpp} when Qt = 4.2 is detected

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
perform like the preprocessor. It doesn't parse included files, such that QT_VERSION is undefined, and doesn't understand macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread tear-off math panel. I think there are two solutions: 1) require

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

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 lett

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

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
luded files, such that QT_VERSION is undefined, and doesn't understand macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread "tear-off math panel". -- Enrico

Re: Empty Math Panel Popups

2007-06-18 Thread Abdelrazak Younes
at QT_VERSION is undefined, and doesn't understand macros. In the check above, moc chooses randomly one branch or another. See what I wrote in the thread "tear-off math panel". I think there are two solutions: 1) require Qt4.2 2) Modify the build system(s) to selectively compile IconPalette_4

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
_VERSION_CHECK(4, 2, 0) > >> +#if QT_VERSION >= QT_VERSION_CHECK(4, 2, 0) && !Q_WS_MACX > >> #include > >> #endif > > > > Edwin, moc doesn't perform like the preprocessor. It doesn't parse > > included files, such that QT_VERSION is undefin

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"

Re: math panel icons

2007-05-03 Thread Helge Hafting
Leuven, E. wrote: guys, any concencus on these icons? -Original Message- From: Edwin Leuven [mailto:[EMAIL PROTECTED] Sent: Thu 4/26/07 23:59 To: lyx-devel@lists.lyx.org Subject: math panel icons i stumbled on this site with math icons: http://us.metamath.org/symbols/symbols.html

Re: math panel icons

2007-05-03 Thread Enrico Forestieri
On Wed, May 02, 2007 at 04:18:44PM +0200, Leuven, E. wrote: guys, any concencus on these icons? Edwin, as nobody has complained, I would say put them in. -- Enrico

RE: math panel icons

2007-05-03 Thread Leuven, E.
Enrico Forestieri wrote: Edwin, as nobody has complained, I would say put them in. i was thinking the same thing... josé?

Re: math panel icons

2007-05-03 Thread José Matos
On Thursday 03 May 2007 12:21:13 Leuven, E. wrote: Enrico Forestieri wrote: Edwin, as nobody has complained, I would say put them in. i was thinking the same thing... josé? Yes, no problem. :-) -- José Abílio

Re: math panel icons

2007-05-03 Thread Helge Hafting
Leuven, E. wrote: guys, any concencus on these icons? -Original Message- From: Edwin Leuven [mailto:[EMAIL PROTECTED] Sent: Thu 4/26/07 23:59 To: lyx-devel@lists.lyx.org Subject: math panel icons i stumbled on this site with math icons: http://us.metamath.org/symbols/symbols.html

Re: math panel icons

2007-05-03 Thread Enrico Forestieri
On Wed, May 02, 2007 at 04:18:44PM +0200, Leuven, E. wrote: > guys, any concencus on these icons? Edwin, as nobody has complained, I would say put them in. -- Enrico

RE: math panel icons

2007-05-03 Thread Leuven, E.
Enrico Forestieri wrote: > Edwin, as nobody has complained, I would say put them in. i was thinking the same thing... josé?

Re: math panel icons

2007-05-03 Thread José Matos
On Thursday 03 May 2007 12:21:13 Leuven, E. wrote: > Enrico Forestieri wrote: > > Edwin, as nobody has complained, I would say put them in. > > i was thinking the same thing... > > josé? Yes, no problem. :-) -- José Abílio

RE: math panel icons

2007-05-02 Thread Leuven, E.
guys, any concencus on these icons? -Original Message- From: Edwin Leuven [mailto:[EMAIL PROTECTED] Sent: Thu 4/26/07 23:59 To: lyx-devel@lists.lyx.org Subject: math panel icons i stumbled on this site with math icons: http://us.metamath.org/symbols/symbols.html the license

RE: math panel icons

2007-05-02 Thread Leuven, E.
guys, any concencus on these icons? -Original Message- From: Edwin Leuven [mailto:[EMAIL PROTECTED] Sent: Thu 4/26/07 23:59 To: lyx-devel@lists.lyx.org Subject: math panel icons i stumbled on this site with math icons: http://us.metamath.org/symbols/symbols.html the license

Re: math panel icons

2007-04-27 Thread Abdelrazak Younes
Edwin Leuven wrote: i stumbled on this site with math icons: http://us.metamath.org/symbols/symbols.html Nice. the license of these files is the creative commons public domain dedication they are uniform in style (unlike lyx's) i have added some of my own, converted the png's to xpm's,

Re: math panel icons

2007-04-27 Thread José Matos
On Friday 27 April 2007 7:16:04 am Abdelrazak Younes wrote: I am in favour of putting them in but I think we should keep the orginal format: no conversion to png. We must switch to png, really. AFAIU this is a remnant of xforms inability to deal with png, right? Any modern toolkit supports

  1   2   3   4   5   6   7   8   >