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)

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to