if ( proxy ) {
// Set manually the properties entered via the dialog box poping-up when requiring
// a trace start in PV4.2 (trace options)
- trace->SetPropertiesToTraceOnCreate( vtkSMTrace::RECORD_USER_MODIFIED_PROPERTIES );
+ SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();
+ int type = aResourceMgr->integerValue( PARAVIS_MODULE_NAME, "tracestate_type", 2 );
+ trace->SetPropertiesToTraceOnCreate( type );
trace->SetFullyTraceSupplementalProxies( false );
}
}
int aSaveType = addPreference( tr( "PREF_SAVE_TYPE_LBL" ), aParaVisSettingsTab,
LightApp_Preferences::Selector,
PARAVIS_MODULE_NAME, "savestate_type" );
+
+ int aTraceType = addPreference( tr( "PREF_TRACE_TYPE_LBL" ), aParaVisSettingsTab,
+ LightApp_Preferences::Selector,
+ PARAVIS_MODULE_NAME, "tracestate_type" );
QList<QVariant> aIndices;
QStringList aStrings;
aIndices << 0 << 1 << 2;
aStrings << tr("PREF_SAVE_TYPE_2");
setPreferenceProperty( aSaveType, "strings", aStrings );
setPreferenceProperty( aSaveType, "indexes", aIndices );
+
+ aStrings.clear();
+ aStrings << tr("PREF_TRACE_TYPE_0");
+ aStrings << tr("PREF_TRACE_TYPE_1");
+ aStrings << tr("PREF_TRACE_TYPE_2");
+ setPreferenceProperty( aTraceType, "strings", aStrings );
+ setPreferenceProperty( aTraceType, "indexes", aIndices );
}
/*!
<source>PREF_NO_EXT_PVSERVER</source>
<translation>Do not use external PVServer (Warning: scripts running outside SALOME's GUI will be unusable!)</translation>
</message>
+ <message>
+ <source>PREF_TRACE_TYPE_LBL</source>
+ <translation>Select which properties to save in trace</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_0</source>
+ <translation>All properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_1</source>
+ <translation>Any modified properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_2</source>
+ <translation>Only user modified properties</translation>
+ </message>
<message>
<source>PREF_SHOW_COLOR_LEGEND</source>
<translation>Show Color Legend</translation>
<source>PREF_NO_EXT_PVSERVER</source>
<translation>Ne pas utiliser le PVServer externe (Attention: les scripts lancés en dehors de la GUI SALOME seront inutilisables !)</translation>
</message>
+ <message>
+ <source>PREF_TRACE_TYPE_LBL</source>
+ <translation type="unfinished">Select which properties to save in trace</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_0</source>
+ <translation type="unfinished">All properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_1</source>
+ <translation type="unfinished">Any modified properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_2</source>
+ <translation type="unfinished">Only user modified properties</translation>
+ </message>
<message>
<source>TIT_PVISSETTINGS</source>
<translation>Options de ParaVis </translation>
<source>PREF_NO_EXT_PVSERVER</source>
<translation>外部PVサーバを使用できません。(警告: SALOMEのGUIの外側で実行されたスクリプトは使用できません。)</translation>
</message>
+ <message>
+ <source>PREF_TRACE_TYPE_LBL</source>
+ <translation type="unfinished">Select which properties to save in trace</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_0</source>
+ <translation type="unfinished">All properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_1</source>
+ <translation type="unfinished">Any modified properties</translation>
+ </message>
+ <message>
+ <source>PREF_TRACE_TYPE_2</source>
+ <translation type="unfinished">Only user modified properties</translation>
+ </message>
<message>
<source>PREF_SHOW_COLOR_LEGEND</source>
<translation>色の凡例を表示します。</translation>