Commit graph

221 commits

Author SHA1 Message Date
Damien Elmes
a51d51bca6 use new libanki temp funcs 2011-04-28 09:27:58 +09:00
Damien Elmes
f245c7651c use os check shortcuts 2011-04-28 09:27:58 +09:00
Damien Elmes
f55c7492fd cleanup when leaving review state 2011-04-28 09:27:58 +09:00
Damien Elmes
74e5122717 modal open dialogs 2011-04-28 09:27:58 +09:00
Damien Elmes
7de4552b0e configurable document dir 2011-04-28 09:27:57 +09:00
Damien Elmes
6350f620ba reinit current state after reset 2011-04-28 09:27:57 +09:00
Damien Elmes
f58110855b tweak some shortcuts 2011-04-28 09:27:57 +09:00
Damien Elmes
ae9a21167b modal info dialogs 2011-04-28 09:27:57 +09:00
Damien Elmes
915798cf46 prevent flicker on modal dialogs 2011-04-28 09:27:56 +09:00
Damien Elmes
2c7a939073 require a reset after any edits 2011-04-28 09:27:56 +09:00
Damien Elmes
0c5c130f9f more robust deck load on startup 2011-04-28 09:27:56 +09:00
Damien Elmes
9da0a83735 edit current, hide 'close' button on osx 2011-04-28 09:27:56 +09:00
Damien Elmes
9900b02795 mark/bury/etc in main window 2011-04-28 09:27:56 +09:00
Damien Elmes
5828081475 delay reset of main window after edits 2011-04-28 09:27:56 +09:00
Damien Elmes
8865ca6131 _fields -> fields 2011-04-28 09:27:55 +09:00
Damien Elmes
7da7894c89 add a progress handler to upgrade 2011-04-28 09:27:55 +09:00
Damien Elmes
82be9a432e more column work
- removed sort area; users can click on columns to sort now
- displayed columns are now loaded/saved from deck
2011-04-28 09:27:54 +09:00
Damien Elmes
1d9f0176a5 fix sorting, allow sort changing, catch attempts to modify schema 2011-04-28 09:27:54 +09:00
Damien Elmes
e029de6cf9 start of filter tree 2011-04-28 09:27:53 +09:00
Damien Elmes
f2865d7bf5 bare minimum to get the browser to show up 2011-04-28 09:27:53 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
4d694f0064 modelchooser and card adding 2011-04-28 09:27:52 +09:00
Damien Elmes
058f5e6efc split template selection into separate dialog, add manage button in card layout 2011-04-28 09:27:51 +09:00
Damien Elmes
6459ed6396 move models from deckprops into separate models screen w/ card templates 2011-04-28 09:27:50 +09:00
Damien Elmes
2f6867c4cc start of clayout port 2011-04-28 09:27:50 +09:00
Damien Elmes
3155384a9a allow group selection from graphs window 2011-04-28 09:27:50 +09:00
Damien Elmes
7ab89d2637 merge deck stats and graphs together 2011-04-28 09:27:50 +09:00
Damien Elmes
d48813c743 clarify import new deck msg 2011-04-28 09:27:49 +09:00
Damien Elmes
9fa640feca add progress to check (media) db, fix call 2011-04-28 09:27:49 +09:00
Damien Elmes
42052e6349 update deck properties, rename to deckopts 2011-04-28 09:27:49 +09:00
Damien Elmes
37d04c1831 update preferences 2011-04-28 09:27:49 +09:00
Damien Elmes
7283aba0dd tweak shortcuts; remove study/cram buttons from group screen 2011-04-28 09:26:52 +09:00
Damien Elmes
a70d7be25b add group deletion, add checkpoint() 2011-04-28 09:26:52 +09:00
Damien Elmes
827b22c88c new undo links; disable individual actions instead of menus to work around osx issue 2011-04-28 09:26:51 +09:00
Damien Elmes
363571cc94 trigger on key release instead of press; add overview action+shortcut 2011-04-28 09:26:50 +09:00
Damien Elmes
a036b97a68 add new study options 2011-04-28 09:26:50 +09:00
Damien Elmes
76633d9cce remove some old actions 2011-04-28 09:26:50 +09:00
Damien Elmes
698ba38e74 move various major functions into separate files 2011-04-28 09:26:50 +09:00
Damien Elmes
73edb5eb28 drop the tray 2011-04-28 09:26:50 +09:00
Damien Elmes
204cd3c824 remove obsolete small optimize option 2011-04-28 09:26:50 +09:00
Damien Elmes
a1e5a13f98 split plugin handling into separate file 2011-04-28 09:26:50 +09:00
Damien Elmes
e6b153df13 split error handling into separate file; remove dependency on recurring timer 2011-04-28 09:26:50 +09:00
Damien Elmes
f20d730f3c new graph handling 2011-04-28 09:26:49 +09:00
Damien Elmes
8ea949db74 move the button links to actual buttons, fix some bugs
- by using normal buttons we get the native look&feel and space can activate
  the buttons which is what users expect. Unfortunately it seems that the
  buttons are currently hard-coded to a small font size; hopefully this will
  be fixed in a future toolkit release
- remove the space hack from webview
- move the times into the ease buttons
- set a default button on a few screens
- fix a bug with clearing progress after an error
2011-04-28 09:26:49 +09:00
Damien Elmes
b5f393c7fe deck empty screen 2011-04-28 09:26:49 +09:00
Damien Elmes
90002a3073 note updated counts when returning to deck browser 2011-04-28 09:26:49 +09:00
Damien Elmes
1b20f948f3 add the ability to open deck stats in the browser 2011-04-28 09:26:48 +09:00
Damien Elmes
1f98ef588f add deck stats 2011-04-28 09:26:48 +09:00
Damien Elmes
437da036ea add card stats 2011-04-28 09:26:48 +09:00
Damien Elmes
3c8763602c remove help, drop aqt.utils from frequently used functions 2011-04-28 09:26:48 +09:00
Damien Elmes
abe67f6faa tweak overview layout 2011-04-28 09:26:48 +09:00
Damien Elmes
f561bd1473 move the key handler into the webview instead of the main window 2011-04-28 09:26:48 +09:00
Damien Elmes
ccd49ece47 don't show deck browser when quitting 2011-04-28 09:26:47 +09:00
Damien Elmes
b6844ba817 handle card answering 2011-04-28 09:26:47 +09:00
Damien Elmes
c09070df26 add ease buttons 2011-04-28 09:26:47 +09:00
Damien Elmes
e48e268ee5 add answer display 2011-04-28 09:26:47 +09:00
Damien Elmes
7fcaa98fa8 minor tweaks 2011-04-28 09:26:47 +09:00
Damien Elmes
d3a77c1c67 add answer button; more display tweaks; fix bold munging 2011-04-28 09:26:47 +09:00
Damien Elmes
46c14b5efc question displaying 2011-04-28 09:26:47 +09:00
Damien Elmes
265b598173 various layout tweaks 2011-04-28 09:26:47 +09:00
Damien Elmes
7604fa3797 move the overview into a separate file; rename noDeck state to deckBrowser 2011-04-28 09:26:47 +09:00
Damien Elmes
c9c7b8c25b start work on an overview; add flot to resources 2011-04-28 09:26:47 +09:00
Damien Elmes
045d92238d move view.py into reviewer.py 2011-04-28 09:26:46 +09:00
Damien Elmes
f96e03875a more deck browser work
- add a separate toolbar for the deck browser
- add a message when there are no decks
- change the progress handler not to lock the UI immediately, which causes
  flicker
- ensure the webview is focused after stdHtml()
2011-04-28 09:26:46 +09:00
Damien Elmes
2e327f4fe9 more deck browser improvements
- shortcut keys
- options menu items implemented
- fixed handling of locked decks
- limit accels to 35
2011-04-28 09:26:46 +09:00
Damien Elmes
3b085c486e tweak layout 2011-04-28 09:26:46 +09:00
Damien Elmes
0a4efd018f add js/py bridge, jquery 2011-04-28 09:26:46 +09:00
Damien Elmes
d948b00c54 start refactoring main window
- moved progress handling into separate progress.py
- moved deck browser code into separate deckbrowser.py
- started reworking the state code; views will be rolled into this in the
  future
- the main window has been stripped of the study options, inline editor,
  congrats screen and so on, and now consists of a single main widget which
  has a webview placed inside it. The stripped features will be implemented
  either in separate windows, or as part of the web view
2011-04-28 09:26:46 +09:00
Damien Elmes
c01c6cb79a update config.py
- move into an sqlite file so we don't have to worry about db corruption
  anymore, and can share the deck list among multiple instances
- remove some old options
2011-04-28 09:26:46 +09:00
Damien Elmes
fbb7fe8a3e tidy up __init__.py 2011-04-28 09:26:45 +09:00
Damien Elmes
103871a5b1 refactor file layout
- ankiqt->aqt
- move all the files in ui into the top level
- move icons_rc.py into aqt/forms, and the qrc into designer/
- remove setuptools
2011-04-28 09:26:45 +09:00
Renamed from ankiqt/ui/main.py (Browse further)