Re: Bug 3215: Graphics Dialog, Again

2007-03-31 Thread Uwe Stöhr
> are u sure it doesn't work with: > > QGraphicsDialog::on_Width_textChanged(const QString &) Thanks, now I get it. Patch comes tomorrow. regards Uwe

Re: Bug 3215: Graphics Dialog, Again

2007-03-31 Thread Edwin Leuven
Uwe Stöhr wrote: This is simple and logic. I wrote it down here in Pseudocode as I still fail to implement this easy code in GraphicsDialog.C (I fail to manage that QGraphicsDialog::on_Width_textChanged() is really called when the text is changed - I' too stupid!). are u sure it doesn't work

Re: Bug 3215: Graphics Dialog, Again

2007-03-30 Thread Uwe Stöhr
Here's my solution in Pseudocode: void QGraphicsDialog::on_aspectration_toggled() begin // set the same unit for width and height if Index(widthUnit) != Index(heightUnit) then Index(heightUnit) = Index(widthUnit); // only the smaller value is used by LaTeX when aspectratio is on // therefor

Re: Bug 3215: Graphics Dialog, Again

2007-03-30 Thread Uwe Stöhr
Richard Heck schrieb: Attached is a patch that PARTIALLY addresses this issue. Hi Richard, I'm currently working on a different solution but needs a day for this as I'm new to Qt. I'll send you something as soon it's ready (I hope tomorrow). regards Uwe

Bug 3215: Graphics Dialog, Again

2007-03-30 Thread Richard Heck
Attached is a patch that PARTIALLY addresses this issue. I say "partially" because the work is not complete. In particular, I HAVE NOT CHECKED to make sure that the dialog actually works: That is, that if you say "Scale 50%" you get the right LaTeX output. The changes made to QGraphics::apply() ar