Commit graph

34 commits

Author SHA1 Message Date
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00
Damien Elmes
87da9f48b1 facts->notes 2011-11-23 13:35:14 +09:00
Damien Elmes
18812655ab some initial porting to the latest libanki 2011-08-28 15:24:30 +09:00
Damien Elmes
ef5caf5038 activated->triggered() 2011-04-28 09:28:03 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
e26a735a49 remember tags & group on a per-model basis 2011-04-28 09:28:00 +09:00
Damien Elmes
dac9f0584b group improvements
- set groups now supports setting cards from fact
- editor doesn't set cards when fact group is changed
- card group and fact group can be displayed separately
- window title doesn't bother to calculate total card count
2011-04-28 09:27:59 +09:00
Damien Elmes
9bae1503bb allow individual fields to be marked sticky instead of adding a separate button 2011-04-28 09:27:59 +09:00
Damien Elmes
ab3a84b984 add a new 'add&keep' button to add cards 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
242b4be2f4 use a separate hook for current model changes so we don't have to rebuild 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
d9b08a8b28 reset on show to prevent changes in the background; fix editcurrent return 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
a07f62b507 ensure the fact area is focused on addcards 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
61cdea4865 make add card dialog window modal 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
02bc090828 jump to editor from add cards area 2011-04-28 09:27:56 +09:00
Damien Elmes
8865ca6131 _fields -> fields 2011-04-28 09:27:55 +09:00
Damien Elmes
f2865d7bf5 bare minimum to get the browser to show up 2011-04-28 09:27:53 +09:00
Damien Elmes
66c7d54931 add a triangle to the dropdown menu 2011-04-28 09:27:53 +09:00
Damien Elmes
82ad8d88f8 add cards history 2011-04-28 09:27:53 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
77c20341c1 tweak focus handling 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
ae1d7bf6fc saving of fields 2011-04-28 09:27:51 +09:00
Damien Elmes
a4b08ff766 early work on new editor 2011-04-28 09:27:51 +09:00
Damien Elmes
37b7bb00d6 minimum necessary for the (empty) add cards dialog to open 2011-04-28 09:27:50 +09:00
Damien Elmes
292f6403a1 update help references and some old links 2011-04-28 09:26:52 +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/addcards.py (Browse further)