Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] Qt_widget and Player/Stage
- Date: Tue, 1 Apr 2008 12:04:53 +0200
- Organization: Inria, Sophia Antipolis, FRANCE
On Tuesday 01 April 2008 11:48:50 BomBielFil wrote:
> Hi
> I'm using CGAL with Player/stage and my program open a stage window. Is
> possibile open and view a Qt window at the same time??
> I inserted in my code:
>
> QApplication app(argc,argv);
> Qt_widget *W=new Qt_widget();
> app.setMainWidget(W);
> W->resize..
> W->set_window...
> W->show()
> .....
>
> but now I view only the Qt_widget window.
With that code snipset, you should even not see the Qt_widget. You need to
run
app.exec(). You should post a more complete example, with the Player/Stage
code that should display the stage window.
Anyway, I doubt that the even loop of Stage can be mixted easily with the
even
loop of Qt. Once you give us more details, the answer will probably be a no.
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)
- Qt_widget and Player/Stage, BomBielFil, 04/01/2008
- Re: [cgal-discuss] Qt_widget and Player/Stage, Laurent Rineau, 04/01/2008
Archive powered by MHonArc 2.6.16.