[Qt-interest] Paint Device
Andre Somers
andre at familiesomers.nl
Fri Aug 21 10:30:42 CEST 2009
Nat - Not wrote:
> Hi there,
>
> I'm going to make a project of creating some maps from some files(Most
> of the time I will use QPaint and images).Context is not relevant though.
> This project is going to be a kind of gui library
> (dll,so,etc..).Performance and the smallness of the file is
> important.So instead of using QWidget I wonder if I could(should) use
> QPaintDevice?
>
> If yes,how?
>
> I checked the source code of QWidget to see how the paint event
> starts,yet I wasn't quite successful to understand.
>
> Thanks in advance.
I don't understand why you figure that using QPaintDevice instead of
QWidget would make your application faster or smaller?
André
More information about the Qt-interest-old
mailing list