anki/qt
Matthias Metelka 371f731e30
Editor Field Descriptions (#1476)
* Add description input to fields dialog

QLineEdit seems like the best option, as it saves space and motivates users to keep their descriptions concise.

* Add setDescriptions to note initialization script

Went for the extra function instead of including it in setFields to prevent potential add-on breakages.

* Add tooltip next to field name if description is set

* Refactor code according to suggestions

Set default tooltip placement to right instead of bottom

Use .get() for fld["description"]

Fix tab order in fields dialog

Swap out abbreviation "desc" for full length name to keep consistency

* Update Protobuf and Rust for description

Add description to notetypes.proto and schema11

Co-authored-by: RumovZ <RumovZ@users.noreply.github.com>

* Fix tooltips not updating with description

Remove redundant variable tooltipOptions

Update previousTooltip within reactive function

* Move LabelDescription out of LabelName

Co-authored-by: Henrik Giesel <hgiesel@users.noreply.github.com>

* Decrease icon size and fix alignment

Co-Authored-By: Henrik Giesel <hengiesel@gmail.com>

* the new key needs to be cleared from fields, not the notetype itself

Co-authored-by: RumovZ <RumovZ@users.noreply.github.com>
Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2021-11-06 09:42:48 +10:00
..
aqt Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
mac exclude Mac dylib from '...' 2021-02-04 20:41:08 +10:00
package Fix invalid path in cargo-env.bat (#1477) 2021-11-05 11:08:23 +10:00
tests updated package scripts 2021-10-28 18:46:45 +10:00
tools add new hook: add_cards_did_change_deck (#1420) 2021-10-12 17:55:21 +10:00
.isort.cfg initial Bazel conversion 2020-11-01 14:26:58 +10:00
.pylintrc switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
bazelfixes.py updated package scripts 2021-10-28 18:46:45 +10:00
BUILD.bazel improve PyQt install 2021-10-23 10:56:17 +10:00
dmypy.py fix scripts/mypy* 2021-10-30 09:14:43 +10:00
mypy.ini switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00

Python's Qt GUI is in aqt/