Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -59,6 +59,7 @@ class QCompleter;
class QtGlobal;
class QStandardItemModel;
class QToolButton;
class QRadioButton;
// Class description :
//
@@ -94,10 +95,10 @@ class G4QTabWidget : public QTabWidget
G4int fLastCreated;
G4int fPreferedSizeX;
G4int fPreferedSizeY;
inline void setPreferredSize(QSize s)
inline void setPreferredSize(QSize size)
{
fPreferedSizeX = s.width() + 6; // tab label height + margin left+right
fPreferedSizeY = s.height() + 58; // margin left+right
fPreferedSizeX = size.width() + 6; // tab label height + margin left+right
fPreferedSizeY = size.height() + 58; // margin left+right
}
inline QSize sizeHint() const override { return QSize(fPreferedSizeX, fPreferedSizeY); }
};
@@ -192,13 +193,14 @@ class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSessio
void SetIconMoveSelected();
void SetIconRotateSelected();
void SetIconPickSelected();
void TogglePickSelection();
void SetIconZoomInSelected();
void SetIconZoomOutSelected();
void SetIconHLHSRSelected();
void SetIconHLRSelected();
void SetIconSolidSelected();
void SetIconWireframeSelected();
void SetIconCoudPointSelected();
void SetIconPerspectiveSelected();
void SetIconOrthoSelected();
@@ -243,6 +245,12 @@ class G4UIQt : public QObject, public G4VBasicShell, public G4VInteractiveSessio
// Update "new" scene tree
void UpdateSceneTree(const G4SceneTreeItem&) override;
// Update control widgets
void UpdateDrawingStyle(G4int style) override;
void UpdateProjectionStyle(G4int style) override;
void UpdateTransparencySlider(G4double depth, G4int option) override;
public:
~G4UIQt() override;
void Prompt(const G4String&);
@@ -353,6 +361,9 @@ private:
NewSceneTreeItemTreeWidget* fNewSceneTreeItemTreeWidget;
G4int fMaxPVDepth;
QSlider* fNewSceneTreeSlider;
QRadioButton* fUnwrapButtonWidget;
QRadioButton* fFadeButtonWidget;
QRadioButton* fXrayButtonWidget;
QWidget* fViewerPropertiesWidget;
QWidget* fPickInfosWidget;
QLineEdit* fHelpLine;
@@ -384,6 +395,7 @@ private:
QPixmap* fZoomOutIcon;
QPixmap* fWireframeIcon;
QPixmap* fSolidIcon;
QPixmap* fPointCloudIcon;
QPixmap* fHiddenLineRemovalIcon;
QPixmap* fHiddenLineAndSurfaceRemovalIcon;
QPixmap* fPerspectiveIcon;
@@ -394,6 +406,8 @@ private:
QPixmap* fParamIcon;
QPixmap* fPickTargetIcon;
QPixmap* fExitIcon;
QPixmap* fResetCameraIcon;
QPixmap* fResetTargetPointIcon;
#ifdef G4MULTITHREADED
QComboBox* fThreadsFilterComboBox;
@@ -435,6 +449,8 @@ private:
void SaveIconCallback(const QString&);
void ViewerPropertiesIconCallback(int);
void ChangePerspectiveOrtho(const QString&);
void ResetCameraCallback();
};
#endif