Salome HOME
legere difference ds VARIABLES_TO_BE...
[tools/eficas.git] / Doc / widgetInDetails.rst
1 .. _features-label:
2
3 ========================
4 Some Widgets Features 
5 ========================
6
7 File or Directory
8 -----------------
9
10 +-------------------------------------+--------------------------------------------------+
11 | a File parameter has to be :        | if catalog's description is :                    |
12 +=====================================+==================================================+
13 |an existing file                     | type='Fichier'                                   |                
14 +-------------------------------------+--------------------------------------------------+
15 |a directory                          | type='Repertoire'                                |
16 +-------------------------------------+--------------------------------------------------+
17 |an existing file with specific suffix| type='Fichier','JDC Files (*.comm);;All Files (*)|
18 +-------------------------------------+--------------------------------------------------+
19 |a non-allready existing file         | type=('Fichier',"",'Sauvegarde'),                |
20 +-------------------------------------+--------------------------------------------------+
21 |a simple string                      | type='FichierNoAbs'                              |
22 +-------------------------------------+--------------------------------------------------+
23
24 The following widget allows users to enter  a directory (first) or a file. Magnifier icon is not avalaible when a directory is required.
25
26 .. image:: images/FichiersEtRepertoires.png
27
28 - to open a file explorer, click on the corresponding icon. If a file suffix is required, content of the directory is filtered before being shown in the dialog, using a semicolon-separated list of filters specified.
29
30 - to view file content, click on magnifier icon. It uses xdg-open, which is a desktop-independent tool for opening files (according to suffix convention).
31
32
33 List
34 -----
35 List widgets have a toolbar down, under values area.
36
37 .. image:: images/ShowAllValues.png
38
39 - Use the Up or Down arrows to move the selection in the list
40 - Use the Plus (or Minus) icon to add (delete) a new line
41 - Use the magnifier icon to see all the values in a modal widget
42
43 |
44
45 If lists are not ordered, it is possible to select all values by clicking the button on the right.
46
47 .. image:: images/SelectAllInList.png
48
49
50
51 Import data from file
52 -----------------------
53
54 Data import icon provide access to data from ASCII text files.
55 Select the character that separates values in your text file and values you want to import.
56
57 .. image:: images/Import.png
58    :align: center
59
60
61 Matrix
62 -------
63 Sometimes, matrix dimensions depend on the number of others parameters (for example, correlation matrix).
64 If a new variable is entered or if the name changes, matrix becomes invalid.
65 Users have to redisplay the header by pushing the refresh icon.
66
67 .. image:: images/Matrice.png
68
69
70