Commit graph

156 commits

Author SHA1 Message Date
Damien Elmes
35a5569038 dialog refactor wip 2010-11-29 04:56:45 +09:00
Damien Elmes
8074e7b5a8 more robust add cards fix 2010-11-28 18:03:00 +09:00
Damien Elmes
54c1d253a3 make sure to save fields before previewing 2010-11-28 02:24:44 +09:00
Damien Elmes
054287445c workaround _programLayout missing bug 2010-11-27 23:59:05 +09:00
Damien Elmes
0110875a9d fix some issues with the fact editor
- don't save a fact to disk on keystroke timer
- update unique/required checking for the above
- don't try to set focus to old widget if it doesn't exist
2010-11-27 23:37:35 +09:00
Damien Elmes
ebbf32b750 keep focus when resetting fact editor 2010-11-24 05:06:29 +09:00
Damien Elmes
3be42fbbfe suppress reset when editing current card 2010-11-23 19:28:58 +09:00
Damien Elmes
0414eed116 call .reset() where necessary due to libanki changes
- mw.reset() rebuilds the deck queue, and refetches the current card, so we
  don't try to answer a card that's not in the queue
- in a number of cases we were already explicitly calling reset; the libanki
  changes ensure we're not doing it twice now
- the editor no longer resets the current card when it's closed. Instead, all
  deck operations in the editor should reset when they are performed
2010-11-23 18:00:29 +09:00
Damien Elmes
dcd6e2dfc3 fix qt4.7 duplicate toolbars 2010-10-18 10:34:33 +09:00
Damien Elmes
ac8da946e0 don't hide vert. scroll bar 2010-08-25 14:22:02 +09:00
Damien Elmes
a2713450a7 clear audio before previewing card 2010-07-11 16:49:23 +09:00
Damien Elmes
88581105d4 add flac to supported audio formats 2010-06-27 07:53:51 +09:00
Damien Elmes
7d22ef3c8d add fixme 2010-05-19 22:08:11 +09:00
Damien Elmes
3e739e7698 make sure to return newly created media path 2010-05-01 16:11:37 +09:00
Damien Elmes
7698d36f84 catch media adding errors 2010-04-06 19:15:30 +09:00
Damien Elmes
21969b1549 add swf+flv 2010-02-26 16:44:35 +09:00
Damien Elmes
c2186f2a59 don't bump deck modified until fact is commited 2010-02-22 18:00:10 +09:00
Shawn M Moore
3f551e70f9 Keep track of whether the FactEditor is used for Add or Edit 2010-02-15 13:49:43 -05:00
Shawn M Moore
c0003c4c03 Factor out drawField 2010-02-14 18:41:26 -05:00
Damien Elmes
64cd0499ba make sure to open a browser when link clicked in preview 2010-02-12 15:16:20 +09:00
Damien Elmes
1c858f48b0 move cloze & preview to first line, enable preview & expand always 2010-02-12 03:05:03 +09:00
Damien Elmes
11357d5736 add ogv/ogx/oga, separate from translation 2010-02-10 00:49:53 +09:00
Damien Elmes
dde3c13cfe add some more file types 2010-02-09 04:08:03 +09:00
Damien Elmes
355d78f177 tweak tag field alignment on linux 2010-01-23 22:23:03 +09:00
Damien Elmes
30949edbc3 update getBase call for preview 2010-01-20 02:13:19 +09:00
Damien Elmes
d4d713a60a disable signals while updating bold/italic/underline buttons 2010-01-12 01:54:19 +09:00
Damien Elmes
24b8ddce29 display helpful dialog if cloze bad 2009-09-26 23:23:41 +09:00
Damien Elmes
614793d4d4 delegate external links in preview 2009-08-17 06:57:26 +09:00
Damien Elmes
4c6301d3ca don't die if there's only one field 2009-08-17 05:13:13 +09:00
Damien Elmes
27f23b54a5 init ctypes only once 2009-07-27 21:29:34 +09:00
Damien Elmes
117fff96b0 patch from "halabund" to remember keyboard layout in fields on win32 2009-07-27 21:11:30 +09:00
Timo Paulssen
50bb21b343 now you can paste audio and image files from gnome apps, too. 2009-07-08 13:59:21 +02:00
Damien Elmes
7265d13537 add per-field rtl customization 2009-07-05 02:16:04 +09:00
Damien Elmes
fcf656c396 fix case where tags label is bigger than all fields 2009-07-04 00:34:26 +09:00
Damien Elmes
383840619b updated jp translations from jarvik 2009-06-26 09:49:48 +09:00
Damien Elmes
d3fb52199a add automatically delete media option 2009-06-16 00:21:34 +09:00
Damien Elmes
12c1590d3f support videos, pass current card to style gen, tweak q/a size when q hidden 2009-06-15 11:38:16 +09:00
Damien Elmes
e508239998 pass current card to drawquestion/answer filter 2009-06-12 22:22:40 +09:00
Damien Elmes
1d1ed411f7 apply same filters in preview 2009-06-12 20:43:03 +09:00
Damien Elmes
42a4c21d9c don't strip all html on cloze, just the misaligned style 2009-06-12 20:11:36 +09:00
Damien Elmes
102e63acf0 strip all japanese support out in favour of a plugin 2009-06-10 23:04:15 +09:00
Damien Elmes
105e9448d3 strip html before generating cloze 2009-06-04 07:07:59 +09:00
Damien Elmes
6d77eb73a2 work around qt bug based on version 2009-05-27 01:38:58 +09:00
Damien Elmes
b3aaf31f8a if text is selected, insert latex tags around 2009-05-16 04:39:24 +09:00
Damien Elmes
e1d8c31a1e update tags list when tags are changed 2009-05-09 03:28:47 +09:00
Damien Elmes
ec684b6367 ignore focusout event if in db handler 2009-05-02 05:30:50 +09:00
Damien Elmes
94dddb6531 fix images in preview, typo in hook code 2009-04-28 17:56:01 +09:00
Damien Elmes
0b7c8bcecc fix double-click to select 2009-04-25 19:18:07 +09:00
Damien Elmes
612eafc64a prevent double click except in chinese/japanese models 2009-04-25 01:18:44 +09:00
Damien Elmes
fc367de488 hack to fix latex position until qt4.5 becomes available 2009-04-19 00:20:56 +09:00