Commit graph

1824 commits

Author SHA1 Message Date
Damien Elmes
abe67f6faa tweak overview layout 2011-04-28 09:26:48 +09:00
Damien Elmes
edd04cffa8 fix progress handler 2011-04-28 09:26:48 +09:00
Damien Elmes
05432e1b32 add enter/space to proceed from overview 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
7b2ff671e8 move status.py into reviewer.py 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
8b537977a4 make sure there's enough space for 4 buttons, and prevent flicker on display 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
04040e60f2 fix bugs in hide/delete in the deck browser; use sel/allCounts() 2011-04-28 09:26:47 +09:00
Damien Elmes
d0b92313e8 skip overview graph if there's no data 2011-04-28 09:26:47 +09:00
Damien Elmes
2dc9878435 put 'today' in the middle of the bar 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
81d29fedd5 tweak colours; fix counts 2011-04-28 09:26:47 +09:00
Damien Elmes
3f1ed1a566 move the toolback into the browser screen 2011-04-28 09:26:46 +09:00
Damien Elmes
045d92238d move view.py into reviewer.py 2011-04-28 09:26:46 +09:00
Damien Elmes
909e8fb05c don't allow shortcuts to load corrupt decks; remove toolbar 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
87f5fe8769 tidy up deckbrowser code 2011-04-28 09:26:46 +09:00
Damien Elmes
2897f0a54a tweak hr appearance 2011-04-28 09:26:46 +09:00
Damien Elmes
8e7ed0acc9 make sure we're only writing the config once; fix speed regressions in browser 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
19af7ef67e load the summary by default
it was much slower in benchmarks, but that was due to a problem in libanki
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
798b0af128 remove closing delay on progress dialogs 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
Damien Elmes
b4a794dcb3 bare minimum to get ankiqt to start with the new libanki 2011-04-28 09:26:45 +09:00
Damien Elmes
9b14bd6ab0 cardHasTag(), userTime(), remove firstAnswered from cardlist 2011-04-28 09:26:15 +09:00
Damien Elmes
d02a26309f deck.s -> deck.db 2011-04-28 09:26:15 +09:00
Damien Elmes
7b52a4e519 reviewHistory->revlog 2011-04-28 09:26:15 +09:00
Damien Elmes
0080a8ffc1 change timebox calls & repsToday for libanki 2011-04-28 09:26:15 +09:00
Damien Elmes
ae3db3c255 rename newCount/newCountToday as per libanki 2011-04-28 09:26:15 +09:00
Damien Elmes
8201ffc544 remove stats dependency in study options 2011-04-28 09:26:15 +09:00
Damien Elmes
c41bd9d67f remove stats dependency in status.py 2011-04-28 09:26:15 +09:00
Damien Elmes
d504e754b0 spaced check is expensive, don't do it in status, and don't redraw on init 2011-04-28 09:26:15 +09:00
Damien Elmes
986d605a44 remove separate optimize db option, report new size on db check 2011-04-28 09:26:15 +09:00
Damien Elmes
d18d73b21b use libanki's new field checksum 2011-04-28 09:26:15 +09:00
Damien Elmes
c47e931a53 remove priorities 2011-04-28 09:26:15 +09:00
Damien Elmes
ae84ce1450 add matthew duggan to the about dialog 2011-04-28 09:26:15 +09:00
Damien Elmes
2075bb0747 new card model adding format 2011-04-28 09:26:15 +09:00