|
g4dialog
|
Qt widget that exposes a searchable Geant4 UI command tree with contextual help.
More...
#include <gcommands.h>
Public Member Functions | |
| G4Commands (QWidget *parent=nullptr) | |
| Construct the commands widget. | |
This widget provides three main capabilities:
Geant4 UI command structure.The widget is typically embedded as a tab inside G4Dialog, but it can be used independently anywhere a QWidget is accepted.
Internally the command tree is built by querying G4UImanager and walking the G4UIcommandTree. Filtering is applied by recursively checking whether each tree node matches the search string or contains matching descendants.
Definition at line 27 of file gcommands.h.
|
explicit |
| parent | Parent widget, or nullptr to create a top-level widget. |
Definition at line 4 of file gcommands.cc.