From: Cédric Aguerre Date: Wed, 10 Feb 2016 16:14:45 +0000 (+0100) Subject: [MEDCalc] icons and preferences X-Git-Tag: V8_1_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=945ff0e6331ac2b5940aec4c7b732b2f30e4fb24;p=modules%2Fmed.git [MEDCalc] icons and preferences --- diff --git a/src/MEDCalc/gui/MEDModule.cxx b/src/MEDCalc/gui/MEDModule.cxx index 7b9fccbb3..7d5770b6d 100644 --- a/src/MEDCalc/gui/MEDModule.cxx +++ b/src/MEDCalc/gui/MEDModule.cxx @@ -25,6 +25,7 @@ #include "SALOME_LifeCycleCORBA.hxx" #include "QtxPopupMgr.h" +#include #include #include #include @@ -122,6 +123,24 @@ MEDModule::viewManagers( QStringList& list ) const #endif } +void +MEDModule::createPreferences() +{ + int genTab = addPreference(tr("PREF_TAB_GENERAL")); + + int themeGroup = addPreference(tr("PREF_THEME_GROUP"), genTab); + setPreferenceProperty(themeGroup, "columns", 2); + int icons = addPreference(tr("PREF_ICONS"), themeGroup, LightApp_Preferences::Selector, "MEDCalc", "icons" ); + QStringList iconsThemes; + iconsThemes.append(tr("PREF_ICON_THEME_MODERN")); + iconsThemes.append(tr("PREF_ICON_THEME_CLASSIC")); + QList indices; + indices.append(0); + indices.append(1); + setPreferenceProperty(icons, "strings", iconsThemes); + setPreferenceProperty(icons, "indexes", indices); +} + bool MEDModule::activateModule( SUIT_Study* theStudy ) { diff --git a/src/MEDCalc/gui/MEDModule.hxx b/src/MEDCalc/gui/MEDModule.hxx index 508253dcd..b0853c61d 100644 --- a/src/MEDCalc/gui/MEDModule.hxx +++ b/src/MEDCalc/gui/MEDModule.hxx @@ -63,6 +63,8 @@ public: virtual void windows(QMap& theMap) const; virtual void viewManagers(QStringList& theList) const; + virtual void createPreferences(); + int createStandardAction(const QString& label, QObject* slotobject, const char* slotmember, diff --git a/src/MEDCalc/gui/MED_images.ts b/src/MEDCalc/gui/MED_images.ts index 3f7fcf1e0..bcc3b14e5 100644 --- a/src/MEDCalc/gui/MED_images.ts +++ b/src/MEDCalc/gui/MED_images.ts @@ -63,53 +63,155 @@ ICO_WORKSPACE_SAVE workspace_save.png + - ICO_PRESENTATION_SCALAR_MAP + ICO_PRESENTATION_SCALAR_MAP_DEFAULT scalarmap24.png - ICO_PRESENTATION_CONTOUR + ICO_PRESENTATION_CONTOUR_DEFAULT pqIsosurface24.png - ICO_PRESENTATION_VECTOR_FIELD + ICO_PRESENTATION_VECTOR_FIELD_DEFAULT pqGlyph24.png - ICO_PRESENTATION_SLICES + ICO_PRESENTATION_SLICES_DEFAULT pqSlice24.png - ICO_PRESENTATION_DEFLECTION_SHAPE + ICO_PRESENTATION_DEFLECTION_SHAPE_DEFAULT pqWarp24.png - ICO_PRESENTATION_POINT_SPRITE + ICO_PRESENTATION_POINT_SPRITE_DEFAULT pqNodeMapData24.png + - ICO_MEDPresentationScalarMap + ICO_MEDPresentationScalarMap_DEFAULT scalarmap16.png - ICO_MEDPresentationContour + ICO_MEDPresentationContour_DEFAULT pqIsosurface16.png - ICO_MEDPresentationVectorField + ICO_MEDPresentationVectorField_DEFAULT pqGlyph16.png - ICO_MEDPresentationSlices + ICO_MEDPresentationSlices_DEFAULT pqSlice16.png - ICO_MEDPresentationDeflectionShape + ICO_MEDPresentationDeflectionShape_DEFAULT pqWarp16.png - ICO_MEDPresentationPointSprite + ICO_MEDPresentationPointSprite_DEFAULT pqNodeMapData16.png + + + ICO_PRESENTATION_SCALAR_MAP_MODERN + scalarmap24.png + + + ICO_PRESENTATION_CONTOUR_MODERN + pqIsosurface24.png + + + ICO_PRESENTATION_VECTOR_FIELD_MODERN + pqGlyph24.png + + + ICO_PRESENTATION_SLICES_MODERN + pqSlice24.png + + + ICO_PRESENTATION_DEFLECTION_SHAPE_MODERN + pqWarp24.png + + + ICO_PRESENTATION_POINT_SPRITE_MODERN + pqNodeMapData24.png + + + + ICO_MEDPresentationScalarMap_MODERN + scalarmap16.png + + + ICO_MEDPresentationContour_MODERN + pqIsosurface16.png + + + ICO_MEDPresentationVectorField_MODERN + pqGlyph16.png + + + ICO_MEDPresentationSlices_MODERN + pqSlice16.png + + + ICO_MEDPresentationDeflectionShape_MODERN + pqWarp16.png + + + ICO_MEDPresentationPointSprite_MODERN + pqNodeMapData16.png + + + + ICO_PRESENTATION_SCALAR_MAP_CLASSIC + visu_scalars24.png + + + ICO_PRESENTATION_CONTOUR_CLASSIC + visu_isosurfaces24.png + + + ICO_PRESENTATION_VECTOR_FIELD_CLASSIC + visu_vectors24.png + + + ICO_PRESENTATION_SLICES_CLASSIC + visu_cutplanes24.png + + + ICO_PRESENTATION_DEFLECTION_SHAPE_CLASSIC + visu_deformed24.png + + + ICO_PRESENTATION_POINT_SPRITE_CLASSIC + visu_points24.png + + + + ICO_MEDPresentationScalarMap_CLASSIC + visu_scalars16.png + + + ICO_MEDPresentationContour_CLASSIC + visu_isosurfaces16.png + + + ICO_MEDPresentationVectorField_CLASSIC + visu_vectors16.png + + + ICO_MEDPresentationSlices_CLASSIC + visu_cutplanes16.png + + + ICO_MEDPresentationDeflectionShape_CLASSIC + visu_deformed16.png + + + ICO_MEDPresentationPointSprite_CLASSIC + visu_points16.png + diff --git a/src/MEDCalc/gui/MED_msg_en.ts b/src/MEDCalc/gui/MED_msg_en.ts index 8a6d8934e..092e8caa5 100644 --- a/src/MEDCalc/gui/MED_msg_en.ts +++ b/src/MEDCalc/gui/MED_msg_en.ts @@ -357,6 +357,26 @@ MEN_FILE &File + + PREF_TAB_GENERAL + General + + + PREF_THEME_GROUP + Theme + + + PREF_ICONS + Icons + + + PREF_ICON_THEME_MODERN + Modern + + + PREF_ICON_THEME_CLASSIC + Classic + WorkspaceController diff --git a/src/MEDCalc/gui/MED_msg_fr.ts b/src/MEDCalc/gui/MED_msg_fr.ts index 290fe00fb..c892ca55d 100644 --- a/src/MEDCalc/gui/MED_msg_fr.ts +++ b/src/MEDCalc/gui/MED_msg_fr.ts @@ -361,6 +361,26 @@ MEN_FILE &Fichier + + PREF_TAB_GENERAL + Général + + + PREF_THEME_GROUP + Thème + + + PREF_ICONS + Icones + + + PREF_ICON_THEME_MODERN + Moderne + + + PREF_ICON_THEME_CLASSIC + Classique + WorkspaceController diff --git a/src/MEDCalc/gui/PresentationController.cxx b/src/MEDCalc/gui/PresentationController.cxx index ea2aa5752..bb432b56b 100644 --- a/src/MEDCalc/gui/PresentationController.cxx +++ b/src/MEDCalc/gui/PresentationController.cxx @@ -32,6 +32,8 @@ #include #include +#include +#include #include static const int OPTIONS_VIEW_MODE_ID = 943; @@ -52,6 +54,23 @@ PresentationController::~PresentationController() STDLOG("Deleting the PresentationController"); } +std::string +PresentationController::_getIconName(const std::string& name) +{ + SUIT_ResourceMgr* mgr = SUIT_Session::session()->resourceMgr(); + if (!mgr) + return name; + + // Read value from preferences and suffix name to select icon theme + int theme = mgr->integerValue("MEDCalc", "icons"); + if (theme == 0) { + return name + "_MODERN"; + } else if (theme == 1) { + return name + "_CLASSIC"; + } + return name + "_DEFAULT"; +} + void PresentationController::createActions() { @@ -95,7 +114,7 @@ PresentationController::createActions() // Presentations label = tr("LAB_PRESENTATION_SCALAR_MAP"); tooltip = tr("TIP_PRESENTATION_SCALAR_MAP"); - QString icon = tr("ICO_PRESENTATION_SCALAR_MAP"); + QString icon = tr(_getIconName("ICO_PRESENTATION_SCALAR_MAP").c_str()); int actionId; actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeScalarMap()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); @@ -104,7 +123,7 @@ PresentationController::createActions() label = tr("LAB_PRESENTATION_CONTOUR"); tooltip = tr("TIP_PRESENTATION_CONTOUR"); - icon = tr("ICO_PRESENTATION_CONTOUR"); + icon = tr(_getIconName("ICO_PRESENTATION_CONTOUR").c_str()); actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeContour()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); _salomeModule->action(actionId)->setIconVisibleInMenu(true); @@ -112,7 +131,7 @@ PresentationController::createActions() label = tr("LAB_PRESENTATION_VECTOR_FIELD"); tooltip = tr("TIP_PRESENTATION_VECTOR_FIELD"); - icon = tr("ICO_PRESENTATION_VECTOR_FIELD"); + icon = tr(_getIconName("ICO_PRESENTATION_VECTOR_FIELD").c_str()); actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeVectorField()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); _salomeModule->action(actionId)->setIconVisibleInMenu(true); @@ -120,7 +139,7 @@ PresentationController::createActions() label = tr("LAB_PRESENTATION_SLICES"); tooltip = tr("TIP_PRESENTATION_SLICES"); - icon = tr("ICO_PRESENTATION_SLICES"); + icon = tr(_getIconName("ICO_PRESENTATION_SLICES").c_str()); actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeSlices()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); _salomeModule->action(actionId)->setIconVisibleInMenu(true); @@ -128,7 +147,7 @@ PresentationController::createActions() label = tr("LAB_PRESENTATION_DEFLECTION_SHAPE"); tooltip = tr("TIP_PRESENTATION_DEFLECTION_SHAPE"); - icon = tr("ICO_PRESENTATION_DEFLECTION_SHAPE"); + icon = tr(_getIconName("ICO_PRESENTATION_DEFLECTION_SHAPE").c_str()); actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizeDeflectionShape()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); _salomeModule->action(actionId)->setIconVisibleInMenu(true); @@ -136,7 +155,7 @@ PresentationController::createActions() label = tr("LAB_PRESENTATION_POINT_SPRITE"); tooltip = tr("TIP_PRESENTATION_POINT_SPRITE"); - icon = tr("ICO_PRESENTATION_POINT_SPRITE"); + icon = tr(_getIconName("ICO_PRESENTATION_POINT_SPRITE").c_str()); actionId = _salomeModule->createStandardAction(label,this, SLOT(OnVisualizePointSprite()),icon,tooltip); _salomeModule->createTool(actionId, toolbarId); _salomeModule->action(actionId)->setIconVisibleInMenu(true); @@ -243,6 +262,7 @@ PresentationController::updateTreeViewWithNewPresentation(long fieldId, long pre std::string name = MEDFactoryClient::getPresentationManager()->getPresentationProperty(presentationId, "name"); std::string icon = std::string("ICO_") + name; + icon = _getIconName(icon); name = tr(name.c_str()).toStdString(); std::string label = tr(icon.c_str()).toStdString(); diff --git a/src/MEDCalc/gui/PresentationController.hxx b/src/MEDCalc/gui/PresentationController.hxx index f48f8e77b..d58b926d8 100644 --- a/src/MEDCalc/gui/PresentationController.hxx +++ b/src/MEDCalc/gui/PresentationController.hxx @@ -59,7 +59,7 @@ public: MEDCALC::MEDPresentationViewMode getSelectedViewMode(); signals: - void presentationSignal(const PresentationEvent* event); + void presentationSignal(const PresentationEvent*); protected slots: void OnVisualizeScalarMap(); @@ -68,11 +68,12 @@ protected slots: void OnVisualizeSlices(); void OnVisualizeDeflectionShape(); void OnVisualizePointSprite(); - void processWorkspaceEvent(const MEDCALC::MedEvent* event); + void processWorkspaceEvent(const MEDCALC::MedEvent*); private: void visualize(PresentationEvent::EventType); - void updateTreeViewWithNewPresentation(long fieldId, long presentationId); + void updateTreeViewWithNewPresentation(long, long); + std::string _getIconName(const std::string&); private: MEDModule* _salomeModule; diff --git a/src/MEDCalc/res/CMakeLists.txt b/src/MEDCalc/res/CMakeLists.txt index c46ae2bbb..a69b6db66 100644 --- a/src/MEDCalc/res/CMakeLists.txt +++ b/src/MEDCalc/res/CMakeLists.txt @@ -20,23 +20,6 @@ ADD_SUBDIRECTORY(testfiles) ADD_SUBDIRECTORY(presentations) -SET(MED_RESOURCES_FILES - datasource_add.png - datasource_changeUnderlyingMesh.png - datasource_interpolateField.png - datasource_expandfield.png - datasource_field.png - datasource_mesh.png - datasource.png - datasource_use.png - datasource_view.png - fileimport-32.png - folder.png - image_add.png - MEDCalc.png - MEDCalc_small.png - workspace_clean.png - workspace_save.png - pqAppIcon16.png - ) +FILE(GLOB MED_RESOURCES_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*.png") + INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}) diff --git a/src/MEDCalc/res/presentations/CMakeLists.txt b/src/MEDCalc/res/presentations/CMakeLists.txt index b5ca40881..c7289b0c2 100644 --- a/src/MEDCalc/res/presentations/CMakeLists.txt +++ b/src/MEDCalc/res/presentations/CMakeLists.txt @@ -17,18 +17,5 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(MED_RESOURCES_FILES - pqGlyph16.png - pqGlyph24.png - pqIsosurface16.png - pqIsosurface24.png - pqNodeMapData16.png - pqNodeMapData24.png - pqSlice16.png - pqSlice24.png - pqWarp16.png - pqWarp24.png - scalarmap16.png - scalarmap24.png - ) -INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}) +ADD_SUBDIRECTORY(modern) +ADD_SUBDIRECTORY(classic) diff --git a/src/MEDCalc/res/presentations/classic/CMakeLists.txt b/src/MEDCalc/res/presentations/classic/CMakeLists.txt new file mode 100644 index 000000000..d574ae324 --- /dev/null +++ b/src/MEDCalc/res/presentations/classic/CMakeLists.txt @@ -0,0 +1,22 @@ +# Copyright (C) 2016 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +FILE(GLOB MED_RESOURCES_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*.png") + +INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}) diff --git a/src/MEDCalc/res/presentations/classic/visu_cutplanes16.png b/src/MEDCalc/res/presentations/classic/visu_cutplanes16.png new file mode 100644 index 000000000..cb88f3dc2 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_cutplanes16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_cutplanes24.png b/src/MEDCalc/res/presentations/classic/visu_cutplanes24.png new file mode 100644 index 000000000..385805065 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_cutplanes24.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_deformed16.png b/src/MEDCalc/res/presentations/classic/visu_deformed16.png new file mode 100644 index 000000000..f12b8f282 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_deformed16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_deformed24.png b/src/MEDCalc/res/presentations/classic/visu_deformed24.png new file mode 100644 index 000000000..d763d43b9 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_deformed24.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_isosurfaces16.png b/src/MEDCalc/res/presentations/classic/visu_isosurfaces16.png new file mode 100644 index 000000000..0229c7a7a Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_isosurfaces16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_isosurfaces24.png b/src/MEDCalc/res/presentations/classic/visu_isosurfaces24.png new file mode 100644 index 000000000..e5e77948a Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_isosurfaces24.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_points16.png b/src/MEDCalc/res/presentations/classic/visu_points16.png new file mode 100644 index 000000000..bf4065664 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_points16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_points24.png b/src/MEDCalc/res/presentations/classic/visu_points24.png new file mode 100644 index 000000000..c3287b4ea Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_points24.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_scalars16.png b/src/MEDCalc/res/presentations/classic/visu_scalars16.png new file mode 100644 index 000000000..f675c3d62 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_scalars16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_scalars24.png b/src/MEDCalc/res/presentations/classic/visu_scalars24.png new file mode 100644 index 000000000..2182a7fa7 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_scalars24.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_vectors16.png b/src/MEDCalc/res/presentations/classic/visu_vectors16.png new file mode 100644 index 000000000..ebb1bc66e Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_vectors16.png differ diff --git a/src/MEDCalc/res/presentations/classic/visu_vectors24.png b/src/MEDCalc/res/presentations/classic/visu_vectors24.png new file mode 100644 index 000000000..d3fa2c4d4 Binary files /dev/null and b/src/MEDCalc/res/presentations/classic/visu_vectors24.png differ diff --git a/src/MEDCalc/res/presentations/modern/CMakeLists.txt b/src/MEDCalc/res/presentations/modern/CMakeLists.txt new file mode 100644 index 000000000..d574ae324 --- /dev/null +++ b/src/MEDCalc/res/presentations/modern/CMakeLists.txt @@ -0,0 +1,22 @@ +# Copyright (C) 2016 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +FILE(GLOB MED_RESOURCES_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/*.png") + +INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA}) diff --git a/src/MEDCalc/res/presentations/modern/pqGlyph16.png b/src/MEDCalc/res/presentations/modern/pqGlyph16.png new file mode 100644 index 000000000..ff441b0a4 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqGlyph16.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqGlyph24.png b/src/MEDCalc/res/presentations/modern/pqGlyph24.png new file mode 100644 index 000000000..68e6766d5 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqGlyph24.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqIsosurface16.png b/src/MEDCalc/res/presentations/modern/pqIsosurface16.png new file mode 100644 index 000000000..40b7908ef Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqIsosurface16.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqIsosurface24.png b/src/MEDCalc/res/presentations/modern/pqIsosurface24.png new file mode 100644 index 000000000..825222cf6 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqIsosurface24.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqNodeMapData16.png b/src/MEDCalc/res/presentations/modern/pqNodeMapData16.png new file mode 100644 index 000000000..4cb32e427 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqNodeMapData16.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqNodeMapData24.png b/src/MEDCalc/res/presentations/modern/pqNodeMapData24.png new file mode 100644 index 000000000..3b797831c Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqNodeMapData24.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqSlice16.png b/src/MEDCalc/res/presentations/modern/pqSlice16.png new file mode 100644 index 000000000..5b1f1cc65 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqSlice16.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqSlice24.png b/src/MEDCalc/res/presentations/modern/pqSlice24.png new file mode 100644 index 000000000..070ce3bda Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqSlice24.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqWarp16.png b/src/MEDCalc/res/presentations/modern/pqWarp16.png new file mode 100644 index 000000000..b27599a22 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqWarp16.png differ diff --git a/src/MEDCalc/res/presentations/modern/pqWarp24.png b/src/MEDCalc/res/presentations/modern/pqWarp24.png new file mode 100644 index 000000000..b7227d48c Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/pqWarp24.png differ diff --git a/src/MEDCalc/res/presentations/modern/scalarmap16.png b/src/MEDCalc/res/presentations/modern/scalarmap16.png new file mode 100644 index 000000000..97fbeb853 Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/scalarmap16.png differ diff --git a/src/MEDCalc/res/presentations/modern/scalarmap24.png b/src/MEDCalc/res/presentations/modern/scalarmap24.png new file mode 100644 index 000000000..08cedf9ea Binary files /dev/null and b/src/MEDCalc/res/presentations/modern/scalarmap24.png differ diff --git a/src/MEDCalc/res/presentations/pqGlyph16.png b/src/MEDCalc/res/presentations/pqGlyph16.png deleted file mode 100644 index ff441b0a4..000000000 Binary files a/src/MEDCalc/res/presentations/pqGlyph16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqGlyph24.png b/src/MEDCalc/res/presentations/pqGlyph24.png deleted file mode 100644 index 68e6766d5..000000000 Binary files a/src/MEDCalc/res/presentations/pqGlyph24.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqIsosurface16.png b/src/MEDCalc/res/presentations/pqIsosurface16.png deleted file mode 100644 index 40b7908ef..000000000 Binary files a/src/MEDCalc/res/presentations/pqIsosurface16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqIsosurface24.png b/src/MEDCalc/res/presentations/pqIsosurface24.png deleted file mode 100644 index 825222cf6..000000000 Binary files a/src/MEDCalc/res/presentations/pqIsosurface24.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqNodeMapData16.png b/src/MEDCalc/res/presentations/pqNodeMapData16.png deleted file mode 100644 index 4cb32e427..000000000 Binary files a/src/MEDCalc/res/presentations/pqNodeMapData16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqNodeMapData24.png b/src/MEDCalc/res/presentations/pqNodeMapData24.png deleted file mode 100644 index 3b797831c..000000000 Binary files a/src/MEDCalc/res/presentations/pqNodeMapData24.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqSlice16.png b/src/MEDCalc/res/presentations/pqSlice16.png deleted file mode 100644 index 5b1f1cc65..000000000 Binary files a/src/MEDCalc/res/presentations/pqSlice16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqSlice24.png b/src/MEDCalc/res/presentations/pqSlice24.png deleted file mode 100644 index 070ce3bda..000000000 Binary files a/src/MEDCalc/res/presentations/pqSlice24.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqWarp16.png b/src/MEDCalc/res/presentations/pqWarp16.png deleted file mode 100644 index b27599a22..000000000 Binary files a/src/MEDCalc/res/presentations/pqWarp16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/pqWarp24.png b/src/MEDCalc/res/presentations/pqWarp24.png deleted file mode 100644 index b7227d48c..000000000 Binary files a/src/MEDCalc/res/presentations/pqWarp24.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/scalarmap16.png b/src/MEDCalc/res/presentations/scalarmap16.png deleted file mode 100644 index aa7d554ac..000000000 Binary files a/src/MEDCalc/res/presentations/scalarmap16.png and /dev/null differ diff --git a/src/MEDCalc/res/presentations/scalarmap24.png b/src/MEDCalc/res/presentations/scalarmap24.png deleted file mode 100644 index 7132ece51..000000000 Binary files a/src/MEDCalc/res/presentations/scalarmap24.png and /dev/null differ