1 # SOME DESCRIPTIVE TITLE.
3 # This file is distributed under the same license as the GUI package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
9 "Project-Id-Version: GUI 8.4.0\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2017-12-14 15:16+0300\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=utf-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Generated-By: Babel 2.0\n"
20 # 4c2c8f38a513439d9ba5b24679725af5
21 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:5
22 msgid "Using input widgets"
25 # d60e24f551624fda9e900f3c804b9584
26 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:7
28 "This section contains some hints that might be useful when working with "
29 "SALOME GUI input widgets."
32 # dbd5e9989a5a4edb84d8d08167251523
33 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:11
37 # b0e319ba17924dd782a498102c74b572
38 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:13
40 "This type of widgets is used for numeric (integer or floating-point) data"
41 " input. Spin boxes are used in standard **SALOME** modules if the input "
42 "value has a clearly defined input range (and precision in case of a "
43 "floating-point value)."
46 # 57b307c7cf7349a9a7df974903abf9cd
47 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:18
49 "Input precision has a specific semantics in **SALOME** floating-point "
53 # a84c98f63a9b40fcbaca5a418c614115
54 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:21
56 "Positive precision value means that a number in the fixed-point format "
57 "(corresponding to the \"f\" format specifier for C printf function) is "
58 "expected. Positive precision value is the maximum allowed number of "
59 "digits after the decimal separator."
62 # 9d8cebacdf8a4a87978a8837f238742a
63 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:22
65 "Negative precision value means that a number either in the fixed-point or"
66 " the scientific (exponetial) format is expected. This is similar to the "
67 "behavior of the \"g\" format specifier for C printf function. Negative "
68 "precision value is the maximum allowed number of significant digits in "
69 "mantissa (note that one digit is always before the decimal separator)."
72 # a036c66b36f2485a98e8688e2ea23018
73 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:24
75 "To make the user aware of an input value constraints applied by some "
76 "**SALOME** operations, the following basic capabilties are provided by "
80 # ce86daca78834249ac292b267e9a1f4c
81 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:27
83 "The text input manually in a spin box by the user is checked to be a "
84 "number of valid type (integer or floating-point)."
87 # e79825a4b67e42b7b33da70831f0b1de
88 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:28
90 "The text is converted to a number and checked to be within the valid "
94 # 0f90ba6be8054d45a4fdd97e7963501c
95 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:29
97 "Additionally, for floating-point data the input text is checked against "
98 "the precision rules described above."
101 # d91dcec54e78452092df82bb9badbc18
102 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:31
104 "If the input text in a spin box does not meet the constraints, the user "
105 "is shown a message in a tooltip near the spin box just as he types in it."
106 " The tooltip contains information about the valid data range. For a "
107 "floating-point input, the tooltip also contains information about the "
108 "expected precision."
111 # dbf514f6b6fa43a9a9b7b93971f3fe68
112 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:37
114 "In standard **SALOME** modules the precision value can be adjusted "
115 "through :ref:`setting_preferences_page` of the correspodning modules, "
116 "and the tooltip contains a reference to the corresponding parameter in "
120 # a03a793f703f459ea3bb9fc3899f2ed3
121 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:41
123 "On-line documentation for each standard SALOME module contains the list "
124 "of user preferences that can be used for tuning floating-point precision "
125 "for different types of input quantities."
128 # bb281ad16915462da96ef5c32af96f9c
129 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:46
130 msgid "Spin boxes and SALOME Notebook"
133 # f8dc175032e74afe976c056bbeba657d
134 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:48
136 "Apart from the numeric input, spin boxes in some **SALOME** modules "
137 "accept the names of **Notebook** variables (see :ref:`using_notebook` "
138 "page for more details about **Notebook**)."
141 # 6cef1d0b55aa4b93946c8b1dd0a8dcfc
142 #: ../../../../../../SRC/GUI_SRC/doc/salome/gui/input/using_input_widgets.rst:52
144 "If a spin box accepts variable names, then it is additionally checked "
145 "whether the manually input text represents a variable name. Variable "
146 "names should comply with the common naming rules for **Python** "
147 "variables. If the input is neither a valid number nor a variable name, "
148 "the tooltip informs the user that variable names are also acceptable in "