Skip to content

Commit b5089e1

Browse files
committed
One more tooltip and some clarification
1 parent 484a0da commit b5089e1

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/auxiliary.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ def color_indices_parser(indices: dict):
329329
interpretation: since the standard deviations subtracting rule is, in fact, the Pythagorean theorem,
330330
the solutions space is the same as if you try to build a line of right triangles, for each one
331331
the next cathetus is linked to a previous cathetus by their square.
332+
(To draw on the plane you have to use rhombuses of the same area and the same equal sides
333+
instead of squares.)
332334
N hypotenuses are standard deviations of color indices, and N+1 different cathetes are the sought
333335
standard deviations of the photospectrum.
334336
The whole triangle line possible positions can be described by just one parameter (1D parametric

src/gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def frame(num: int, filtersDB: tuple, lang: str):
153153
sg.InputCombo(('', *filtersDB), enable_events=True, expand_x=True, key='T2_filter'+n)
154154
],
155155
[
156-
sg.Text(tr.gui_evaluate[lang], key='T2_evalText'+n),
156+
sg.Text(tr.gui_evaluate[lang], key='T2_evalText'+n, tooltip=tr.gui_evaluate_note[lang]),
157157
sg.Input('x', size=1, key='T2_eval'+n, expand_x=True)
158158
],
159159
]

src/strings.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@
310310
'ru': 'Выполнить',
311311
'de': 'Auswerten von'
312312
}
313+
gui_evaluate_note = {
314+
'en': 'Apply a function to the brightness values (x), written in Python syntax',
315+
'ru': 'Применить функцию к значениям яркости (x), используется синтаксис Python',
316+
'de': 'Wende Funktion auf Helligkeitswerte (x) an, in Python Syntax geschrieben'
317+
}
313318
#gui_brightness = {
314319
# 'en': 'Brightness',
315320
# 'ru': 'Яркость',

0 commit comments

Comments
 (0)