Geant4 11.4.0
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 (const QString &txt)
void closeEvent (QCloseEvent *) override

Detailed Description

Definition at line 117 of file G4UIQt.hh.

Constructor & Destructor Documentation

◆ G4UIDockWidget()

G4UIDockWidget::G4UIDockWidget ( const QString & txt)

Definition at line 6527 of file G4UIQt.cc.

6527: QDockWidget(txt) {}

Member Function Documentation

◆ closeEvent()

void G4UIDockWidget::closeEvent ( QCloseEvent * aEvent)
override

Definition at line 6529 of file G4UIQt.cc.

6530{
6531 setFloating(false);
6532
6533 // prevent from closing
6534 aEvent->ignore();
6535 // hide them instead
6536 hide();
6537}

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