anki/aqt
Damien Elmes 8ab5a3a176 use callback when closing windows
remove the old forceClose hack in favour of a callback when closing, so
all windows have a chance to save properly before the collection is
unloaded

also:

- fix a warning shown when opening about screen
- require a call to editor.cleanup() when closing a window, to make sure
 any pending js callbacks don't try to fire on a deleted object
- make sure we gc webview when closing editcurrent
- main.py still needs refactoring to make use of the change
2017-08-16 12:48:15 +10:00
..
__init__.py use callback when closing windows 2017-08-16 12:48:15 +10:00
about.py use callback when closing windows 2017-08-16 12:48:15 +10:00
addcards.py use callback when closing windows 2017-08-16 12:48:15 +10:00
addons.py Fix NameError caused by missing import 2017-02-15 23:08:37 +09:30
browser.py use callback when closing windows 2017-08-16 12:48:15 +10:00
clayout.py shortcut keys to jump to first 9 templates 2017-08-12 17:29:47 +10:00
customstudy.py Improve usability of increase new/review card limit dialog 2017-02-11 20:11:31 +01:00
deckbrowser.py switch to svg images for better hidpi rendering 2017-08-15 13:54:58 +10:00
deckchooser.py fix ampersands appearing in deck names 2017-07-28 17:40:26 +10:00
deckconf.py remove images and move away from qt resources 2017-08-11 20:59:43 +10:00
downloader.py tweaks to add-on downloading 2017-02-15 15:55:31 +10:00
dyndeckconf.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
editcurrent.py use callback when closing windows 2017-08-16 12:48:15 +10:00
editor.py use callback when closing windows 2017-08-16 12:48:15 +10:00
errors.py catch windows firewall issue 2017-07-09 13:26:50 +10:00
exporting.py fix exporting & one bug in stats image export 2016-07-05 19:52:26 +10:00
fields.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
importing.py Fix error caused by converting delimiter to bytes 2017-02-15 18:45:04 +09:30
main.py use callback when closing windows 2017-08-16 12:48:15 +10:00
mediasrv.py fix media server port allocation 2017-08-08 14:56:34 +10:00
modelchooser.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
models.py turn latex svg into a note type option 2017-07-28 18:38:31 +10:00
overview.py move the inline css and some more js into separate files 2017-08-10 19:02:32 +10:00
preferences.py write backups in thread; remove strip html & compress options 2017-01-08 19:29:57 +10:00
profiles.py fix base folder location on windows 2017-07-09 13:22:01 +10:00
progress.py py3 always has a db progress handler 2017-08-16 11:50:00 +10:00
qt.py require qt 5.9 2017-06-06 14:33:53 +10:00
reviewer.py ditch marked tag in favour of card flags 2017-08-12 16:08:10 +10:00
sound.py remove images and move away from qt resources 2017-08-11 20:59:43 +10:00
stats.py use callback when closing windows 2017-08-16 12:48:15 +10:00
studydeck.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
sync.py treat name resolution failure as internet offline 2017-08-15 18:46:07 +10:00
tagedit.py port majority of code to qt5.5+ 2016-05-31 18:51:40 +10:00
taglimit.py remove images and move away from qt resources 2017-08-11 20:59:43 +10:00
toolbar.py remove border on bottom toolbar; fix hacky spacing of top elements 2017-08-10 19:17:28 +10:00
update.py use requests for http; add progress info back 2017-01-08 19:06:32 +10:00
utils.py filter menu tweaks 2017-08-15 18:41:36 +10:00
webview.py compensate for qt's integer scaling on windows 2017-08-15 14:47:03 +10:00