Salome HOME
0022077: EDF 2272 : Selection with the Paraview interaction mode in GEOM/SMESH
[modules/gui.git] / doc / salome / gui / input / setting_preferences.doc
1 /*!
2
3 \page setting_preferences_page Setting Preferences
4
5 All user preferences of \b SALOME application can be customized using the
6 common \b Preferences dialog box. This dialog can be open using the
7 <b><i>File > Preferences...</i></b> menu item.
8
9 The \b Preferences dialog box consists of two parts:
10 - Available preferences sections are listed in the left part of the dialog
11 box; usually this list contains "SALOME" item that specifies general
12 application preferences and a separate section for each SALOME module
13 available in the current session.
14 - The tabbed widget at the right side of the dialog box provides
15 controls that can be used to customize the preferences.
16
17 \note The preferences for modules become accessible only after
18 explicit loading of these modules. Until then the dialog box will
19 show the corresponding warning message. 
20
21 More detailed information about preferences for certain modules can be found in the User's guide of the corresponding module.
22
23 General application preferences are specified in the \b SALOME section
24 of the \b Preferences dialog box. These preferences affect on the
25 application look-n-feel and common functionality.
26
27 If the study has just been started and other
28 modules have not been loaded yet, it will be possible to change only the settings which refer to
29 the whole GUI SALOME session. 
30
31 <h2>General Preferences</h2>
32
33 \image html pref_salome_general.png
34
35 - <b>Language</b>
36   - <b>Current language</b> - the language used by the application
37   GUI. The language change will come in force only after the application is restarted.
38 - <b>Look and feel</b>
39   - <b>Opaque resize</b> - force opaque resize mode for viewers area (tabbed workspace).
40   Clear this checkbox for less perfomant workstations.
41   - <b>Drop-down buttons in toolbars for action groups</b> - when
42   checked, the action groups are represented in the viewer toolbars as
43   a single drop-down button, switchable by the user. Otherwise, all
44   the buttons from the action groups are displayed in the toolbar. 
45 - <b>Study Properties</b>
46   - <b>Multi file save</b> - if checked in, your study will be saved in
47     several HDF files (one basic HDF file which will store the main
48     information about the saved study and several other files for the
49     data created by each component used during the study
50     session). Opening of this study requires that \b ALL saved files
51     should be stored in the \b SAME directory. If you would like to
52     copy your saved study in another directory or machine, you should
53     copy all stored files. Otherwise, if you try to open this study,
54     some data will be lost and it will lead to invalid functioning of
55     the SALOME platform. 
56   - <b>ASCII save</b> - if checked in, your study will be saved in
57     ASCII format file (or files).
58   - <b>Store positions of windows</b> -  if checked in, positions of windows
59     will be saved in a special file at the end of the current session and
60     then restored for a new session.
61   - <b>Auto-save interval (min)</b> - allows to specify the time interval (in
62     minutes) for automatic study saving operation. If the time interval is
63     equal to 0 ("Disabled" value is shown) the automatic saving is not performed.
64   - <b>Store/restore last GUI state</b> - if checked in, all GUI settings are
65     saved with the rest of the data whenever you save the study. When the
66     study is reopened, the GUI state is restored.
67   - <b>Multi file python dump</b> - allows to generate multiple files
68     (separately for each component) for dumping of a study to a python script.
69     If the option is disabled, the study is dumped to a single python script.
70   - <b>Publish in study in python dump</b> - if this option is switched on,
71     the Python script resulting from Dump Python operation will
72     include commands related to the publication of the data in the
73     study (if this option is supported by specific module).
74   - <b>Save GUI state in python dump</b> - if this option is switched on,
75     the Python script resulting from Dump Python operation will
76     include commands related to the GUI state.
77 - <b>External browser</b> - allow to define what browser will 
78     be used to show SALOME reference manuals: internal (built-in
79     SALOME browser) or external (IE, Netscape, Mozilla, ...). In
80     addition, it is possible to specify 
81     - \b Application - this option allows you to set an external browser (IE,
82     Netscape) which will be used for viewing SALOME reference manuals. By
83     default, Mozilla is used.
84     - \b Parameters - additional parameters required for launching of
85     the external browser (if applicable).
86 - <b>Python console</b> - here you can quickly set the parameters
87   (style, size, face) of the \ref font_color_dlg "font" used in
88   embedded Python console. 
89 - <b>Show MRU items</b> - allows to define the maximum \b Number of
90 items in <b>Most Recently Used</b> list and the <b>Link type</b>: 
91   - \b Long - shows the full path to the file. 
92   - \b Short - shows the file name only.
93   - \b Auto - shows full paths to the files only if some files from
94 different locations have the same name.
95
96 <h2>3D Viewer Preferences</h2>
97
98 \image html pref_salome_3dviewer.png
99
100 - <b>Navigation style</b> - this option allows to choose one of the
101   modes of work with mouse in OCC and VTK 3D viewers.
102   - <b>Salome Standard Controls</b> - allows to manipulate objects in the
103   viewer with the mouse and locked Ctrl button: increase or decrease the
104   zoom ratio with the left mouse button, translate object in any
105   direction with the central mouse button or rotate it with the right
106   mouse button.
107   - <b>Keyboard Free</b> - allows to manipulate objects in the viewer
108   with the mouse without locking Ctrl button. In this case the
109   operations are assigned to the buttons differently: rotation is made
110   with the left button, translation with the right and zoom with both
111   pressed in the same time.
112 - <b>Zooming style</b> - this option allows to choose a zooming mode.
113   - <b>Relative to the view's center</b> - allows to zoom the view 
114   relatively to its center.
115   - <b>Relative to the cursor</b> - allows to zoom the view
116   relatively to the current cursor position.
117 - <b>Trihedron</b> - viewer trihedron settings:
118   - <b>Size</b> - size of the coordinate axes (global trihedron)
119     displayed in the viewer.
120   - <b>Relative size</b> - if this option is switched on, trihedron
121     axes scale to fit the size of the scene displayed in 3D viewer.
122   - <b>Show static trihedron</b> - allows to show/hide the static
123     mini-trihedron located in the bottom-left corner of the viewer.
124
125 \anchor occ_preferences
126 <h2>OCC 3D Viewer Preferences</h2>
127
128 \image html pref_salome_occviewer.png
129
130 - <b>Background</b> - specifies the default background for the viewers,
131   separately for (for more details, refer to the \ref viewer_background
132   "this page"):
133   - <b>3D View</b>
134   - <b>XZ View</b>
135   - <b>YZ View</b>
136   - <b>XY View</b>
137
138 \anchor vtk_preferences
139 <h2>VTK 3D Viewer Preferences</h2>
140
141 \image html pref_salome_vtkviewer.png
142
143 - <b>Projection mode</b> - allows choosing between \b Orthogonal and
144 \b Perspective projection mode.
145 - <b>Background</b> - specifies the default background for the viewer;
146   for more details, refer to the \ref viewer_background "this page".
147 - <b>Speed Increment</b> - defines the number of units by
148   which the speed increases or respectively decreases after pressing [+]
149   or [-] keyboard buttons.
150 - <b>Modification Mode</b> - allows choosing between \b Arithmetic
151   and \b Geometrical progression used for zooming.
152 - <b>Dynamic pre-selection</b> - switches dynamic pre-selection on/off.
153 - <b>Spacemouse</b> - a mouse-like manipulator device specially designed
154   for working with 3D presentations, objects, etc. You can reassign the
155   actions listed below to any of its buttons.
156   - <b>Decrease Speed Increment</b> - decreases by 1 the speed
157   increment used for the keyboard (same as [-] key).
158   - <b>Increase Speed Increment</b> - increase by 1 the speed
159   increment used for the keyboard (same as [+] key).
160   - <b>Dominant / combined switch</b> - toggles button to switch to
161   dominant or combined movements. 
162 - <b>AVI Recording</b>
163   - <b>Mode</b> - allows to choose from two recording regimes:
164     - <b>Recording all displayed frames</b> - records exactly at the
165     FPS rate specified by the user. 
166     - <b>Recording at a given FPS</b> - records only when the contents
167     of the viewer change (some activity is performed).  In the AVI file
168     non-recorded images are substituted with the copies of the latest
169     recorded image, which produces files with lower quality but requires
170     less system resources.
171   - <b>FPS</b> - allows to define the FPS (frames per second) rate for
172   the clip. Set greater value for better quality.
173   - <b>Quality</b> - allows to set the quality of the clip in the
174   interval between 0 and 100.
175   - <b>Progressive</b> - allows to record a progressive API file.
176 - <b>Names of groups</b> - allows to specify parameters of the
177 titles displayed in the viewer:
178   - <b>Text color</b> - allows selecting the text color;
179   - <b>Transparency</b> - allows selecting the text transparency.
180
181 \anchor plot2d_preferences
182 <h2>Plot 2D Viewer Preferences</h2>
183
184 \image html pref_salome_plot2dviewer.png
185
186 - <b>Show legend</b> - this options specifies if it's necessary to
187 show legend by default.
188 - <b>Legend Position</b> - this submenu allows to set the default position
189 of the legend, it can be located to the left, to the right, on top or
190 on bottom of the graph.
191 - <b>Legend font</b> - this allows to set type and face for the font of Legend item.
192 - <b>Curve Type</b> - this allows to set the representation of graphs in
193 your presentations. You can see only <b>Points</b>, points connected with
194 <b>Lines</b> or points connected with smooth <b>Splines</b>.
195 - <b>Marker Size</b> - this submenu allows you to set the size of
196 markers in your graphs.
197 - <b>Horizontal</b> and <b>Vertical axis scale</b> - this submenus allow you to set
198 the scale for vertical and horizontal axes. It can be either <b>Linear</b> or
199 <b>Logarithmic</b>. Note that the <b>Logarithmic</b> scale can be used only
200 if the minimum value of corresponding component (abscissa or ordinate)
201 of all points displayed in the viewer is greater than zero.
202 If this condition is not met, the scale is switched to <b>Linear</b>
203 automatically, even if it is set to <b>Logarithmic</b>.
204 - <b>Background color</b> - this submenu allows to select the background
205 color. Click on the colored line to access to the
206 \ref select_color_and_font_page "Select Color" dialog box.
207 - <b>Legend font color</b> - this allows to select the color of the
208 font of the legend item. 
209 - <b>Highlighted legend font color</b> - this submenu allows to select
210 the color of the font of the selected legend item. 
211 - <b>Selection color</b> - this submenu allows to select the color of
212 selected object in the viewer. 
213 - <b>Deviation marker color</b> - this submenu allows to select the
214 color of the deviation marker. 
215 - <b>Deviation marker line width</b> allows to define line width of
216 the deviation marker. 
217 - <b>Deviation marker tick size</b> allows to define size of the upper
218 and lower horizontal lines of the deviation marker. 
219
220 <br><h2>Directories Preferences</h2>
221
222 \image html pref_salome_directories.png
223
224 - <b>Quick Directory List</b> - this section allows to create and manage
225 a custom quick directory list. To add a directory in the list, press
226 the "Add directory" button:
227 \image html image70.png
228 then the &quot;<b>...</b>&quot; button and browse the data tree for the
229 directory you need.
230 The "Up" and "Down" buttons(see the picture below) help you to sort
231 the directories in the list:
232 \image html image73.png
233 \image html image75.png
234 To remove the selected directory from the list, press the "Delete"
235 button:
236 \image html image72.png
237
238 <br><h2>Object Browser Preferences</h2>
239
240 \image html pref_salome_objbrowser.png
241
242 - <b>Search Tool</b> - specifies behavior of the
243 \ref using_find_tool_page "Search tool".
244   - <b>Enable auto-hiding</b> checkbox - hides the search tool
245   automatically after short perioud of time when it is not used.
246 - <b>Look and feel</b>
247   - <b>Auto size for the first column</b> - this checkbox enables automatic
248   resizing for the first column.
249   - <b>Auto size for other columns</b> - this checkbox enables
250   automatic resizing for the other columns.
251   - <b>Resize columns after expanding an item</b> - this checkbox enables
252   resizing columns on expanding an object browser item.
253   - <b>Browse to the published object</b> - this combobox allows to enable
254   automatic browsing to the objects just published to the study (using GUI
255   dialogs only). It means that the object browser will be scrolled to the
256   published objects, make them visible if they are collapsed and select the
257   first of them. Three modes are allowed for activating this feature:
258     - <b>Never</b> - automatic browsing is disabled.
259     - <b>After Apply & Close only</b> - browsing is activated when the
260     dialog is accepted by <b>Apply & Close</b> or <b>Ok</b> buttons (or if
261     the objects are published without using a dialog, for example, by
262     clicking a context menu button) and not activated when the
263     <b>Apply</b> button is pressed and therefore the dialog remains visible.
264     - <b>Always</b> - automatic browsing is always enabled.
265 - <b>Default columns</b> - these checkboxes allow to display or hide <b>Value</b>,
266 <b>Entry</b>, <b>IOR</b> and <b>Reference entry</b> columns in the Object Browser.
267
268 <br><h2>Shortcuts Preferences</h2>
269
270 \image html pref_salome_shortcuts.png
271
272 - <b>Shortcuts settings</b> widget allows to define custom shortcuts for
273 various operations. To change keyboard sequence for a certain action - select the
274 action and press the custom keys combination.
275
276
277 \subpage select_color_and_font_page "Font and color preferences"
278 are most oftenly used types of user settings.
279
280 When you change settings (click \b OK or \b Apply button) each module
281 receives the notification about what preferences are changed. You can
282 also click \b Defaults button to restore default preferences or \b Close
283 button to quit the dialog box without any changes. 
284
285 \b Import button allows loading specific user file containing
286 preferences from any location at the computer through a standard
287 Import dialog box.
288
289 \image html import.png
290
291 The preferences files usually have *.xml extension. Also,
292 preferences files automatically saved by the application (stored in the
293 ~/.config/salome directory) have no extension and by default start with
294 .SalomeApprc. followed by SALOME version number. Usually there is a
295 separate preferences file for each SALOME version in use. Preferences
296 are saved to the file in the end of the working session and restored
297 at the application start-up.
298
299 \note The preferences you set will be default preferences for all \b new
300 objects, but they are not retroactive and do not automatically apply
301 to the existing objects.
302
303 */