X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkQtBlackBox.h;h=e624bbef5b19ba81b99d08db1466279d8ef21be5;hb=2d564c78c449d67b1d85511ba9601d3afb57c924;hp=5cee0ba197c23ca8041aa07b8b468d8790334541;hpb=038dbbd7dd8b34107ec932a34170a4625368eb25;p=bbtk.git diff --git a/kernel/src/bbtkQtBlackBox.h b/kernel/src/bbtkQtBlackBox.h index 5cee0ba..e624bbe 100644 --- a/kernel/src/bbtkQtBlackBox.h +++ b/kernel/src/bbtkQtBlackBox.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkQtBlackBox.h,v $ Language: C++ - Date: $Date: 2009/04/08 07:56:11 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/05/28 14:22:10 $ + Version: $Revision: 1.2 $ ========================================================================*/ @@ -85,7 +85,25 @@ namespace bbtk virtual void bbCreateFrameWindow(); //================================================================== - + //================================================================== + QWidget* bbGetWindow() { return bbmWindow; } + void bbSetWindow(QWidget*) ; + bool bbWindowIsCreated() { return (bbGetWindow() != 0); } + //================================================================== + + + //================================================================== + virtual void bbShowWindow(); + //================================================================== + + //================================================================== + virtual void bbDestroyWindow(); + //================================================================== + + private: + + QWidget* bbmWindow; + //================================================================== // virtual void InitWindowManagerIfNeeded(); virtual void IncNbWindowsAlive();