aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/handlers.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-14 10:58:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-15 16:33:35 +0200
commitcf0c2ffaea95bc7ab332c98e8d2491e7152904e9 (patch)
tree434846363f0cffff9a8a1f637c9addaf49e4edf8 /tools/snippets_translate/handlers.py
parentcf82fcabfd5b7d4168c9088a2c3f0236231f68ab (diff)
Brush up the mandelbrot example
Port qtbase/0e69349f6f8e9445877ea5b2105973115ad79cf7: The example refines the image by running a number of passes with increasing number of iterations, which is not really visible to the user. Set an informational text string on the generated image which provides this information along with the elapsed time. The idea is to do the same to the corresponding Qt for Python example to have some sort of speed comparison for number crunching. Add a command line option for the number of passes. Make the window a bit larger to accommodate the information. Task-number: PYSIDE-1112 Change-Id: I9313f860947386123166f794b80b541bc057be2c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'tools/snippets_translate/handlers.py')
0 files changed, 0 insertions, 0 deletions