#include <pqExportReaction.h>
#include <pqSaveAnimationReaction.h>
#include <pqSaveAnimationGeometryReaction.h>
+#include <pqLoadMaterialsReaction.h>
#include <pqServerConnectReaction.h>
#include <pqServerDisconnectReaction.h>
#include <pqCameraUndoRedoReaction.h>
registerAction(SaveGeometryId, anAction);
new pqSaveAnimationGeometryReaction(anAction);
+ // Load Path Tracer Materials
+ aPixmap = resMgr->loadPixmap( "ParaView", tr("ICON_LOAD_MATERIAL"), false );
+ anAction = new QAction(QIcon(aPixmap), tr("MEN_LOAD_MATERIAL"), this);
+ anAction->setToolTip(tr("TOP_LOAD_MATERIAL"));
+ anAction->setStatusTip(tr("STB_LOAD_MATERIAL"));
+ registerAction(LoadMaterialsId, anAction);
+ new pqLoadMaterialsReaction(anAction);
+
// Connect
aPixmap = resMgr->loadPixmap( "ParaView", tr("ICON_CONNECT"), false );
anAction = new QAction(QIcon(aPixmap), tr("MEN_CONNECT"), this);
createMenu( SaveGeometryId, aPVMnu, 35 );
createMenu( separator(), aPVMnu, -1, 35 );
- createMenu( ConnectId, aPVMnu, 45 );
- createMenu( DisconnectId, aPVMnu, 45 );
+ createMenu( LoadMaterialsId, aPVMnu, 45);
createMenu( separator(), aPVMnu, -1, 45 );
+ createMenu( ConnectId, aPVMnu, 55 );
+ createMenu( DisconnectId, aPVMnu, 55 );
+ createMenu( separator(), aPVMnu, -1, 55 );
+
// --- Menu "Edit"
aPVMnu = createMenu( tr( "MEN_DESK_EDIT" ), -1, -1 );
<source>STB_SAVE_GEOMETRY</source>
<translation>Save Geometry</translation>
</message>
+ <message>
+ <source>TOP_LOAD_MATERIAL</source>
+ <translation>Load Path Tracer Materials...</translation>
+ </message>
+ <message>
+ <source>MEN_LOAD_MATERIAL</source>
+ <translation>Load Path Tracer Materials...</translation>
+ </message>
+ <message>
+ <source>STB_LOAD_MATERIAL</source>
+ <translation>Load Path Tracer Materials...</translation>
+ </message>
<message>
<source>TOP_CONNECT</source>
<translation>Connect</translation>
<source>STB_SAVE_GEOMETRY</source>
<translation>Enregistrer la Géométrie</translation>
</message>
+ <message>
+ <source>TOP_LOAD_MATERIAL</source>
+ <translation>Charger le ficher de matériau d'Ospray...</translation>
+ </message>
+ <message>
+ <source>MEN_LOAD_MATERIAL</source>
+ <translation>Charger le ficher de matériau d'Ospray...</translation>
+ </message>
+ <message>
+ <source>STB_LOAD_MATERIAL</source>
+ <translation>Charger le ficher de matériau d'Ospray...</translation>
+ </message>
<message>
<source>TOP_CONNECT</source>
<translation>Connecter</translation>