X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FDatasourceController.hxx;h=ec318fdf0e9836f07c495ab1240582b72a27d871;hb=c933321e259af4968b2469c1d4f6b7ac5178e294;hp=69b9f8cb639f158fceb4cab92e853f310c037293;hpb=7acfe5d0690db25de950d8f6599df319e3f93dfe;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/DatasourceController.hxx b/src/MEDCalc/gui/DatasourceController.hxx index 69b9f8cb6..ec318fdf0 100644 --- a/src/MEDCalc/gui/DatasourceController.hxx +++ b/src/MEDCalc/gui/DatasourceController.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D +// Copyright (C) 2007-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -31,8 +31,6 @@ #include #include "XmedDataModel.hxx" -#include "DlgChangeUnderlyingMesh.hxx" -#include "DlgInterpolateField.hxx" #include "MEDCALCGUI.hxx" // // The DatasourceController defines data structures and classes to @@ -67,7 +65,7 @@ typedef struct { EVENT_ADD_PRESENTATION }; int eventtype; - XmedDataObject * objectdata; + XmedDataObject* objectdata; QString objectalias; } DatasourceEvent; @@ -82,47 +80,30 @@ class MEDCALCGUI_EXPORT DatasourceController: public QObject { Q_OBJECT public: - DatasourceController(MEDModule * salomeModule); + DatasourceController(MEDModule* salomeModule); ~DatasourceController(); void createActions(); public slots: - // Callback connected to dialog box validation signals - void OnChangeUnderlyingMeshInputValidated(); - void OnInterpolateFieldInputValidated(); - void processWorkspaceEvent(const MEDCALC::MedEvent * event); + void processWorkspaceEvent(const MEDCALC::MedEvent* event); signals: - void datasourceSignal(const DatasourceEvent * event); + void datasourceSignal(const DatasourceEvent* event); protected slots: void OnAddDatasource(); void OnAddImagesource(); void OnExpandField(); - void OnVisualizeScalarMap(); - void OnVisualizeContour(); - void OnVisualizeVectorField(); - void OnVisualizeSlices(); - void OnVisualizeDeflectionShape(); - void OnVisualizePointSprite(); void OnUseInWorkspace(); - void OnChangeUnderlyingMesh(); - void OnInterpolateField(); private: - void visualize(DatasourceEvent::EventType); void addDatasource(const char* filename); void updateTreeViewWithNewDatasource(const MEDCALC::DatasourceHandler*); - void updateTreeViewWithNewPresentation(long fieldId, long presentationId); private: MEDModule* _salomeModule; - SALOME_AppStudyEditor * _studyEditor; - - DlgChangeUnderlyingMesh * _dlgChangeUnderlyingMesh; - DlgInterpolateField * _dlgInterpolateField; - + SALOME_AppStudyEditor* _studyEditor; // borrowed to MEDModule }; #endif