Re: Mathed previews and fleqn

2002-10-17 Thread Angus Leeming
On Monday 14 October 2002 3:26 pm, Angus Leeming wrote: > I played some more with this. It transpires that fleqn does > not, after all, enable me to position the preview in the same > place on the LyX screen as the editable view. LaTeX still > retains the concept of a page width and all that happe

Re: [Qt PATCH]

2002-10-17 Thread Dekel Tsur
On Thu, Oct 17, 2002 at 03:26:06PM +0200, Lars Gullik Bj?nnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Patch to both appended. Ok? > > pretty much ok. > > | - return pdm.logicalDpiY(); > | + return 0.5 * (pdm.logicalDpiX() + pdm.logicalDpiY()); > > I would have prefred some

[Qt PATCH]

2002-10-17 Thread Angus Leeming
On Thursday 17 October 2002 1:03 pm, Lars Gullik Bjønnes wrote: > Now when dpi is not used when calculating fontsize in qt, > Where is dpi used now? > > Ok... PreviewLoader use it: > graphics/PreviewLoader.C: font_scaling_factor_ = 0.01 * > lyxrc.dpi * lyxrc. zoom * > > and lyxlength: > > ly

Qt and xforms: slight DPI discrepancy

2002-10-17 Thread Angus Leeming
The Qt and xforms versions of getDPI() returns slightly different values: xforms: 114.488 qt: 111 (both qt2 and qt3) xforms is using both width and height to calculate the dpi. dpi = (HeightOfScreen(scr) * 25.4 / HeightMMOfScreen(scr)) + (WidthOfScreen(scr) * 25.4

Re: QBrowseBox.C warnings

2002-10-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Compiling this file I get the follwoing warnings: > | QBrowseBox.C: In method `QBrowseBox::QBrowseBox(int, int, QWidget * = 0, const char |* = 0, unsigned int = 0)': | QBrowseBox.C:30: warning: unused parameter `class QWidget * parent' | QBrowseBox.C:3

Re: [PATCH] QSendto

2002-10-17 Thread Juergen Spitzmueller
John Levon wrote: > Please try and track down when the setMinSize warning happens Tried and tracked down. "layoutSpacing" and "layoutMargin" have been missing. "Lay out in a grid" in designer fixed it. Patch attached. Thanks, Jürgen Index: src/frontends/qt2/ChangeLog ==

Re: [Qt PATCH]

2002-10-17 Thread Angus Leeming
On Thursday 17 October 2002 2:26 pm, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Patch to both appended. Ok? > > pretty much ok. > > | - return pdm.logicalDpiY(); > | + return 0.5 * (pdm.logicalDpiX() + pdm.logicalDpiY()); > > I would have prefred some (pdm.logic

Re: Qt and xforms: slight DPI discrepancy

2002-10-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | The Qt and xforms versions of getDPI() returns slightly | different values: | xforms: 114.488 | qt: 111 (both qt2 and qt3) > | xforms is using both width and height to calculate the dpi. > | dpi = (HeightOfScreen(scr) * 25.4 / HeightMMO

Re: [Qt PATCH]

2002-10-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Patch to both appended. Ok? pretty much ok. | - return pdm.logicalDpiY(); | + return 0.5 * (pdm.logicalDpiX() + pdm.logicalDpiY()); I would have prefred some (pdm.logicalDpiX() + pdm.logicalDpiY()) / 2.0 to me it seems more strait forward...

Re: [Qt PATCH]

2002-10-17 Thread Angus Leeming
On Thursday 17 October 2002 2:39 pm, Dekel Tsur wrote: > On Thu, Oct 17, 2002 at 03:26:06PM +0200, Lars Gullik Bj?nnes wrote: > > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Patch to both appended. Ok? > > > > pretty much ok. > > > > | - return pdm.logicalDpiY(); > > | + return 0.5 * (pdm.logi

Re: fontsize in QT-version

2002-10-17 Thread Dekel Tsur
On Thu, Oct 17, 2002 at 11:18:13AM +0200, Lars Gullik Bj?nnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | On Wed, Oct 16, 2002 at 04:29:45PM +0200, Lars Gullik Bj?nnes wrote: > >> > > >> | Does writing "Times" instead of "times" makes a difference ? > >> | Also, when you run qtconfig, d

Re: FoilTeX polish

2002-10-17 Thread Martin Vermeer
On Thu, Oct 17, 2002 at 10:48:03AM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> On Wed, Oct 16, 2002 at 05:01:41PM +0200, Jean-Marc Lasgouttes > Martin> wrote: > >> > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > >

Re: Patch: Better \not alignment

2002-10-17 Thread Dekel Tsur
On Thu, Oct 17, 2002 at 10:49:33AM +0200, Andre Poenitz wrote: > On Thu, Oct 17, 2002 at 10:35:42AM +0200, Dekel Tsur wrote: > > http://marc.theaimsgroup.com/?l=lyx-devel&m=103476997717815&w=2 > > Why did you change > > 'EM' - the width of an 'm'to 'height'? > > Is this realy defined like

Re: Qt and make maintainer-clean

2002-10-17 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Here's the patch that does it at the "distclean" level. > | Ok to apply? Yes I believe so. -- Lgb

Re: Qt and make maintainer-clean

2002-10-17 Thread Angus Leeming
Here's the patch that does it at the "distclean" level. Ok to apply? Angus On Thursday 17 October 2002 10:23 am, Angus Leeming wrote: > Presumably these files should be removed? > > If so, by "maintainer-clean" or "distclean" ? > > Angus > > src/frontends/qt2/moc: > BulletsModule_moc.C

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 10:29:17AM +0100, Angus Leeming wrote: > > This is just ridicilous. > > Persecution complexes are for Friday ;-) No. Mine is real on any day. Andre' PS: May be I am a bit keyed up today. It's absolutely chaotic here. We are moving office (into a building that's not fini

Re: fontsize in QT-version

2002-10-17 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Wed, Oct 16, 2002 at 04:29:45PM +0200, Lars Gullik Bj?nnes wrote: >> > >> | Does writing "Times" instead of "times" makes a difference ? >> | Also, when you run qtconfig, does it let you select the font times as the >> | default font, and what is the re

Re: [Patch] remove math stuff from reLyX

2002-10-17 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 10:49:28AM +0200, Jean-Marc Lasgouttes wrote: > Qnd I think that once this is removed, the code removal you said did > not work would actually work. I tried again, and now it does not translate tables anymore. Actually, this starts to piss me off, and I think I'd just le

Re: wchar.h

2002-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "m@rl206" == m@rl206 org <[EMAIL PROTECTED]> writes: > | Hello, > | I finally found time to look at this issue. > | m@rl206> Greetings. Build of latest Lyx version fails on openbsd due | m@rl206> to #include (openbsd doesn't have wchar.h).

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 11:28:13AM +0200, Lars Gullik Bjønnes wrote: > is the above test a valid situation? if not it should just be an > assert. I don't know how the code works. > | + return empty; > | + return pixmaps_[coordsToIndex(row, col)]; > | } > > What is that static QPixm

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Angus Leeming
On Thursday 17 October 2002 10:25 am, Andre Poenitz wrote: > On Thu, Oct 17, 2002 at 10:08:23AM +0100, Angus Leeming wrote: > > While you're at it, why not wrap > > QString * texts_; > > QPixmap* pixmaps_; > > inside a boost::scoped_array and get rid of ~QBrowseBox() ? > > Because it works

Re: wchar.h

2002-10-17 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "m@rl206" == m@rl206 org <[EMAIL PROTECTED]> writes: > | Hello, > | I finally found time to look at this issue. > | m@rl206> Greetings. Build of latest Lyx version fails on openbsd due | m@rl206> to #include (openbsd doesn't have wchar.h).

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | From: Andre Poenitz <[EMAIL PROTECTED]> | Subject: [Patch] QBrowseBox "lyxification" | To: LyX Developers <[EMAIL PROTECTED]> | Date: Thu, 17 Oct 2002 10:10:01 +0200 > > | Mostly whitespace, | _foo -> foo_, | i++ -> ++i, | remove unneeded header, | make

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 10:08:23AM +0100, Angus Leeming wrote: > While you're at it, why not wrap > QString * texts_; > QPixmap* pixmaps_; > inside a boost::scoped_array and get rid of ~QBrowseBox() ? Because it works as it is now, and i did not want to change anything semantically,

Qt and make maintainer-clean

2002-10-17 Thread Angus Leeming
Presumably these files should be removed? If so, by "maintainer-clean" or "distclean" ? Angus src/frontends/qt2/moc: BulletsModule_moc.CQtView_moc.C FileDialog_private_moc.C Toolbar_pimpl_moc.C QBrowseBox_moc.C emptytable_moc.C QCommandBuffer_moc.C iconpalette_moc.C Q

Re: [Patch] QBrowseBox "lyxification"

2002-10-17 Thread Angus Leeming
On Thursday 17 October 2002 9:10 am, Andre Poenitz wrote: > Mostly whitespace, > _foo -> foo_, > i++ -> ++i, > remove unneeded header, > make sure that operator=() is not used. > > Ok? While you're at it, why not wrap QString * texts_; QPixmap* pixmaps_; inside a boost::scoped_ar

Re: Patch: Better \not alignment

2002-10-17 Thread Andre Poenitz
On Thu, Oct 17, 2002 at 10:35:42AM +0200, Dekel Tsur wrote: > http://marc.theaimsgroup.com/?l=lyx-devel&m=103476997717815&w=2 Why did you change 'EM' - the width of an 'm'to 'height'? Is this realy defined like that? Apart from that this looks ok. Andre' -- Those who desire to give up

Re: [Patch] remove math stuff from reLyX

2002-10-17 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Oct 16, 2002 at 06:36:28PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> Why don't you remove the appended part of syntax.defaults? Doesn't >> it do additional (and unneeded/unwanted) changes to the maths? Andre> Because I'

Re: FoilTeX polish

2002-10-17 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Wed, Oct 16, 2002 at 05:01:41PM +0200, Jean-Marc Lasgouttes Martin> wrote: >> > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: >> Martin> Needed this myself... attached. >> This looks good to me. An update to t

Re: Patch: Better \not alignment

2002-10-17 Thread Dekel Tsur
On Thu, Oct 17, 2002 at 10:21:04AM +0200, Andre Poenitz wrote: > On Wed, Oct 16, 2002 at 09:20:00PM +0200, Dekel Tsur wrote: > > The following patch gives better horizontal alignment of the \not symbol. > > The patch is against my previous mathed patch. > > I somehow missed that. But then, our ma

Re: Patch: Better \not alignment

2002-10-17 Thread Andre Poenitz
On Wed, Oct 16, 2002 at 09:20:00PM +0200, Dekel Tsur wrote: > The following patch gives better horizontal alignment of the \not symbol. > The patch is against my previous mathed patch. I somehow missed that. But then, our mail system seems to have problems, I did not receive a single message with

[Patch] QBrowseBox "lyxification"

2002-10-17 Thread Andre Poenitz
Mostly whitespace, _foo -> foo_, i++ -> ++i, remove unneeded header, make sure that operator=() is not used. Ok? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) ? box.diff ? .QBrowseBox.h.swp ? .QBrowseB

style in qt frontend

2002-10-17 Thread Andre Poenitz
I just browsed through the qt code and encontered some code (QBrowseBox and others) that's done using some style that's not even close to "LyX Standard". Do we really want to have new code that needs cleaning from the beginning? Andre' -- Those who desire to give up Freedom in order to gain