Commit graph

543 commits

Author SHA1 Message Date
Damien Elmes
4fd1da00fd use a platform-specific font 2012-01-11 14:44:50 +09:00
Damien Elmes
0d4f18afad make sure we tidy up key handlers; s/fact/note 2011-12-21 10:11:53 +09:00
Damien Elmes
8d2363203c "move files" 2011-12-20 16:58:46 +09:00
Damien Elmes
2f056d80b4 don't mention decks in prefs/backup 2011-12-20 16:49:53 +09:00
Damien Elmes
9ac42a40a5 when renaming deck, start with old one as default 2011-12-19 08:31:23 +09:00
Damien Elmes
1b3e956d5f add new css field to clayout 2011-12-17 18:17:28 +09:00
Damien Elmes
fde2a697ca browser display tweaks 2011-12-16 12:25:25 +09:00
Damien Elmes
36eb97375d add horiz scrollbar to browser 2011-12-16 12:02:56 +09:00
Damien Elmes
2f47dba5e4 grayscale sidebar 2011-12-15 16:48:46 +09:00
Damien Elmes
53349ea5b1 add tint to browser sidebar 2011-12-15 16:43:35 +09:00
Damien Elmes
d33f05f028 browser toolbar tweaks 2011-12-15 16:17:48 +09:00
Damien Elmes
34b56b5003 add timer flag, limit timer to maxTaken 2011-12-15 15:09:04 +09:00
Damien Elmes
494b7310f0 change model, description editing 2011-12-15 14:33:40 +09:00
Damien Elmes
177a2d027b add deck to add cards dialog 2011-12-13 01:53:18 +09:00
Damien Elmes
63e1132b5b sync pref tweaks 2011-12-13 01:04:01 +09:00
Damien Elmes
1bcc8b9d27 fix cloze 2011-12-11 03:34:23 +09:00
Damien Elmes
569b903cdc move collection options into preferences 2011-12-10 23:41:33 +09:00
Damien Elmes
d3acebe395 add separate option to deck opts 2011-12-10 22:52:51 +09:00
Damien Elmes
60ba70b1b5 add cards dialog & model chooser 2011-12-10 21:21:20 +09:00
Damien Elmes
f8d39ca210 update deck configuration dialog 2011-12-10 04:21:53 +09:00
Damien Elmes
82fb30aa4a remove some obsolete files 2011-12-09 01:01:43 +09:00
Damien Elmes
279c40b5f5 implement prefs window 2011-12-09 00:41:31 +09:00
Damien Elmes
4a84a304ae move tex & html editing into advanced menu 2011-12-08 20:51:46 +09:00
Damien Elmes
b025eb9983 add auto optimiziation on close 2011-12-08 01:42:14 +09:00
Damien Elmes
ff1745e374 rename some icon files 2011-12-05 19:38:49 +09:00
Damien Elmes
ad523113cc more browser stuff 2011-12-02 21:27:28 +09:00
Damien Elmes
77dd9eea14 browser work 2011-12-02 20:44:18 +09:00
Damien Elmes
5dd5ab710a connect current card editor; ensure same card is reviewed 2011-12-01 15:41:24 +09:00
Damien Elmes
cecec92934 work on reviewer 2011-12-01 15:15:20 +09:00
Damien Elmes
b745567bb3 add another toolbar at the bottom 2011-11-30 17:54:55 +09:00
Damien Elmes
bea1e60fc8 remove actions that'll be placed on the card 2011-11-30 15:58:39 +09:00
Damien Elmes
b9522487ad finish fields dialog 2011-11-30 12:36:12 +09:00
Damien Elmes
967dff23dd work on fields dialog 2011-11-29 21:06:42 +09:00
Damien Elmes
3362ca06a3 move card info into separate diag 2011-11-29 17:46:32 +09:00
Damien Elmes
1c58306d7a new toolbar for the browser 2011-11-29 13:35:13 +09:00
Damien Elmes
0411d9f11e fix padding of bottom area 2011-11-29 11:15:31 +09:00
Damien Elmes
7a799d30e0 report issues with history not matching rep count 2011-11-29 11:04:32 +09:00
Damien Elmes
0c104af809 tweak browser layout 2011-11-29 10:18:55 +09:00
Damien Elmes
10234be4e9 browser tweaks 2011-11-28 21:19:39 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
Damien Elmes
f2a39aad2a move the toolbar into a separate file and make it global 2011-11-27 11:25:13 +09:00
Damien Elmes
f75ef69fba experimenting with a new toolbar 2011-11-26 22:07:10 +09:00
Damien Elmes
5f1b762a15 fix stats, start work on revamped overview 2011-11-26 13:20:55 +09:00
Damien Elmes
a1a7e7341c upgrade wizard and first startup language selection dialog 2011-11-25 15:08:41 +09:00
Damien Elmes
7c68b58d44 profile gui, new deck browser 2011-11-24 18:42:06 +09:00
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00
Damien Elmes
be921563f0 todo 2011-11-23 13:03:51 +09:00
Damien Elmes
f8e53f8381 add some placeholder group indicators 2011-10-29 09:19:58 +09:00
Damien Elmes
96f1c52105 add another svg 2011-09-21 03:07:48 +09:00
Damien Elmes
95d8690d34 close -> close deck 2011-07-26 18:08:32 +09:00
Damien Elmes
3425b4db8d add stripped svg from christian 2011-07-26 16:51:08 +09:00
Damien Elmes
d02cfa28d9 move latex conf into model 2011-04-28 09:28:02 +09:00
Damien Elmes
1a0d273b78 plugins -> add-ons; ditch separate download menu
Because of the extensive changes almost all plugins will require an update to
work with 2.0, and add-ons is a slightly friendlier name.
2011-04-28 09:28:02 +09:00
Damien Elmes
a18b5c5075 fix study options saving & randomize/order; update reschedule 2011-04-28 09:28:02 +09:00
Damien Elmes
d89098b677 add reposition tool, make sure to bump mod on setgroup, don't show 0 reviews 2011-04-28 09:28:01 +09:00
Damien Elmes
591bc8444e rework browser menus 2011-04-28 09:28:01 +09:00
Damien Elmes
76eea26646 revert the flag back to a star 2011-04-28 09:28:01 +09:00
Damien Elmes
4ab7185cc3 swap the deck list button with a groups button 2011-04-28 09:28:01 +09:00
Damien Elmes
c7fb1146da tweak tab order 2011-04-28 09:28:00 +09:00
Damien Elmes
2ffc4342df change delete shortcut 2011-04-28 09:28:00 +09:00
Damien Elmes
722645d4b7 option to delete unselected cards when generating 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
b5df36f458 basic change group code 2011-04-28 09:27:59 +09:00
Damien Elmes
4fa0a68dd3 add a browser options dialog so the user can toggle full search 2011-04-28 09:27:59 +09:00
Damien Elmes
28c1741b43 add shortcut for select facts 2011-04-28 09:27:59 +09:00
Damien Elmes
d081a3f864 option to toggle cloze behaviour in clayout 2011-04-28 09:27:59 +09:00
Damien Elmes
1f31941ab4 add reset as new option for leeches 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
4a931f811f add the toolbar config back to the prefs, so osx users can toggle 2011-04-28 09:27:58 +09:00
Damien Elmes
270bfab5a7 drop useless start/end navigation keys; fix other keys to select properly 2011-04-28 09:27:58 +09:00
Damien Elmes
7de4552b0e configurable document dir 2011-04-28 09:27:57 +09:00
Damien Elmes
f110ffbb5f add group field; instead of silently changing sort criteria, warn user 2011-04-28 09:27:57 +09:00
Damien Elmes
f3d51e74c7 fix close button in groups 2011-04-28 09:27:57 +09:00
Damien Elmes
f58110855b tweak some shortcuts 2011-04-28 09:27:57 +09:00
Damien Elmes
b770768a77 modalize gencards & change model 2011-04-28 09:27:57 +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
3855183213 find & replace 2011-04-28 09:27:56 +09:00
Damien Elmes
139048ad3f model changing 2011-04-28 09:27:55 +09:00
Damien Elmes
fe083e916f fix navigation 2011-04-28 09:27:55 +09:00
Damien Elmes
598b22e18b add a template display 2011-04-28 09:27:54 +09:00
Damien Elmes
db1695a19c tweak some icons; move the system tags to the top 2011-04-28 09:27:54 +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
4b1d377a40 remove bottom right splitter 2011-04-28 09:27:54 +09:00
Damien Elmes
07c2591be0 update columns code and add support for multiple columns 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
ae43b78faa reorganize, and remove placeholder which isn't available on older qt 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
4d694f0064 modelchooser and card adding 2011-04-28 09:27:52 +09:00
Damien Elmes
e0c4c9e896 added foreground setting / remove formatting and some icons
foreground setting is not sticky due to webkit issues
2011-04-28 09:27:51 +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
058f5e6efc split template selection into separate dialog, add manage button in card layout 2011-04-28 09:27:51 +09:00
Damien Elmes
01e6470c2a template load/add/delete implemented 2011-04-28 09:27:50 +09:00
Damien Elmes
104c0a11cc fix add; update modelchooser 2011-04-28 09:27:50 +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
b1ce366645 field repositioning 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
0ab698154f add accept signal back to groupman 2011-04-28 09:27:50 +09:00
Damien Elmes
2ab51183c4 fix study opts tab order; remove group settings button 2011-04-28 09:27:49 +09:00
Damien Elmes
ffbbb45b3f support double clicks on options/name 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
6bab81c180 tweak button layout again 2011-04-28 09:26:52 +09:00
Damien Elmes
e0582dee2f actually save gconf selection; refresh; show conf in list; use 2 bboxes 2011-04-28 09:26:52 +09:00
Damien Elmes
7283aba0dd tweak shortcuts; remove study/cram buttons from group screen 2011-04-28 09:26:52 +09:00
Damien Elmes
309f98fcbb keep numbers as ints if they have no decimal portion 2011-04-28 09:26:52 +09:00
Damien Elmes
292f6403a1 update help references and some old links 2011-04-28 09:26:52 +09:00
Damien Elmes
2d76f2516e fix saving of steps, add missing help button 2011-04-28 09:26:51 +09:00
Damien Elmes
0213f8662e saving, restoring to defaults 2011-04-28 09:26:51 +09:00
Damien Elmes
5899b60b59 group conf startup 2011-04-28 09:26:51 +09:00
Damien Elmes
d923753c4d groupsel->groupman 2011-04-28 09:26:51 +09:00
Damien Elmes
03d0348fd2 start of group configuration selector 2011-04-28 09:26:51 +09:00
Damien Elmes
7510c17245 show non-groups in grey, disable edit button when on non-group 2011-04-28 09:26:51 +09:00
Damien Elmes
ccf3e0ae0d saving of state 2011-04-28 09:26:51 +09:00
Damien Elmes
783d8f2a5f use checkmarks instead of multi selection so we don't lose keyboard focus 2011-04-28 09:26:51 +09:00
Damien Elmes
c8aafa7edf tweak layout and add edit button 2011-04-28 09:26:51 +09:00
Damien Elmes
c9bd1deb27 initial work on group selection dialog 2011-04-28 09:26:51 +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
6b0e51dc74 add new study options dialog 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
9e20c979fb remove the js resources and use the ones bundled with libanki instead 2011-04-28 09:26:49 +09:00
Damien Elmes
c9c7b8c25b start work on an overview; add flot to resources 2011-04-28 09:26:47 +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
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
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
986d605a44 remove separate optimize db option, report new size on db check 2011-04-28 09:26:15 +09:00
Damien Elmes
c47e931a53 remove priorities 2011-04-28 09:26:15 +09:00
Damien Elmes
d62b12de90 option for changing rev spacing 2011-02-02 23:38:51 +09:00
Damien Elmes
f9a8e98d84 allow congrats screen messages to wrap 2011-02-02 23:32:11 +09:00
Damien Elmes
3ea50a233d new card spacing > sibling spacing 2011-01-27 07:54:56 +09:00
Damien Elmes
0d72810034 improve selective study screen 2011-01-25 12:40:37 +09:00
Damien Elmes
3df8411626 add a splitter in clayout 2011-01-25 12:11:38 +09:00
Damien Elmes
39d3ffd6d3 tweaks for small screens 2011-01-22 04:18:06 +09:00
Damien Elmes
b083c15d0c clarify selective study wording 2011-01-17 01:48:01 +09:00
Damien Elmes
eddc43697e add help to the main importing screen too 2011-01-11 22:33:32 +09:00
Damien Elmes
f973dabb9a make importing dialog scrollable 2011-01-02 19:20:20 +09:00
Damien Elmes
38aac3d4ab always save new decks to disk, improve importing
- instead of having various functions like importing & deck stats ask the user
  to save first, we ask the user for a deck name when they create a new deck
- importing now explains why a new deck has to be created
- don't bump deck mod time when setting media location
2010-12-27 02:46:26 +09:00
Damien Elmes
6a93e8f180 new option to download remote media 2010-12-25 11:26:04 +09:00
Damien Elmes
d7971c33f6 allow previewing of other templates when editing, include info on what's shown 2010-12-25 08:46:45 +09:00
Damien Elmes
781324741a option to disable sound autoplay 2010-12-25 06:58:07 +09:00
Damien Elmes
d3214ee56c add latex header/footer config 2010-12-13 03:21:54 +09:00
Damien Elmes
c92a00d90b add config option to turn off html stripping 2010-12-12 19:46:54 +09:00
Damien Elmes
b6fb2098e6 give card layout option in main window same f2 shortcut 2010-12-11 20:55:10 +09:00
Damien Elmes
73bd124b6c don't bother reporting used media; fix ctrl+l latex conflict with card layout 2010-12-11 02:13:27 +09:00
Damien Elmes
451b77cd46 update check media db dialog, add accelerators to some advanced menu items 2010-12-11 01:48:28 +09:00