Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UIDockWidget Class Reference

#include <G4UIQt.hh>

+ Inheritance diagram for G4UIDockWidget:

Public Member Functions

 G4UIDockWidget (QString txt)
 
void closeEvent (QCloseEvent *)
 

Detailed Description

Definition at line 116 of file G4UIQt.hh.

Constructor & Destructor Documentation

◆ G4UIDockWidget()

G4UIDockWidget::G4UIDockWidget ( QString  txt)

Definition at line 5221 of file G4UIQt.cc.

5221 :
5222 QDockWidget(txt)
5223{}

Member Function Documentation

◆ closeEvent()

void G4UIDockWidget::closeEvent ( QCloseEvent *  aEvent)

Definition at line 5226 of file G4UIQt.cc.

5226 {
5227 setFloating (false);
5228
5229 //prevent from closing
5230 aEvent->ignore();
5231 // hide them instead
5232 hide();
5233}

The documentation for this class was generated from the following files: