agnus
18th November 2009, 00:32
Hello again. I was wondering what is the mapping between QWidget/QPaintDevice and native device contexts (http://en.wikipedia.org/wiki/Graphics_Device_Interface#Technical_details). Supposedly we have to render 1 top level window with 10 widgets of various kinds. Does each widget map to 1 separate native DC?
In Java Swing, as far as I know, only the top level windows have a native device context but the rest of components (widgets) do not.
In Java Swing, as far as I know, only the top level windows have a native device context but the rest of components (widgets) do not.