From: apo Date: Thu, 25 Oct 2007 08:30:33 +0000 (+0000) Subject: 1. To restore "Build Min/Max" customization X-Git-Tag: mergeto_BR_Dev_For_4_0_29Oct07~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2c2be26b2d63d7fd1dd61d5b324eea239e589a1b;p=modules%2Fvisu.git 1. To restore "Build Min/Max" customization 2. Introduce a new file filter for distributed MED files "*_maitre.med" --- diff --git a/src/VISUGUI/VISU_msg_en.po b/src/VISUGUI/VISU_msg_en.po index 19b1cc9a..7dfeb445 100644 --- a/src/VISUGUI/VISU_msg_en.po +++ b/src/VISUGUI/VISU_msg_en.po @@ -489,6 +489,9 @@ msgstr "All Files (*.*)" msgid "VisuGUI::FLT_MED_FILES" msgstr "MED Files (*.med)" +msgid "VisuGUI::FLT_DISTRIBUTED_MED_FILES" +msgstr "Distributed MED Files (*_maitre.med)" + msgid "VisuGUI::FLT_TABLE_FILES" msgstr "Tables (*.xls *.txt *.tab)" diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 5f8e9794..6c77377c 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -186,6 +186,7 @@ VisuGUI // Get file name QStringList aFilter; aFilter.append( tr( "FLT_MED_FILES" ) ); + aFilter.append( tr( "FLT_DISTRIBUTED_MED_FILES" ) ); aFilter.append( tr( "FLT_ALL_FILES" ) ); bool toUseBuildProgress = aResourceMgr->booleanValue("VISU", "use_build_progress", false); @@ -2986,6 +2987,7 @@ void VisuGUI::createPreferences() addPreference( tr( "Full MED loading" ), importGr, LightApp_Preferences::Bool, "VISU", "full_med_loading" ); addPreference( tr( "Build at once" ), importGr, LightApp_Preferences::Bool, "VISU", "build_at_once" ); addPreference( tr( "Build fields" ), importGr, LightApp_Preferences::Bool, "VISU", "build_fields" ); + addPreference( tr( "Build min/max" ), importGr, LightApp_Preferences::Bool, "VISU", "build_min_max" ); addPreference( tr( "Build groups" ), importGr, LightApp_Preferences::Bool, "VISU", "build_groups" ); addPreference( tr( "Close dialog at finish" ), importGr, LightApp_Preferences::Bool, "VISU", "close_at_finish" );