[Gambas-devel] Drawing an image in QT4

David Villalobos Cambronero david_villalobos_c at ...7...
Fri Aug 28 22:37:56 CEST 2009


In these case I have to use Draw.Begin(Printer)?

 Regards


--
David



----- Original Message ----
From: David Villalobos Cambronero <david_villalobos_c at ...7...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Friday, August 28, 2009 2:28:22 PM
Subject: Re: [Gambas-devel] Drawing an image in QT4

mmm I see, and how can I get the picture printed in a printer?

Regards


--
David



----- Original Message ----
From: Benoît Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Friday, August 28, 2009 2:05:47 PM
Subject: Re: [Gambas-devel] Drawing an image in QT4

> Hi, I got the attached project, it draws an the image if I use QT, but
> doesn't with QT4, what I'm doing wrong?
>
>  Regards
>
>
> --
> David

The DrawingArea calls Draw.Begin() and Draw.End() for you, so you don't have 
to. Read the warning messages printed by Qt4: Qt3 allowed 
Draw.Begin(DrawingArea1) to be called twice, not Qt4. It is less tolerant!

-- 
Benoît

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel



      

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel








More information about the Devel mailing list