[PyQt] Re: how to show interactive Picture

Markus Feldmann feldmann_markus at gmx.de
Tue Feb 10 19:36:26 GMT 2009


I changed the class Qwidget --> QSrollArea and got the same Problem
as i have.
So i think that i can not paint in a scrollarea ???

> #######################################################################
> import sys
> from PyQt4 import QtCore, QtGui
> 
> import basicdrawing_rc
> 
> 
> class RenderArea(QtGui.QScrollArea):
> 
>     Line, Points, Polyline, Polygon, Rect, RoundRect, Ellipse, Arc, \
>     Chord, Pie, Path, Text, Pixmap = range(13) ###WHAT SHALL THAT ???###
> 
>     def __init__(self, parent = None):
>         QtGui.QScrollArea.__init__(self, parent)



More information about the PyQt mailing list