From 267cd68b2636b30bacb6b1c5048741e53f9fca66 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 20 Dec 2005 14:10:24 +0000 Subject: [PATCH] Preferences for Geometrical Sphere, Build Progress dialog and Recorder dialog. --- src/VISUGUI/VISUM_msg_en.po | 49 ++++++++--- src/VISUGUI/VisuGUI.cxx | 82 ++++++++++--------- src/VISUGUI/VisuGUI_BuildProgressDlg.cxx | 6 +- src/VISUGUI/VisuGUI_GaussPointsDlg.cxx | 2 + src/VISUGUI/VisuGUI_Module.cxx | 100 +++++++++++++++++++---- src/VISUGUI/VisuGUI_Module.h | 10 +-- 6 files changed, 179 insertions(+), 70 deletions(-) diff --git a/src/VISUGUI/VISUM_msg_en.po b/src/VISUGUI/VISUM_msg_en.po index 4de1b4e4..6aa0d0fd 100644 --- a/src/VISUGUI/VISUM_msg_en.po +++ b/src/VISUGUI/VISUM_msg_en.po @@ -24,6 +24,8 @@ msgstr "Gauss" msgid "VisuGUI_Module::MEN_GAUSS_NEW_VIEWER" msgstr "Points view" +msgid "VisuGUI_Module::MEN_GAUSS_CREATE_PRS" +msgstr "Gauss Points" msgid "VisuGUI_Module::VISU_GAUSS_PREF_TAB_TTL" msgstr "Gauss Points" @@ -56,7 +58,7 @@ msgid "VisuGUI_Module::VISU_GAUSS_PREF_ALPHA_THRESHOLD" msgstr "Alpha Channel Threshold" msgid "VisuGUI_Module::VISU_GAUSS_PREF_RESOLUTION" -msgstr "Resolution" +msgstr "Geometrical sphere resolution" msgid "VisuGUI_Module::VISU_GAUSS_PREF_FACE_LIMIT" msgstr "Notify when number of faces exceeds" @@ -91,6 +93,12 @@ msgstr "Deformed Shape" msgid "VisuGUI_Module::VISU_GAUSS_PREF_SCALE_FACTOR" msgstr "Scale factor" +msgid "VisuGUI_Module::VISU_GAUSS_PREF_RESOLUTION" +msgstr "Geometrical sphere resolution" + +msgid "VisuGUI_Module::GAUSS_PREF_FACE_LIMIT" +msgstr "Notify when number of faces exceeds" + msgid "VisuGUI_Module::VISU_GAUSS_SCALAR_BAR_PREF_TAB_TTL" msgstr "Gauss Points Scalar Bar" @@ -121,18 +129,18 @@ msgstr "Rainbow" msgid "VisuGUI_Module::VISU_GAUSS_PREF_SPACING" msgstr "Spacing" +msgid "VisuGUI_Module::VISU_GAUSS_INSIDE_CURSOR_PREF_TAB_TTL" +msgstr "Inside Cursor" + +msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAGNIFICATION_GROUP_TTL" +msgstr "Magnification (Inside and Outside)" + msgid "VisuGUI_Module::VISU_GAUSS_OUTSIDE_CURSOR_PREF_TAB_TTL" -msgstr "Outside Cursor Gauss Points" +msgstr "Outside Cursor" msgid "VisuGUI_Module::VISU_GAUSS_PREF_UNIFORM_COLOR" msgstr "Uniform Color" -msgid "VisuGUI_Module::VISU_GAUSS_INSIDE_CURSOR_PREF_TAB_TTL" -msgstr "Inside Cursor Gauss Points" - -msgid "VisuGUI_Module::VISU_GAUSS_PREF_MAGNIFICATION_GROUP_TTL" -msgstr "Magnification (Inside & Outside)" - msgid "VisuGUI_Module::VISU_GAUSS_PREF_COLOR_GROUP_TTL" msgstr "Color" @@ -265,8 +273,29 @@ msgstr "Camera movements" msgid "VisuGUI_Module::VISU_CAMERA_MOVE_PREF" msgstr "Number of steps between two positions" -msgid "VisuGUI_Module::MEN_GAUSS_CREATE_PRS" -msgstr "Gauss Points" +msgid "VisuGUI_Module::VISU_RECORDER_PREF_TAB_TTL" +msgstr "Recorder" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_GROUP_TTL" +msgstr "Settings" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_RECORDING_MODE" +msgstr "Mode" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_SKIPPED_FRAMES" +msgstr "Recording at a given FPS" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_ALL_DISLPAYED_FRAMES" +msgstr "Recording all displayed frames" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_FPS" +msgstr "FPS" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_QUALITY" +msgstr "Quality" + +msgid "VisuGUI_Module::VISU_RECORDER_PREF_PROGRESSIVE" +msgstr "Progressive" msgid "VisuGUI_GaussPointsDlg::DLG_PREF_TITLE" msgstr "Gauss Points Preferences" diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 240853de..4c18c6e7 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2759,6 +2759,42 @@ void VisuGUI::createPreferences() { int sbarTab = addPreference( tr( "VISU_SCALAR_BAR" ) ); + int rangeGr = addPreference( tr( "VISU_SCALAR_RANGE" ), sbarTab ); + setPreferenceProperty( rangeGr, "columns", 1 ); + + int mode = addPreference( tr( "VISU_SCALAR_MODE" ), rangeGr, LightApp_Preferences::Selector, "VISU", "scalar_bar_mode" ); + QStringList modes; + modes.append( tr( "VISU_MODULUS" ) ); + modes.append( tr( "VISU_COMPONENT" ) + tr("1") ); + modes.append( tr( "VISU_COMPONENT" ) + tr("2") ); + modes.append( tr( "VISU_COMPONENT" ) + tr("3") ); + QValueList indices; + indices.append( 0 ); + indices.append( 1 ); + indices.append( 2 ); + indices.append( 3 ); + setPreferenceProperty( mode, "strings", modes ); + setPreferenceProperty( mode, "indexes", indices ); + + addPreference( tr( "VISU_LOGARITHMIC_SCALING" ), rangeGr, LightApp_Preferences::Bool, "VISU", "scalar_bar_logarithmic" ); + + int rangetype = addPreference( tr( "VISU_RANGE_TO_USE" ), rangeGr, LightApp_Preferences::Selector, "VISU", "scalar_range_type" ); + QStringList types; + types.append( tr( "VISU_FIELD_RANGE" ) ); + types.append( tr( "VISU_IMPOSED_RANGE" ) ); + indices.clear(); + indices.append( 0 ); + indices.append( 1 ); + setPreferenceProperty( rangetype, "strings", types ); + setPreferenceProperty( rangetype, "indexes", indices ); + + int imposedGr = addPreference( tr( "VISU_MINMAX_IMPOSED_RANGE" ), sbarTab ); + + int min = addPreference( tr( "VISU_MIN" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_min" ); + int max = addPreference( tr( "VISU_MAX" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_max" ); + setPreferenceProperty( min, "step", 0.1 ); + setPreferenceProperty( max, "step", 0.1 ); + int fontGr = addPreference( tr( "VISU_FONT" ), sbarTab ); int tfont = addPreference( tr( "VISU_TITLE" ), fontGr, LightApp_Preferences::Font, "VISU", "scalar_bar_title_font" ); addPreference( tr( "VISU_TITLE" ), fontGr, LightApp_Preferences::Color, "VISU", "scalar_bar_title_color" ); @@ -2793,7 +2829,7 @@ void VisuGUI::createPreferences() QStringList orients; orients.append( tr( "VISU_VERTICAL" ) ); orients.append( tr( "VISU_HORIZONTAL" ) ); - QValueList indices; + indices.clear(); indices.append( 0 ); indices.append( 1 ); setPreferenceProperty( orient, "strings", orients ); @@ -2835,43 +2871,7 @@ void VisuGUI::createPreferences() setPreferenceProperty( wh, "max", 1.0 ); setPreferenceProperty( hh, "max", 1.0 ); - int srangeTab = addPreference( tr( "Scalar range, Sweep, MED import" ) ); - - int rangeGr = addPreference( tr( "VISU_SCALAR_RANGE" ), srangeTab ); - setPreferenceProperty( rangeGr, "columns", 1 ); - - int mode = addPreference( tr( "VISU_SCALAR_MODE" ), rangeGr, LightApp_Preferences::Selector, "VISU", "scalar_bar_mode" ); - QStringList modes; - modes.append( tr( "VISU_MODULUS" ) ); - modes.append( tr( "VISU_COMPONENT" ) + tr("1") ); - modes.append( tr( "VISU_COMPONENT" ) + tr("2") ); - modes.append( tr( "VISU_COMPONENT" ) + tr("3") ); - indices.clear(); - indices.append( 0 ); - indices.append( 1 ); - indices.append( 2 ); - indices.append( 3 ); - setPreferenceProperty( mode, "strings", modes ); - setPreferenceProperty( mode, "indexes", indices ); - - addPreference( tr( "VISU_LOGARITHMIC_SCALING" ), rangeGr, LightApp_Preferences::Bool, "VISU", "scalar_bar_logarithmic" ); - - int rangetype = addPreference( tr( "VISU_RANGE_TO_USE" ), rangeGr, LightApp_Preferences::Selector, "VISU", "scalar_range_type" ); - QStringList types; - types.append( tr( "VISU_FIELD_RANGE" ) ); - types.append( tr( "VISU_IMPOSED_RANGE" ) ); - indices.clear(); - indices.append( 0 ); - indices.append( 1 ); - setPreferenceProperty( rangetype, "strings", types ); - setPreferenceProperty( rangetype, "indexes", indices ); - - int imposedGr = addPreference( tr( "VISU_MINMAX_IMPOSED_RANGE" ), srangeTab ); - - int min = addPreference( tr( "VISU_MIN" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_min" ); - int max = addPreference( tr( "VISU_MAX" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_max" ); - setPreferenceProperty( min, "step", 0.1 ); - setPreferenceProperty( max, "step", 0.1 ); + int srangeTab = addPreference( tr( "Sweep, MED import" ) ); int sweepGr = addPreference( tr( "VISU_SWEEPING_PREF" ), srangeTab ); setPreferenceProperty( sweepGr, "columns", 1 ); @@ -2886,7 +2886,13 @@ void VisuGUI::createPreferences() setPreferenceProperty( nbsteps, "max", 200 ); int importGr = addPreference( tr( "MED files import" ), srangeTab ); + setPreferenceProperty( importGr, "columns", 1 ); 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" ); } void VisuGUI::preferencesChanged( const QString&, const QString& ) diff --git a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx index 8ee5ad04..7705f32d 100644 --- a/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx +++ b/src/VISUGUI/VisuGUI_BuildProgressDlg.cxx @@ -118,7 +118,7 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): connect( myBuildEntitiesCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); myBuildFieldsCheckBox = new QCheckBox( tr( "BUILD_FIELDS" ), myProgressBox ); - myBuildFieldsCheckBox->setChecked( true ); + myBuildFieldsCheckBox->setChecked( aResourceMgr->booleanValue( "VISU", "build_fields", true ) ); myBuildFieldsButton = new QPushButton( myProgressBox ); myBuildFieldsButton->setEnabled( false ); myBuildFieldsButton->setFixedSize( 30, 30 ); @@ -126,7 +126,7 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): connect( myBuildFieldsCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); myBuildMinMaxCheckBox = new QCheckBox( tr( "BUILD_MINMAX" ), myProgressBox ); - myBuildMinMaxCheckBox->setChecked( true ); + myBuildMinMaxCheckBox->setChecked( aResourceMgr->booleanValue( "VISU", "build_min_max", true ) ); myBuildMinMaxButton = new QPushButton( myProgressBox ); myBuildMinMaxButton->setEnabled( false ); myBuildMinMaxButton->setFixedSize( 30, 30 ); @@ -134,7 +134,7 @@ VisuGUI_BuildProgressDlg::VisuGUI_BuildProgressDlg( QWidget* theParent ): connect( myBuildMinMaxCheckBox, SIGNAL( clicked() ), this, SLOT( onBuildCheckBoxClicked() ) ); myBuildGroupsCheckBox = new QCheckBox( tr( "BUILD_GROUPS" ), myProgressBox ); - myBuildGroupsCheckBox->setChecked( true ); + myBuildGroupsCheckBox->setChecked( aResourceMgr->booleanValue( "VISU", "build_groups", true ) ); myBuildGroupsButton = new QPushButton( myProgressBox ); myBuildGroupsButton->setEnabled( false ); myBuildGroupsButton->setFixedSize( 30, 30 ); diff --git a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx index 8da51a71..7492c7f5 100644 --- a/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx +++ b/src/VISUGUI/VisuGUI_GaussPointsDlg.cxx @@ -289,6 +289,8 @@ void VisuGUI_GaussScalarBarPane::initFromPrsObject(VISU::GaussPoints_i* thePrs) myRBGlobal->setChecked( !activeLocal ); myRBGlobal->setEnabled( thePrs->IsGlobalRangeDefined() ); + if( !thePrs->IsGlobalRangeDefined() ) + myRBLocal->setChecked( true ); myCBDisplayed->setEnabled( activeLocal ); myCBDisplayed->setChecked( thePrs->GetIsDispGlobalScalarBar() ); diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index c4b88674..ecabc032 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -352,11 +352,11 @@ VisuGUI_Module VisuGUI::createPreferences(); createGaussPointsPreferences(); - createScalarBarPreferences(); createInsideCursorPreferences(); createOutsideCursorPreferences(); createPickingPreferences(); createSpaceMousePreferences(); + createRecorderPreferences(); } @@ -369,6 +369,20 @@ VisuGUI_Module int primitiveGr = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_GROUP_TTL" ), gaussTab ); setPreferenceProperty( primitiveGr, "columns", 1 ); + int primitiveTypePref = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_TYPE" ), primitiveGr, + LightApp_Preferences::Selector, "VISU", "point_sprite_primitive_type" ); + + QStringList values; + values.append( tr( "VISU_GAUSS_PREF_POINTSPRITE" ) ); + values.append( tr( "VISU_GAUSS_PREF_OPENGLPOINT" ) ); + values.append( tr( "VISU_GAUSS_PREF_GEOMSPHERE" ) ); + QValueList indices; + indices.append( 0 ); + indices.append( 1 ); + indices.append( 2 ); + setPreferenceProperty( primitiveTypePref, "strings", values ); + setPreferenceProperty( primitiveTypePref, "indexes", indices ); + int clampPref = addPreference( tr( "VISU_GAUSS_PREF_CLAMP" ), primitiveGr, LightApp_Preferences::IntSpin, "VISU", "point_sprite_clamp" ); setPreferenceProperty( clampPref, "min", 1 ); @@ -386,6 +400,16 @@ VisuGUI_Module setPreferenceProperty( alphaThresholdPref, "max", 1.0 ); setPreferenceProperty( alphaThresholdPref, "step", 0.1 ); + int resolutionPref = addPreference( tr( "VISU_GAUSS_PREF_RESOLUTION" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "geom_sphere_resolution" ); + setPreferenceProperty( resolutionPref, "min", 3 ); + setPreferenceProperty( resolutionPref, "max", 100 ); + + int faceLimitPref = addPreference( tr( "VISU_GAUSS_PREF_FACE_LIMIT" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "geom_sphere_face_limit" ); + setPreferenceProperty( faceLimitPref, "min", 10 ); + setPreferenceProperty( faceLimitPref, "max", 1000000 ); + int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), gaussTab ); setPreferenceProperty( sizeGr, "columns", 2 ); @@ -420,25 +444,18 @@ VisuGUI_Module addPreference( tr( "VISU_GAUSS_PREF_COLOR" ), geomGr, LightApp_Preferences::Color, "VISU", "point_sprite_color" ); -} - -//--------------------------------------------------------------- -void -VisuGUI_Module -::createScalarBarPreferences() -{ - int scalarBarTab = addPreference( tr( "VISU_GAUSS_SCALAR_BAR_PREF_TAB_TTL" ) ); - int scalarBarGr = addPreference( tr( "VISU_GAUSS_SCALAR_BAR_PREF_GROUP_TTL" ), scalarBarTab ); + // ScalarBar Preferences + int scalarBarGr = addPreference( tr( "VISU_GAUSS_SCALAR_BAR_PREF_GROUP_TTL" ), gaussTab ); setPreferenceProperty( scalarBarGr, "columns", 1 ); int activeBarPref = addPreference( tr( "VISU_GAUSS_PREF_ACTIVE_BAR" ), scalarBarGr, LightApp_Preferences::Selector, "VISU", "scalar_bar_active_local" ); - QStringList values; + values.clear(); values.append( tr( "VISU_GAUSS_PREF_LOCAL" ) ); values.append( tr( "VISU_GAUSS_PREF_GLOBAL" ) ); - QValueList indices; + indices.clear(); indices.append( 0 ); indices.append( 1 ); setPreferenceProperty( activeBarPref, "strings", values ); @@ -464,7 +481,6 @@ VisuGUI_Module setPreferenceProperty( spacingPref, "min", 0.01 ); setPreferenceProperty( spacingPref, "max", 1.0 ); setPreferenceProperty( spacingPref, "step", 0.01 ); - } @@ -509,6 +525,16 @@ VisuGUI_Module setPreferenceProperty( alphaThresholdPref, "max", 1.0 ); setPreferenceProperty( alphaThresholdPref, "step", 0.1 ); + int resolutionPref = addPreference( tr( "VISU_GAUSS_PREF_RESOLUTION" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "inside_geom_sphere_resolution" ); + setPreferenceProperty( resolutionPref, "min", 3 ); + setPreferenceProperty( resolutionPref, "max", 100 ); + + int faceLimitPref = addPreference( tr( "VISU_GAUSS_PREF_FACE_LIMIT" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "inside_geom_sphere_face_limit" ); + setPreferenceProperty( faceLimitPref, "min", 10 ); + setPreferenceProperty( faceLimitPref, "max", 1000000 ); + int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), insideCursorTab ); setPreferenceProperty( sizeGr, "columns", 2 ); @@ -580,6 +606,16 @@ VisuGUI_Module setPreferenceProperty( alphaThresholdPref, "max", 1.0 ); setPreferenceProperty( alphaThresholdPref, "step", 0.1 ); + int resolutionPref = addPreference( tr( "VISU_GAUSS_PREF_RESOLUTION" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "outside_geom_sphere_resolution" ); + setPreferenceProperty( resolutionPref, "min", 3 ); + setPreferenceProperty( resolutionPref, "max", 100 ); + + int faceLimitPref = addPreference( tr( "VISU_GAUSS_PREF_FACE_LIMIT" ), primitiveGr, + LightApp_Preferences::IntSpin, "VISU", "outside_geom_sphere_face_limit" ); + setPreferenceProperty( faceLimitPref, "min", 10 ); + setPreferenceProperty( faceLimitPref, "max", 1000000 ); + int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), outsideCursorTab ); int sizePref = addPreference( tr( "VISU_GAUSS_PREF_SIZE" ), sizeGr, @@ -643,7 +679,7 @@ VisuGUI_Module setPreferenceProperty( transparencyPref, "step", 10 ); int positionPref = addPreference( tr( "VISU_PICKING_PREF_POSITION" ), infoWindowGr, - LightApp_Preferences::Selector, "VISU", "picking_position" ); + LightApp_Preferences::Selector, "VISU", "picking_position" ); QStringList values; values.append( tr( "VISU_PICKING_PREF_BELOW_POINT" ) ); values.append( tr( "VISU_PICKING_PREF_TOP_LEFT_CORNER" ) ); @@ -743,6 +779,42 @@ VisuGUI_Module } +//--------------------------------------------------------------- +void +VisuGUI_Module +::createRecorderPreferences() +{ + int recorderTab = addPreference( tr( "VISU_RECORDER_PREF_TAB_TTL" ) ); + + int recorderGr = addPreference( tr( "VISU_RECORDER_PREF_GROUP_TTL" ), recorderTab ); + setPreferenceProperty( recorderGr, "columns", 1 ); + + int modePref = addPreference( tr( "VISU_RECORDER_PREF_RECORDING_MODE" ), recorderGr, + LightApp_Preferences::Selector, "VISU", "recorder_mode" ); + QStringList values; + values.append( tr( "VISU_RECORDER_PREF_SKIPPED_FRAMES" ) ); + values.append( tr( "VISU_RECORDER_PREF_ALL_DISLPAYED_FRAMES" ) ); + QValueList indices; + indices.append( 0 ); + indices.append( 1 ); + setPreferenceProperty( modePref, "strings", values ); + setPreferenceProperty( modePref, "indexes", indices ); + + int fpsPref = addPreference( tr( "VISU_RECORDER_PREF_FPS" ), recorderGr, + LightApp_Preferences::DblSpin, "VISU", "recorder_fps" ); + setPreferenceProperty( fpsPref, "min", 0.1 ); + setPreferenceProperty( fpsPref, "max", 100 ); + + int qualityPref = addPreference( tr( "VISU_RECORDER_PREF_QUALITY" ), recorderGr, + LightApp_Preferences::IntSpin, "VISU", "recorder_quality" ); + setPreferenceProperty( qualityPref, "min", 1 ); + setPreferenceProperty( qualityPref, "max", 100 ); + + addPreference( tr( "VISU_RECORDER_PREF_PROGRESSIVE" ), recorderGr, + LightApp_Preferences::Bool, "VISU", "recorder_progressive" ); +} + + //--------------------------------------------------------------- void VisuGUI_Module diff --git a/src/VISUGUI/VisuGUI_Module.h b/src/VISUGUI/VisuGUI_Module.h index 58644baa..0075937b 100644 --- a/src/VISUGUI/VisuGUI_Module.h +++ b/src/VISUGUI/VisuGUI_Module.h @@ -96,11 +96,6 @@ protected: void createGaussPointsPreferences(); - //! Create preferences for Gauss Points Scalar Bars. - virtual - void - createScalarBarPreferences(); - //! Create preferences for Outside Cursor Gauss Points presentations. virtual void @@ -120,6 +115,11 @@ protected: void createSpaceMousePreferences(); + //! Create preferences for Recorder. + virtual + void + createRecorderPreferences(); + protected slots: SUIT_ViewManager* onCreateViewManager(); -- 2.39.2