From 294538de15042340a58fb2f653b51cf295785ff1 Mon Sep 17 00:00:00 2001 From: James Harkins Date: Sun, 26 Jun 2011 14:33:18 +0800 Subject: [PATCH] qt gui: implement QView:flow (for compatibility with other gui kits) Signed-off-by: Jakob Leben --- SCClassLibrary/QtCollider/QView.sc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SCClassLibrary/QtCollider/QView.sc b/SCClassLibrary/QtCollider/QView.sc index 605e75001..971544a26 100644 --- a/SCClassLibrary/QtCollider/QView.sc +++ b/SCClassLibrary/QtCollider/QView.sc @@ -243,6 +243,14 @@ QView : QObject { decorator = decor; } + flow { arg func, bounds; + var f; + f = FlowView( this, bounds ); + func.value( f ); + f.resizeToFit; + ^f; + } + // ................. top window stuff ............................ name { -- 2.11.4.GIT