Anki/qt/tools
Aristotelis 0f86c9fd11
Rework & unify webview identification and title setting (#2366)
* Create common web view registry and unify title setting

* Consistently use space-separated naming for webview titles

None of the modified titles seem to be in use by add-ons, so we are not bound to the current naming.

The old naming was likely following camelCase as the name was also acting as a key for saveGeom, which is no longer the case.

* Update webview_did_inject_style_into_page example

* Add docstring to addon-targeted method

* Change AnkiWebView.origin to property

* Fix dupe enum value

* Tweak method name

* Add semicolon

* Rename `AnkiWebViewOrigin` to `AnkiWebViewKind`
2023-02-10 14:53:11 +10:00
..
build_qrc.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build_ui.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
color_svg.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
extract_sass_vars.py Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
genhooks_gui.py Rework & unify webview identification and title setting (#2366) 2023-02-10 14:53:11 +10:00
profile.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
runanki.system.in initial Bazel conversion 2020-11-01 14:26:58 +10:00