Geant4 11.2.2
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 *) override
 

Detailed Description

Definition at line 113 of file G4UIQt.hh.

Constructor & Destructor Documentation

◆ G4UIDockWidget()

G4UIDockWidget::G4UIDockWidget ( QString txt)

Definition at line 5496 of file G4UIQt.cc.

5496: QDockWidget(txt) {}

Member Function Documentation

◆ closeEvent()

void G4UIDockWidget::closeEvent ( QCloseEvent * aEvent)
override

Definition at line 5498 of file G4UIQt.cc.

5499{
5500 setFloating(false);
5501
5502 // prevent from closing
5503 aEvent->ignore();
5504 // hide them instead
5505 hide();
5506}

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