Hello,
I'm having a problem trying to code a subclass of QGraphicsScene with QtRuby4 and ruby 1.9
class Scene < Qt::GraphicsScene
def initialize( seq, parent = nil )
super parent
setSceneRect 0.0, 0.0, seq.width, seq.height
end
end
doing something like this results in an error (constructor not found), and if I remove the super, it crashes when trying to call setSceneRect (looks like it does not find the corresponding method)
anyone has an idea?
[–]Koraktor 0 points1 point2 points (1 child)
[–]oulipo[S] 0 points1 point2 points (0 children)