int sbarTab = addPreference( tr( "VISU_SCALAR_BAR" ) );
int rangeGr = addPreference( tr( "VISU_SCALAR_RANGE" ), sbarTab );
- setPreferenceProperty( rangeGr, "columns", 4 );
+ setPreferenceProperty( rangeGr, "columns", 2 );
int mode = addPreference( tr( "VISU_SCALAR_MODE" ), rangeGr, LightApp_Preferences::Selector, "VISU", "scalar_bar_mode" );
QStringList modes;
addPreference( tr( "VISU_LOGARITHMIC_SCALING" ), rangeGr, LightApp_Preferences::Bool, "VISU", "scalar_bar_logarithmic" );
int imposedGr = addPreference( tr( "VISU_MINMAX_IMPOSED_RANGE" ), sbarTab );
- setPreferenceProperty( imposedGr, "columns", 2 );
+ setPreferenceProperty( imposedGr, "columns", 4 );
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" );
// group: "Font"
int fontGr = addPreference( tr( "VISU_FONT" ), sbarTab );
+ setPreferenceProperty( fontGr, "columns", 4 );
int tfont = addPreference( tr( "VISU_TITLE" ), fontGr,
LightApp_Preferences::Font, "VISU", "scalar_bar_title_font" );
addPreference( tr( "VISU_TITLE" ), fontGr,
// group: "Colors & Labels"
int colorsLabelsGr = addPreference( tr( "VISU_COLORS_AND_LABELS" ), sbarTab );
- setPreferenceProperty( colorsLabelsGr, "columns", 2 );
+ setPreferenceProperty( colorsLabelsGr, "columns", 4 );
int numcol = addPreference( tr( "VISU_NB_COLORS" ), colorsLabelsGr,
LightApp_Preferences::IntSpin, "VISU", "scalar_bar_num_colors" );
// group: "Orientation"
int orientGr = addPreference( tr( "VISU_ORIENTATION" ), sbarTab );
+ setPreferenceProperty( orientGr, "columns", 2 );
int orient = addPreference( tr( "VISU_ORIENTATION" ), orientGr,
LightApp_Preferences::Selector, "VISU", "scalar_bar_orientation" );
QStringList orients;
// group: "Origin & Size Vertical"
int posVSizeGr = addPreference( tr( "VISU_ORIGIN_AND_SIZE" ) + " " + tr( "VISU_VERTICAL" ), sbarTab );
- setPreferenceProperty( posVSizeGr, "columns", 5 );
+ setPreferenceProperty( posVSizeGr, "columns", 10 );
int xv = addPreference( tr( "VISU_X" ), posVSizeGr,
LightApp_Preferences::DblSpin, "VISU", "scalar_bar_vertical_x" );
int wv = addPreference( tr( "VISU_WIDTH" ), posVSizeGr,
// group: "Origin & Size Horizontal"
int posHSizeGr = addPreference( tr( "VISU_ORIGIN_AND_SIZE" ) + " " + tr( "VISU_HORIZONTAL" ), sbarTab );
- setPreferenceProperty( posHSizeGr, "columns", 5 );
+ setPreferenceProperty( posHSizeGr, "columns", 10 );
int xh = addPreference( tr( "VISU_X" ), posHSizeGr,
LightApp_Preferences::DblSpin, "VISU", "scalar_bar_horizontal_x" );
int wh = addPreference( tr( "VISU_WIDTH" ), posHSizeGr,
// group: "Sweeping preferences"
int sweepGr = addPreference( tr( "VISU_SWEEPING_PREF" ), srangeTab );
- setPreferenceProperty( sweepGr, "columns", 1 );
+ setPreferenceProperty( sweepGr, "columns", 2 );
int modeSw = addPreference( tr( "VISU_SWEEPING_MODES" ), sweepGr, LightApp_Preferences::Selector, "VISU", "sweeping_modes" );
QStringList sweep_modes;
// group: "Animation preferences"
int animationGr = addPreference( tr( "Animation preferences" ), srangeTab );
- setPreferenceProperty( animationGr, "columns", 1 );
+ setPreferenceProperty( animationGr, "columns", 3 );
int speed = addPreference( tr( "Speed" ), animationGr, LightApp_Preferences::IntSpin, "VISU", "speed" );
addPreference( tr( "Cycled animation" ), animationGr, LightApp_Preferences::Bool, "VISU", "cycled_animation" );
int representationTab = addPreference( tr( "Representation" ) );
int representGr = addPreference( tr( "VISU_REPRESENT_PROPS" ), representationTab );
+ setPreferenceProperty( representGr, "columns", 2 );
QStringList mesh_modes;
mesh_modes.append( "Points" );
int cacheTab = addPreference( tr( "3D Cache" ) );
int cacheGr = addPreference( tr( "VISU_3DCACHE_PROPS" ), cacheTab );
- setPreferenceProperty( cacheGr, "columns", 1 );
+ setPreferenceProperty( cacheGr, "columns", 2 );
int memory_mode = addPreference( tr( "VISU_MEMORY_MODE" ), cacheGr,
LightApp_Preferences::Selector, "VISU", "cache_memory_mode" );
{
int gaussTab = addPreference( tr( "VISU_GAUSS_PREF_TAB_TTL" ) );
int primitiveGr = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_GROUP_TTL" ), gaussTab );
- setPreferenceProperty( primitiveGr, "columns", 1 );
+ setPreferenceProperty( primitiveGr, "columns", 2 );
int primitiveTypePref = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_TYPE" ), primitiveGr,
LightApp_Preferences::Selector, "VISU",
setPreferenceProperty( faceLimitPref, "max", 1000000 );
int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), gaussTab );
- setPreferenceProperty( sizeGr, "columns", 2 );
+ setPreferenceProperty( sizeGr, "columns", 4 );
int minSizePref = addPreference( tr( "VISU_GAUSS_PREF_MIN_SIZE" ), sizeGr,
LightApp_Preferences::IntSpin, "VISU", "point_sprite_min_size" );
setPreferenceProperty( incrementPref, "step", 0.1 );
int geomGr = addPreference( tr( "VISU_GAUSS_PREF_GEOM_GROUP_TTL" ), gaussTab );
- setPreferenceProperty( geomGr, "columns", 1 );
+ setPreferenceProperty( geomGr, "columns", 2 );
int sizePref = addPreference( tr( "VISU_GAUSS_PREF_SIZE" ), geomGr,
LightApp_Preferences::IntSpin, "VISU", "point_sprite_size" );
// ScalarBar Preferences
int scalarBarGr = addPreference( tr( "VISU_GAUSS_SCALAR_BAR_PREF_GROUP_TTL" ), gaussTab );
- setPreferenceProperty( scalarBarGr, "columns", 1 );
+ setPreferenceProperty( scalarBarGr, "columns", 2 );
int activeBarPref = addPreference( tr( "VISU_GAUSS_PREF_ACTIVE_BAR" ), scalarBarGr,
LightApp_Preferences::Selector, "VISU", "scalar_bar_active_local" );
int insideCursorTab = addPreference( tr( "VISU_GAUSS_INSIDE_CURSOR_PREF_TAB_TTL" ) );
int primitiveGr = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_GROUP_TTL" ), insideCursorTab );
- setPreferenceProperty( primitiveGr, "columns", 1 );
+ setPreferenceProperty( primitiveGr, "columns", 2 );
int primitiveTypePref = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_TYPE" ), primitiveGr,
LightApp_Preferences::Selector, "VISU",
setPreferenceProperty( faceLimitPref, "max", 1000000 );
int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), insideCursorTab );
- setPreferenceProperty( sizeGr, "columns", 2 );
+ setPreferenceProperty( sizeGr, "columns", 4 );
int minSizePref = addPreference( tr( "VISU_GAUSS_PREF_MIN_SIZE" ), sizeGr,
LightApp_Preferences::IntSpin, "VISU",
setPreferenceProperty( maxSizePref, "max", 100 );
int magnificationGr = addPreference( tr( "VISU_GAUSS_PREF_MAGNIFICATION_GROUP_TTL" ), insideCursorTab );
- setPreferenceProperty( magnificationGr, "columns", 2 );
+ setPreferenceProperty( magnificationGr, "columns", 4 );
int magnificationPref = addPreference( tr( "VISU_GAUSS_PREF_MAGNIFICATION" ), magnificationGr,
LightApp_Preferences::IntSpin, "VISU",
int outsideCursorTab = addPreference( tr( "VISU_GAUSS_OUTSIDE_CURSOR_PREF_TAB_TTL" ) );
int primitiveGr = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_GROUP_TTL" ), outsideCursorTab );
- setPreferenceProperty( primitiveGr, "columns", 1 );
+ setPreferenceProperty( primitiveGr, "columns", 2 );
int primitiveTypePref = addPreference( tr( "VISU_GAUSS_PREF_PRIMITIVE_TYPE" ), primitiveGr,
LightApp_Preferences::Selector, "VISU",
setPreferenceProperty( faceLimitPref, "max", 1000000 );
int sizeGr = addPreference( tr( "VISU_GAUSS_PREF_SIZE_GROUP_TTL" ), outsideCursorTab );
+ setPreferenceProperty( sizeGr, "columns", 2 );
int sizePref = addPreference( tr( "VISU_GAUSS_PREF_SIZE" ), sizeGr,
LightApp_Preferences::IntSpin, "VISU", "outside_point_sprite_size" );
setPreferenceProperty( sizePref, "max", 100 );
int colorGr = addPreference( tr( "VISU_GAUSS_PREF_COLOR_GROUP_TTL" ), outsideCursorTab );
- setPreferenceProperty( colorGr, "columns", 1 );
+ setPreferenceProperty( colorGr, "columns", 2 );
addPreference( tr( "VISU_GAUSS_PREF_UNIFORM_COLOR" ), colorGr,
LightApp_Preferences::Bool, "VISU", "outside_point_sprite_uniform" );
// Cursor
int cursorGr = addPreference( tr( "VISU_PICKING_PREF_CURSOR_GROUP_TTL" ), pickingTab );
- setPreferenceProperty( cursorGr, "columns", 1 );
+ setPreferenceProperty( cursorGr, "columns", 2 );
int cursorSizePref = addPreference( tr( "VISU_PICKING_PREF_CURSOR_SIZE" ), cursorGr,
LightApp_Preferences::DblSpin, "VISU", "picking_cursor_size" );
// Tolerance
int toleranceGr = addPreference( tr( "VISU_PICKING_PREF_TOLERANCE_GROUP_TTL" ), pickingTab );
+ setPreferenceProperty( toleranceGr, "columns", 2 );
int pointTolerancePref = addPreference( tr( "VISU_PICKING_PREF_POINT_SELECTION_TOLERANCE" ), toleranceGr,
LightApp_Preferences::DblSpin, "VISU", "picking_point_tolerance" );
// Info window
int infoWindowGr = addPreference( tr( "VISU_PICKING_PREF_INFO_WINDOW_GROUP_TTL" ), pickingTab );
- setPreferenceProperty( infoWindowGr, "columns", 1 );
+ setPreferenceProperty( infoWindowGr, "columns", 2 );
int transparencyPref = addPreference( tr( "VISU_PICKING_PREF_TRANSPARENCY" ), infoWindowGr,
LightApp_Preferences::IntSpin, "VISU", "picking_transparency" );
// Camera
int cameraGr = addPreference( tr( "VISU_PICKING_PREF_CAMERA_GROUP_TTL" ), pickingTab );
- setPreferenceProperty( cameraGr, "columns", 1 );
+ setPreferenceProperty( cameraGr, "columns", 2 );
int zoomFactorPref = addPreference( tr( "VISU_PICKING_PREF_ZOOM_FACTOR" ), cameraGr,
LightApp_Preferences::DblSpin, "VISU", "picking_zoom_factor" );
int mouseTab = addPreference( tr( "VISU_MOUSE_PREF_TAB_TLT" ) );
int mouseGr = addPreference( tr( "VISU_MOUSE_PREF_GROUP_TLT" ), mouseTab );
+ setPreferenceProperty( mouseGr, "columns", 2 );
int mousePref = addPreference( tr( "VISU_MOUSE_PREF" ), mouseGr,
LightApp_Preferences::Selector, "VISU", "mouse_behaviour" );
QStringList values;
setPreferenceProperty( mousePref, "indexes", indices );
int keybrdGr = addPreference( tr( "VISU_KEYBOARD_PREF_GROUP_TTL" ), mouseTab );
+ setPreferenceProperty( keybrdGr, "columns", 2 );
int keybrdPref = addPreference( tr( "VISU_KEYBOARD_PREF" ), keybrdGr,
LightApp_Preferences::IntSpin, "VISU", "speed_increment" );
setPreferenceProperty( keybrdPref, "max", 1000 );
int spacemouseGr = addPreference( tr( "VISU_SPACEMOUSE_PREF" ), mouseTab );
- setPreferenceProperty( spacemouseGr, "columns", 1 );
+ setPreferenceProperty( spacemouseGr, "columns", 2 );
int spacemousePref1 = addPreference( tr( "VISU_SPACEMOUSE_PREF_1" ), spacemouseGr,
LightApp_Preferences::Selector, "VISU",
"spacemouse_func1_btn" ); //decrease_speed_increment
int recorderTab = addPreference( tr( "VISU_RECORDER_PREF_TAB_TTL" ) );
int recorderGr = addPreference( tr( "VISU_RECORDER_PREF_GROUP_TTL" ), recorderTab );
- setPreferenceProperty( recorderGr, "columns", 1 );
+ setPreferenceProperty( recorderGr, "columns", 2 );
int modePref = addPreference( tr( "VISU_RECORDER_PREF_RECORDING_MODE" ), recorderGr,
LightApp_Preferences::Selector, "VISU", "recorder_mode" );