Re: Bullets and qt an invisible relation. ;-)

2004-09-01 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Jose' Matos wrote: Can you fix it if that is the solution? I know nothing about Qt. Georg Done. I don't know much more about qt, but I have learned that Georg often a toqstr()/fromqstr() is needed. I do however not Georg understand why this

Re: Bullets and qt an invisible relation. ;-)

2004-09-01 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jose' Matos wrote: >> Can you fix it if that is the solution? I know nothing about Qt. Georg> Done. I don't know much more about qt, but I have learned that Georg> often a toqstr()/fromqstr() is needed. I do however not Georg>

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Georg Baum
Jose' Matos wrote: Can you fix it if that is the solution? I know nothing about Qt. Done. I don't know much more about qt, but I have learned that often a toqstr()/fromqstr() is needed. I do however not understand why this did compile on your machine and it did not on mine. Georg

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Lars Gullik Bjønnes
Georg Baum [EMAIL PROTECTED] writes: | Jose' Matos wrote: Can you fix it if that is the solution? I know nothing about Qt. | Done. I don't know much more about qt, but I have learned that often a | toqstr()/fromqstr() is needed. | I do however not understand why this did compile on your

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Jose' Matos
On Thursday 19 August 2004 07:32, Georg Baum wrote: Done. I don't know much more about qt, but I have learned that often a toqstr()/fromqstr() is needed. Thanks. :-) I do however not understand why this did compile on your machine and it did not on mine. Probably because I'm using qt

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Georg Baum
Jose' Matos wrote: On Thursday 19 August 2004 07:32, Georg Baum wrote: I do however not understand why this did compile on your machine and it did not on mine. Probably because I'm using qt 3.3.3 :-) That may explain it. I have qt 3.2.1. Did you saw the recent changes that I made to

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Jose' Matos
On Thursday 19 August 2004 12:15, Georg Baum wrote: Did you saw the recent changes that I made to lyx2lyx, do you have any comment? I'm thinking particularly about the LyX.py module. I did notice them during cvs update, but I have had no chance to look at it in more detail. Just one

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Andre Poenitz
On Tue, Aug 17, 2004 at 02:58:37PM +0100, John Levon wrote: On Tue, Aug 17, 2004 at 01:09:04PM +0100, Jose' Matos wrote: If you click over it you get the initial dialog asking for a new custom bullet. I am complayning that after adding a custom bullet the is no way AFAIK to see its

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Georg Baum
Jose' Matos wrote: > Can you fix it if that is the solution? I know nothing about Qt. Done. I don't know much more about qt, but I have learned that often a toqstr()/fromqstr() is needed. I do however not understand why this did compile on your machine and it did not on mine. Georg

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Jose' Matos wrote: > >> Can you fix it if that is the solution? I know nothing about Qt. > | Done. I don't know much more about qt, but I have learned that often a | toqstr()/fromqstr() is needed. | I do however not understand why this did compile on

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Jose' Matos
On Thursday 19 August 2004 07:32, Georg Baum wrote: > > Done. I don't know much more about qt, but I have learned that often a > toqstr()/fromqstr() is needed. Thanks. :-) > I do however not understand why this did compile on your machine and it > did not on mine. Probably because I'm using

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Georg Baum
Jose' Matos wrote: > On Thursday 19 August 2004 07:32, Georg Baum wrote: >> I do however not understand why this did compile on your machine and it >> did not on mine. > > Probably because I'm using qt 3.3.3 :-) That may explain it. I have qt 3.2.1. > Did you saw the recent changes that I

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Jose' Matos
On Thursday 19 August 2004 12:15, Georg Baum wrote: > > > Did you saw the recent changes that I made to lyx2lyx, do you have > > any comment? I'm thinking particularly about the LyX.py module. > > I did notice them during cvs update, but I have had no chance to look at > it in more detail. Just

Re: Bullets and qt an invisible relation. ;-)

2004-08-19 Thread Andre Poenitz
On Tue, Aug 17, 2004 at 02:58:37PM +0100, John Levon wrote: > On Tue, Aug 17, 2004 at 01:09:04PM +0100, Jose' Matos wrote: > > > If you click over it you get the initial dialog asking for a new custom > > bullet. I am complayning that after adding a custom bullet the is no way > > AFAIK to

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Jose' Matos
On Tuesday 17 August 2004 18:21, John Levon wrote: On Tue, Aug 17, 2004 at 04:47:29PM +0100, Jose' Matos wrote: But you know with lyx-qt 1.3, there the custom bullets are displayed instead of the ellipsis. [...] Please apply that if it works Yes, it works. It is in my tree I will apply

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Georg Baum
John Levon wrote: diff -u -a -p -r1.22 BulletsModule.C --- BulletsModule.C 20 May 2004 09:36:27 - 1.22 +++ BulletsModule.C 17 Aug 2004 17:21:01 - @@ -217,7 +217,7 @@ void BulletsModule::setBullet(QPushButto { if (b.getFont() == -1) {

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread John Levon
On Wed, Aug 18, 2004 at 05:36:25PM +0200, Georg Baum wrote: + pb-setText(toqstr(b.getText())); Yes john

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Jose' Matos
On Wednesday 18 August 2004 16:36, Georg Baum wrote: It does not compile here. I guess this should be + pb-setText(toqstr(b.getText())); ? Can you fix it if that is the solution? I know nothing about Qt. Thanks. Georg -- José Abílio

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Jose' Matos
On Tuesday 17 August 2004 18:21, John Levon wrote: > On Tue, Aug 17, 2004 at 04:47:29PM +0100, Jose' Matos wrote: > > But you know with lyx-qt 1.3, there the custom bullets are displayed > > instead of the ellipsis. [...] > > Please apply that if it works Yes, it works. It is in my tree I

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Georg Baum
John Levon wrote: > diff -u -a -p -r1.22 BulletsModule.C > --- BulletsModule.C 20 May 2004 09:36:27 - 1.22 > +++ BulletsModule.C 17 Aug 2004 17:21:01 - > @@ -217,7 +217,7 @@ void BulletsModule::setBullet(QPushButto > { > if (b.getFont() == -1) { >

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread John Levon
On Wed, Aug 18, 2004 at 05:36:25PM +0200, Georg Baum wrote: > + pb->setText(toqstr(b.getText())); Yes john

Re: Bullets and qt an invisible relation. ;-)

2004-08-18 Thread Jose' Matos
On Wednesday 18 August 2004 16:36, Georg Baum wrote: > > It does not compile here. I guess this should be > + pb->setText(toqstr(b.getText())); > ? Can you fix it if that is the solution? I know nothing about Qt. Thanks. > Georg -- José Abílio

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread Jose' Matos
On Tuesday 17 August 2004 00:22, John Levon wrote: I do not understand your bug report. Are you referring to the fact that all the bullets in the Qt Document dialog are currently black-on-black for some reason? I will rephrase it then, if you want to add a custom bullet a dialog pops up

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread John Levon
On Tue, Aug 17, 2004 at 01:09:04PM +0100, Jose' Matos wrote: If you click over it you get the initial dialog asking for a new custom bullet. I am complayning that after adding a custom bullet the is no way AFAIK to see its content. How on earth are we supposed to know what a custom bullet

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread Jose' Matos
On Tuesday 17 August 2004 14:58, John Levon wrote: How on earth are we supposed to know what a custom bullet looks like? But you know with lyx-qt 1.3, there the custom bullets are displayed instead of the ellipsis. I send an attachement where you can compare the result for 1.3 and 1.4.

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread John Levon
On Tue, Aug 17, 2004 at 04:47:29PM +0100, Jose' Matos wrote: But you know with lyx-qt 1.3, there the custom bullets are displayed instead of the ellipsis. diff -u -a -p -r1.22 BulletsModule.C --- BulletsModule.C 20 May 2004 09:36:27 - 1.22 +++ BulletsModule.C 17 Aug 2004

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread Jose' Matos
On Tuesday 17 August 2004 00:22, John Levon wrote: > > I do not understand your bug report. > > Are you referring to the fact that all the bullets in the Qt Document > dialog are currently black-on-black for some reason? I will rephrase it then, if you want to add a custom bullet a dialog pops

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread John Levon
On Tue, Aug 17, 2004 at 01:09:04PM +0100, Jose' Matos wrote: > If you click over it you get the initial dialog asking for a new custom > bullet. I am complayning that after adding a custom bullet the is no way > AFAIK to see its content. How on earth are we supposed to know what a custom

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread Jose' Matos
On Tuesday 17 August 2004 14:58, John Levon wrote: > > How on earth are we supposed to know what a custom bullet looks like? But you know with lyx-qt 1.3, there the custom bullets are displayed instead of the ellipsis. I send an attachement where you can compare the result for 1.3 and 1.4.

Re: Bullets and qt an invisible relation. ;-)

2004-08-17 Thread John Levon
On Tue, Aug 17, 2004 at 04:47:29PM +0100, Jose' Matos wrote: > But you know with lyx-qt 1.3, there the custom bullets are displayed > instead of the ellipsis. diff -u -a -p -r1.22 BulletsModule.C --- BulletsModule.C 20 May 2004 09:36:27 - 1.22 +++ BulletsModule.C 17 Aug 2004

Re: Bullets and qt an invisible relation. ;-)

2004-08-16 Thread John Levon
On Fri, Aug 13, 2004 at 11:21:15PM +0200, [EMAIL PROTECTED] wrote: Hi qt-friends, if we set a custom bullet in the qt-frontend there is no way to see it. In xforms we see the it in the bullet section of the document settings. I do not understand your bug report. Are you referring to

Re: Bullets and qt an invisible relation. ;-)

2004-08-16 Thread John Levon
On Fri, Aug 13, 2004 at 11:21:15PM +0200, [EMAIL PROTECTED] wrote: > Hi qt-friends, > if we set a custom bullet in the qt-frontend > there is no way to see it. In xforms we see the it in > the bullet section of the document settings. I do not understand your bug report. Are you referring

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: Can't we (ab)use mathed for the bullets? The validate() would come for How? free, and we could store real strings as the parser is already there. Hmmm... we have strings now. It's just we choose to let the user have free rein -- and what works now

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: On Wed, 13 Nov 2002, Andre Poenitz wrote: Can't we (ab)use mathed for the bullets? The validate() would come for How? Don't know. I don't really know where and how the bullets are drawn... If you want real strings all the time

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: Can't we (ab)use mathed for the bullets? The validate() would come for How? With current CVS Bullet validation might be implemented as #include mathed/math_data.h Bullet::validate(LaTeXFeatures features) const {

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: On Wed, 13 Nov 2002, Andre Poenitz wrote: Can't we (ab)use mathed for the bullets? The validate() would come for How? Don't know. I don't really know where and how the bullets are

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 06:32:08PM +1000, Allan Rae wrote: I'm still unsure what that gets us. You know what the math parser does. I don't -- other than to guess it creates math insets which Bullets are not (they aren't even insets). It basically creates a MathArray, i.e. a some container.

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: On Wed, Nov 13, 2002 at 06:32:08PM +1000, Allan Rae wrote: I'm still unsure what that gets us. You know what the math parser does. I don't -- other than to guess it creates math insets which Bullets are not (they aren't even insets). It

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 06:44:17PM +1000, Allan Rae wrote: P.S. I may have time to look at temp_bullets - controller tomorrow and maybe even make Qt port work in the standard manner if someone hasn't got it doing that by then. Would be nice if you did that... Andre' -- Those who desire to

Re: bullets in qt

2002-11-13 Thread Edwin Leuven
QBrowseBox ... is there a good reason you didn't extend / base it on iconpalette.C ? the reason I used it was that is was also used in klyx for the toolbars. on a toolbar button click it can popup wait for a click and dissapear. so i guess i was anticipating on it to be used as well for the

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: > Can't we (ab)use mathed for the bullets? The validate() would come for How? > free, and we could store real strings as the parser is already there. Hmmm... we have strings now. It's just we choose to let the user have free rein -- and what works now

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: > On Wed, 13 Nov 2002, Andre Poenitz wrote: > > > Can't we (ab)use mathed for the bullets? The validate() would come for > > How? Don't know. I don't really know where and how the bullets are drawn... > If you want real strings all the

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: > > Can't we (ab)use mathed for the bullets? The validate() would come for > > How? With current CVS Bullet validation might be implemented as #include "mathed/math_data.h" Bullet::validate(LaTeXFeatures & features) const {

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: > On Wed, Nov 13, 2002 at 05:59:56PM +1000, Allan Rae wrote: > > On Wed, 13 Nov 2002, Andre Poenitz wrote: > > > > > Can't we (ab)use mathed for the bullets? The validate() would come for > > > > How? > > Don't know. I don't really know where and how the

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 06:32:08PM +1000, Allan Rae wrote: > I'm still unsure what that gets us. You know what the math parser > does. I don't -- other than to guess it creates math insets which > Bullets are not (they aren't even insets). It basically creates a MathArray, i.e. a some

Re: bullets in qt

2002-11-13 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: > On Wed, Nov 13, 2002 at 06:32:08PM +1000, Allan Rae wrote: > > I'm still unsure what that gets us. You know what the math parser > > does. I don't -- other than to guess it creates math insets which > > Bullets are not (they aren't even insets). > >

Re: bullets in qt

2002-11-13 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 06:44:17PM +1000, Allan Rae wrote: > P.S. I may have time to look at temp_bullets -> controller > tomorrow and maybe even make Qt port work in the "standard" manner if > someone hasn't got it doing that by then. Would be nice if you did that... Andre' -- Those who

Re: bullets in qt

2002-11-13 Thread Edwin Leuven
> QBrowseBox ... is there a good reason you didn't extend / base it on > iconpalette.C ? the reason I used it was that is was also used in klyx for the toolbars. on a toolbar button click it can popup wait for a click and dissapear. so i guess i was anticipating on it to be used as well for

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
On Tue Nov 12, 2002 05:22, Allan Rae wrote: The thing is the bullet tabs were always supposed to have the current bullet pushed for whatever level you were setting (ie. the pseudo-push-button was supposed to be indented but that never worked because of limitations in the image map thingy.

Re: bullets in qt

2002-11-12 Thread Juergen Spitzmueller
Edwin Leuven wrote: Applying bullets is still rotten though, so I won't apply for the moment. Still problems with QBrowseBox? If so, then why not apply what you have (it's broken anyway), then I can probably have a look (note that I have not tested my patch from yesterday with your recent

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 09:48:16AM +, Edwin Leuven wrote: I was wondering btw why you didn't store the bullet as a string in general. what's the advantage of storing it as a font/char combination? Probably no parser for the string exist(s|ed)... Should be changed, though. Adds simplicity

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
Still problems with QBrowseBox? nope :-) If so, then why not apply what you have (it's broken anyway), then I can probably have a look (note that I have not tested my patch from yesterday with your recent changes). I'll apply then...

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
On Tue Nov 12, 2002 08:54, Andre Poenitz wrote: On Tue, Nov 12, 2002 at 09:48:16AM +, Edwin Leuven wrote: I was wondering btw why you didn't store the bullet as a string in general. what's the advantage of storing it as a font/char combination? Probably no parser for the string

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 10:32:13AM +, Edwin Leuven wrote: Should be changed, though. Adds simplicity and flexibility... I meant Should be changed - but not now. would make my life a bit simpler yes. although for the moment the bulletLaTeX doesn't preserve the size: \bulletLaTeX 0

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
Allan, What are these for in bufferparams? boost::arrayBullet, 4 temp_bullets; Sorry if I am being thick. Thanks, Ed.

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
I can preview newfile9 but not newfile10. Does anyone know what is wrong here? Thanks, Ed. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass amsart-seq \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize 11 \spacing

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
I've commited the stuff I had. Remaining issue is the one below... On Tue Nov 12, 2002 10:57, Edwin Leuven wrote: I can preview newfile9 but not newfile10. Does anyone know what is wrong here? Thanks, Ed.

Re: bullets in qt

2002-11-12 Thread Juergen Spitzmueller
Am Dienstag, 12. November 2002 11:57 schrieb Edwin Leuven: I can preview newfile9 but not newfile10. Does anyone know what is wrong here? \usepackage{pifont} (for \ding{118}) is missing in the preamble. XForms' dialog inserts it. Jürgen.

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
I can preview newfile9 but not newfile10. Does anyone know what is wrong here? \usepackage{pifont} (for \ding{118}) is missing in the preamble. ah! XForms' dialog inserts it. no it doesn't. these bullets are usually not saved as strings. at the moment qt saves them as strings. if we

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 11:47:59AM +, Edwin Leuven wrote: sigh Indeed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: bullets in qt

2002-11-12 Thread John Levon
On Mon, Nov 11, 2002 at 01:14:26AM +0100, Edwin Leuven wrote: For some reason QBrowseBox doesn't get mouse focus. It does when one hold the QBrowseBox ... is there a good reason you didn't extend / base it on iconpalette.C ? I need to set the bullet codes. for now I have put them in the new

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: On Tue Nov 12, 2002 05:22, Allan Rae wrote: The thing is the bullet tabs were always supposed to have the current bullet pushed for whatever level you were setting (ie. the pseudo-push-button was supposed to be indented but that never worked

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: I can preview newfile9 but not newfile10. Does anyone know what is wrong here? \usepackage{pifont} (for \ding{118}) is missing in the preamble. ah! XForms' dialog inserts it. no it doesn't. these bullets are usually not saved as strings.

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: Allan, What are these for in bufferparams? boost::arrayBullet, 4 temp_bullets; Sorry if I am being thick. They are used as temporary storage by the GUI frontend -- well XForms anyway as seen here: void FormDocument::ChoiceBulletSize(FL_OBJECT *

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 01:22:53PM +1000, Allan Rae wrote: It's what is already done. The temporary variables could have been kept in the dialog implementation but by keeping them in the buffer params when you switch buffers you got (past tense because it looks like someone has changed it)

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 01:00:48PM +1000, Allan Rae wrote: Indeed there are 216 bullets and while the majority of these are either dingbats from the pifont package or available by default from latex there are a number of other symbols that were collected from different packages. The closest I

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: On Wed, Nov 13, 2002 at 01:22:53PM +1000, Allan Rae wrote: It's what is already done. The temporary variables could have been kept in the dialog implementation but by keeping them in the buffer params when you switch buffers you got (past tense

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:37:48PM +1000, Allan Rae wrote: Or as a minimal tweak move the params.temp_bullets to the dialog/controller. This sounds ok to me. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T.

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
On Tue Nov 12, 2002 05:22, Allan Rae wrote: > The thing is the bullet tabs were always supposed to have the current > bullet "pushed" for whatever level you were setting (ie. the > pseudo-push-button was supposed to be indented but that never worked > because of limitations in the image map

Re: bullets in qt

2002-11-12 Thread Juergen Spitzmueller
Edwin Leuven wrote: > Applying bullets is still rotten though, so I won't apply for the moment. Still problems with QBrowseBox? If so, then why not apply what you have (it's broken anyway), then I can probably have a look (note that I have not tested my patch from yesterday with your recent

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 09:48:16AM +, Edwin Leuven wrote: > I was wondering btw why you didn't store the bullet as a string in general. > what's the advantage of storing it as a font/char combination? Probably no parser for the string exist(s|ed)... Should be changed, though. Adds

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
> Still problems with QBrowseBox? nope :-) >If so, then why not apply what you have > (it's broken anyway), then I can probably have a look (note that I have not > tested my patch from yesterday with your recent changes). I'll apply then...

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
On Tue Nov 12, 2002 08:54, Andre Poenitz wrote: > On Tue, Nov 12, 2002 at 09:48:16AM +, Edwin Leuven wrote: > > I was wondering btw why you didn't store the bullet as a string in > > general. what's the advantage of storing it as a font/char combination? > > Probably no parser for the string

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 10:32:13AM +, Edwin Leuven wrote: > > Should be changed, though. Adds simplicity and flexibility... I meant "Should be changed - but not now". > would make my life a bit simpler yes. although for the moment the bulletLaTeX > doesn't preserve the size: > >

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
Allan, What are these for in bufferparams? boost::array temp_bullets; Sorry if I am being thick. Thanks, Ed.

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
I can preview newfile9 but not newfile10. Does anyone know what is wrong here? Thanks, Ed. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass amsart-seq \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize 11 \spacing

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
I've commited the stuff I had. Remaining issue is the one below... On Tue Nov 12, 2002 10:57, Edwin Leuven wrote: > I can preview newfile9 but not newfile10. Does anyone know what is wrong > here? > > Thanks, Ed.

Re: bullets in qt

2002-11-12 Thread Juergen Spitzmueller
Am Dienstag, 12. November 2002 11:57 schrieb Edwin Leuven: > I can preview newfile9 but not newfile10. Does anyone know what is wrong > here? \usepackage{pifont} (for \ding{118}) is missing in the preamble. XForms' dialog inserts it. Jürgen.

Re: bullets in qt

2002-11-12 Thread Edwin Leuven
> > I can preview newfile9 but not newfile10. Does anyone know what is wrong > > here? > > \usepackage{pifont} > (for \ding{118}) is missing in the preamble. ah! > XForms' dialog inserts it. no it doesn't. these bullets are usually not saved as strings. at the moment qt saves them as strings.

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Tue, Nov 12, 2002 at 11:47:59AM +, Edwin Leuven wrote: > Indeed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: bullets in qt

2002-11-12 Thread John Levon
On Mon, Nov 11, 2002 at 01:14:26AM +0100, Edwin Leuven wrote: > For some reason QBrowseBox doesn't get mouse focus. It does when one hold the QBrowseBox ... is there a good reason you didn't extend / base it on iconpalette.C ? > I need to set the bullet codes. for now I have put them in the

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: > On Tue Nov 12, 2002 05:22, Allan Rae wrote: > > The thing is the bullet tabs were always supposed to have the current > > bullet "pushed" for whatever level you were setting (ie. the > > pseudo-push-button was supposed to be indented but that never

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: > > > I can preview newfile9 but not newfile10. Does anyone know what is wrong > > > here? > > > > \usepackage{pifont} > > (for \ding{118}) is missing in the preamble. > ah! > > > XForms' dialog inserts it. > > no it doesn't. these bullets are usually not

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Tue, 12 Nov 2002, Edwin Leuven wrote: > Allan, > > What are these for in bufferparams? > > boost::array temp_bullets; > > Sorry if I am being thick. They are used as temporary storage by the GUI frontend -- well XForms anyway as seen here: void

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 01:22:53PM +1000, Allan Rae wrote: > It's what is already done. The temporary variables could have been > kept in the dialog implementation but by keeping them in the buffer > params when you switch buffers you got (past tense because it looks > like someone has changed

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 01:00:48PM +1000, Allan Rae wrote: > Indeed there are 216 bullets and while the majority of these are > either dingbats from the pifont package or available by default from > latex there are a number of other symbols that were collected from > different packages. The

Re: bullets in qt

2002-11-12 Thread Allan Rae
On Wed, 13 Nov 2002, Andre Poenitz wrote: > On Wed, Nov 13, 2002 at 01:22:53PM +1000, Allan Rae wrote: > > It's what is already done. The temporary variables could have been > > kept in the dialog implementation but by keeping them in the buffer > > params when you switch buffers you got (past

Re: bullets in qt

2002-11-12 Thread Andre Poenitz
On Wed, Nov 13, 2002 at 05:37:48PM +1000, Allan Rae wrote: > Or as a minimal tweak move the params.temp_bullets to the > dialog/controller. This sounds ok to me. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T.

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
2. the bullets I need to set the bullet codes. for now I have put them in the new files bulletstrings.[Ch]. I don't know what is best. move them out of bullet.[Ch] to tex-strings[Ch]? could someone comment on this before I commit (it's not qt related) Thanks, Ed.

Re: bullets in qt

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 01:05:00PM +, Edwin Leuven wrote: 2. the bullets I need to set the bullet codes. for now I have put them in the new files bulletstrings.[Ch]. I don't know what is best. move them out of bullet.[Ch] to tex-strings[Ch]? could someone comment on this before I

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
Does this count as comment? ;-) I guess not ;-) At the moment the various bullets are put/defined in static strings within the Bullet class. If you have a look in Bullet.C you will see this in bulletEntry(int,int). Thing is that I need them so that users can set custom bullets using the UI.

Re: bullets in qt

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 01:33:04PM +, Edwin Leuven wrote: Does this count as comment? ;-) I guess not ;-) At the moment the various bullets are put/defined in static strings within the Bullet class. If you have a look in Bullet.C you will see this in bulletEntry(int,int). I wonder

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
I wonder why such a bullet can't be a thin wrapper around a std::string like \ding{49}? Is this just a performance enhancement? don't ask me You need the strings? yep

Re: bullets in qt

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 01:51:43PM +, Edwin Leuven wrote: You need the strings? yep Your bulletstring.[hC] approach looks ok to me. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
Your bulletstring.[hC] approach looks ok to me. I'll commit then. Thanks, Ed.

Re: bullets in qt

2002-11-11 Thread Juergen Spitzmueller
Edwin Leuven wrote: For some reason QBrowseBox doesn't get mouse focus. Fix attached. (Have a look at http://doc.trolltech.com/3.0/qscrollview.html#details for details) Regards, Jürgen. Index: src/frontends/qt2/QBrowseBox.C ===

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
Fix attached. Thanks! Applying bullets is still rotten though, so I won't apply for the moment. Cheers, Ed.

Re: bullets in qt

2002-11-11 Thread Allan Rae
On Mon, 11 Nov 2002, Andre Poenitz wrote: On Mon, Nov 11, 2002 at 01:33:04PM +, Edwin Leuven wrote: Does this count as comment? ;-) I guess not ;-) At the moment the various bullets are put/defined in static strings within the Bullet class. If you have a look in Bullet.C you

Re: bullets in qt

2002-11-11 Thread Edwin Leuven
> 2. the bullets > > I need to set the bullet codes. for now I have put them in the new files > bulletstrings.[Ch]. I don't know what is best. move them out of bullet.[Ch] > to tex-strings[Ch]? could someone comment on this before I commit (it's not qt related) Thanks, Ed.

Re: bullets in qt

2002-11-11 Thread Andre Poenitz
On Mon, Nov 11, 2002 at 01:05:00PM +, Edwin Leuven wrote: > > 2. the bullets > > > > I need to set the bullet codes. for now I have put them in the new files > > bulletstrings.[Ch]. I don't know what is best. move them out of bullet.[Ch] > > to tex-strings[Ch]? > > could someone comment on

  1   2   >