Commit graph

51 commits

Author SHA1 Message Date
Damien Elmes
56d41cc8dc fix edit %s i18n 2012-05-14 06:20:05 +09:00
Damien Elmes
50b3c1ddc6 reverse order of history 2012-05-05 01:45:00 +09:00
Damien Elmes
083caafd95 don't save the deck in add mode until the note is being added 2012-04-22 07:12:52 +09:00
Damien Elmes
a08776137b move to resetRequired on add/edit current 2012-04-22 07:00:54 +09:00
Damien Elmes
07987dbe36 "Added" should be translatable 2012-04-21 00:25:44 +09:00
Damien Elmes
16ae17038e fix show duplicates and history buttons 2012-04-17 19:32:44 +09:00
Damien Elmes
667d7dfb38 treat add+browse as separate windows to fix win32 alt+tab bug 2012-03-30 01:00:15 +09:00
Damien Elmes
35a56c260c tweak empty question error 2012-03-27 10:50:50 +09:00
Damien Elmes
1e37473b8b we always want to go back to the first field when adding 2012-01-31 06:22:40 +09:00
Damien Elmes
5cc6ebd120 allow add cards window to be separately minimized 2012-01-24 21:08:18 +09:00
Damien Elmes
167dc79550 fix help links; add tooltip when loading browser 2012-01-16 11:00:57 +09:00
Damien Elmes
a1dcca2cf8 make the add cards window non-modal 2011-12-21 10:03:33 +09:00
Damien Elmes
dcb56ef265 don't leave orphaned facts around when editing 2011-12-13 04:20:12 +09:00
Damien Elmes
07ce5983f9 add empty card del hook, make sure we update templates on clayout close 2011-12-12 00:02:12 +09:00
Damien Elmes
60ba70b1b5 add cards dialog & model chooser 2011-12-10 21:21:20 +09:00
Damien Elmes
9a6ddae1cb removeHook -> remHook 2011-12-06 00:11:48 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
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