From e89c191f5525d3b5767f3e9e8eb1476d19f27835 Mon Sep 17 00:00:00 2001 From: Jakob Leben Date: Sat, 8 Oct 2011 06:20:11 +0200 Subject: [PATCH] qt gui: fix QScrollView instantiation --- SCClassLibrary/QtCollider/BasicViews.sc | 6 +++++- SCClassLibrary/QtCollider/QWindow.sc | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/SCClassLibrary/QtCollider/BasicViews.sc b/SCClassLibrary/QtCollider/BasicViews.sc index 9195ef345..d10051cfe 100644 --- a/SCClassLibrary/QtCollider/BasicViews.sc +++ b/SCClassLibrary/QtCollider/BasicViews.sc @@ -125,6 +125,10 @@ QVLayoutView : QView { *qtClass { ^"QcVLayoutWidget" } } +QScrollCanvas : QObject { + *qtClass { ^'QcScrollWidget' } +} + QScrollView : QAbstractScroll { var win; - *qtClass { ^'QcScrollWidget' } doDrawFunc { win.drawFunc.value(win); } } -- 2.11.4.GIT