Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-10 Thread Andre Poenitz
On Sun, Apr 09, 2006 at 10:26:19AM +0200, Abdelrazak Younes wrote: > See above, I am talking about _all_ the installed math icons. Andre, do > you see any problem with that logic? Are the qrc limited in the number > of icons? I've never hit a limit there. It's a 'proper' directory structure as f

Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Well in the case of qt4 package the advantage is that Abdelrazak> these icons won't need to be installed. Themability is Abdelrazak> good for the toolbar icons but in the case of math, we are Abdelrazak> talking about

Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-09 Thread Abdelrazak Younes
Georg Baum a écrit : Am Sonntag, 9. April 2006 10:26 schrieb Abdelrazak Younes: The paths in the ui file won't be used because they are overwritten in the code. They are there to provide a visual feedback inside the Designer. Is it something forbidden? Not at all, and it is not too important

Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-09 Thread Georg Baum
Am Sonntag, 9. April 2006 10:26 schrieb Abdelrazak Younes: > The paths in the ui file won't be used because they are overwritten in > the code. They are there to provide a visual feedback inside the > Designer. Is it something forbidden? Not at all, and it is not too important anyway. I just thi

Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-09 Thread Abdelrazak Younes
Georg Baum a écrit : Am Samstag, 8. April 2006 20:57 schrieb Abdelrazak Younes: OK, here's the patch. Please verify that I did not any mistake in Makefile.am. This patch removes the hack for now by using LibFileSearch as you suggested. I like very much the qrc approach suggested by Andre but I

Re: [Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-08 Thread Georg Baum
Am Samstag, 8. April 2006 20:57 schrieb Abdelrazak Younes: > OK, here's the patch. Please verify that I did not any mistake in > Makefile.am. > This patch removes the hack for now by using LibFileSearch as you > suggested. I like very much the qrc approach suggested by Andre but I > think this s

[Patch] Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-08 Thread Abdelrazak Younes
Georg Baum a écrit : Am Freitag, 7. April 2006 23:56 schrieb Georg Baum: Here is the patch (again only the relevant files). It goes in tomorrow if nobody objects. Done. Abdel, please fix the qt4 icons: Either by creating a resource file, or by loading them at runtime and move the icons into

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-08 Thread Abdelrazak Younes
Georg Baum a écrit : Am Freitag, 7. April 2006 18:11 schrieb Abdelrazak Younes: Yes, as the icons path would be define in the action rc file: unified menubar and toolbar with func definition, icons, tooltips, etc. I see, but the current icon loading mechanism is not too bad (only the automati

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-08 Thread Georg Baum
Am Freitag, 7. April 2006 23:56 schrieb Georg Baum: > Here is the patch (again only the relevant files). It goes in tomorrow if > nobody objects. Done. Abdel, please fix the qt4 icons: Either by creating a resource file, or by loading them at runtime and move the icons into the correct install

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-07 Thread Georg Baum
Am Freitag, 7. April 2006 18:11 schrieb Abdelrazak Younes: > Georg Baum a écrit : > > Abdelrazak Younes wrote: > > > >> In the case of Math icon, I am not sure themability is desired but > >> indeed, why not... > > > > I have no strong opinion on this, I simply thought it would be useful. > > Nev

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-07 Thread Abdelrazak Younes
Georg Baum a écrit : Abdelrazak Younes wrote: In the case of Math icon, I am not sure themability is desired but indeed, why not... I have no strong opinion on this, I simply thought it would be useful. Nevertheless, even if the icons are not distributed I think we should have them all in one

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-07 Thread Georg Baum
Abdelrazak Younes wrote: > In the case of Math icon, I am not sure themability is desired but > indeed, why not... I have no strong opinion on this, I simply thought it would be useful. Nevertheless, even if the icons are not distributed I think we should have them all in one place. I'll therefor

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-07 Thread Abdelrazak Younes
Georg Baum a écrit : Andre Poenitz wrote: That's a solution for the wrong problem. With Qt4, the images do not need to be installed at all, they only need to be reachable at compile time when using the Qt 'resource compiler'. LibFileSearch is a run time thing. I know. Others requested "theme

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-06 Thread Georg Baum
Andre Poenitz wrote: > That's a solution for the wrong problem. With Qt4, the images do not > need to be installed at all, they only need to be reachable at compile > time when using the Qt 'resource compiler'. > > LibFileSearch is a run time thing. I know. Others requested "theme" support for t

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-06 Thread Andre Poenitz
On Thu, Apr 06, 2006 at 10:44:54AM +0200, Georg Baum wrote: > Abdelrazak Younes wrote: > > > If buildir is not at the same level as srcdir then it won't work. i.e. > > the icons won't show in the math panel. As I said in a previous mail > > this is just an interim fix (for srcdir and posix install

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-06 Thread Georg Baum
Abdelrazak Younes wrote: > If buildir is not at the same level as srcdir then it won't work. i.e. > the icons won't show in the math panel. As I said in a previous mail > this is just an interim fix (for srcdir and posix install) until we > manage to extract the path from some rc. Have a look at

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-06 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : [EMAIL PROTECTED] writes: | Author: younes | Date: Wed Apr 5 17:10:34 2006 | New Revision: 13557 | | Log: | Porting work from Edwin Leuven: | | * QMathUi.ui: Port to Qt4, icons paths are hacked to point to ../lib/images/ What does this does this do tiwh srcdir

Re: r13557 - in /lyx-devel/trunk/src/frontends/qt4: QMathDial...

2006-04-05 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: younes | Date: Wed Apr 5 17:10:34 2006 | New Revision: 13557 | | Log: | Porting work from Edwin Leuven: | | * QMathUi.ui: Port to Qt4, icons paths are hacked to point to ../lib/images/ What does this does this do tiwh srcdir != builddir builds? --