Message: Re: QTWidget and QTGui Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: QTWidget and QTGui 

Forum: (Graphical) User Interfaces
Re: None QTWidget and QTGui
Date: 26 May, 2011
From: Garnier Laurent <Garnier Laurent>

Hi Maurizio, 

The line you comment should open a new vis tab into UI, but in your case, because your UI is not ours, it's simply not working...
I will send you a patch.

Cheers,

Laurent

Le 19 mai 2011 à 21:15, <ungaro@jlab.org> <ungaro@jlab.org> a écrit :

> 
> *** Discussion title: (Graphical) User Interfaces
> 
> Hi all,
> 
> with 4.9.4 I had problems running my own QT Gui (was working fine with
> 4.9.3).
> 
> If I comment out line 136 of
> visualization/OpenGL/src/G4OpenGLQtViewer.cc :
> 
>  if ( uiQt) {
>    isTabbedView = uiQt->AddTabWidget(fWindow,name,getWinWidth(),getWinHeight());
>  }
> 
> I get what I want.
> 
> If I don't do that (and I'd like very much not to change G4 code) , I
> thought that not having G4UIQt would be enough, i.e. remove this line
> from the main code:
> 
>  G4UIsession *session = new G4UIQt(argc,argv);
> 
> But in that case, /vis/open stop working.
> 
> Any help would be greatly appreciated.
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/userinterface/85.html 

 Add Message Add Message
to: "Re: QTWidget and QTGui"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]