Damien Elmes
9c569ac35c
fix onHeight error by not reloading toolbar each note
2016-07-07 17:29:53 +10:00
Damien Elmes
d824f178cc
Merge pull request #133 from hssm/browser-recenter
...
Fix automatic horizontal scrolling in browser
2016-07-04 16:29:45 +10:00
Damien Elmes
a1caa93054
fix mem leaks in dialogs
...
- ensure we're cleaning them up after they're rejected
- run the garbage collector afterwards so the qwebengineprocess
instances get cleaned up
2016-07-04 13:22:35 +10:00
Damien Elmes
a4cab1d8f2
remove setupFonts(), disable syncing
2016-06-23 12:06:16 +10:00
Houssam Salem
7a60482269
Fix automatic horizontal scrolling in browser
2016-06-07 16:32:19 +10:00
Damien Elmes
4e2bd3f739
resize toolbars to fit content
2016-06-07 14:27:33 +10:00
Damien Elmes
9abc9fde9f
use a channel for bridge
...
acceptNavRequest was not being called for rapid updates, so it's not
usable
2016-06-06 15:50:03 +10:00
Damien Elmes
de7e40537d
port majority of code to qt5.5+
...
- a few issues to work out still, and editor changes not done yet
- for communication between webengine and python code, we set window
.location to 'http://anki/ <something>' - the leading http is
necessary for qt to call the link handler, which was introduced
in qt5.5
- the designer files now use a promoted qobject to create instances
of AnkiWebView
- we use the css zoom property to alter webengine font size based on
system dpi
- prefs and addons folder stored in new location (at least for now)
2016-05-31 18:51:40 +10:00
Damien Elmes
15b349e3a8
start port to python 3
...
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Dmitry Mikheev
74e28058f7
sorry, a typo crept in
2016-05-05 03:26:13 +05:00
Dmitry Mikheev
692dcfd4e7
2 tooltips in Preview window and support Enter
...
Let's give the users tips over the arrow buttons
and provide passing Back Side / Next Card
by pressing Enter key.
2016-05-05 03:21:04 +05:00
Glutanimate
ec401a6c23
Add keyboard shortcut for 'Add Note' action in Browser (Ctrl+E)
2016-03-04 20:21:58 +01:00
Damien Elmes
216a68f656
add missing comma in received patch
2016-02-22 10:42:27 +10:00
Damien Elmes
97311e33d9
suspend note -> suspend card
2016-02-22 09:31:00 +10:00
Glutanimate
4c9d176272
Add keyboard shortcut for 'Suspend Note' in Browser
2016-02-21 12:10:02 +01:00
Houssam Salem
98d98ad363
Rebuild browser tree without reconnecting signals
...
Fixes a bug where adding or removing a saved search triggers
multiple click events on tree items.
2015-06-30 21:41:16 +10:00
Houssam Salem
6e20bf7013
Load saved searches list in sorted order
2014-11-11 10:13:29 +11:00
Damien Elmes
1f178b869f
remove backspace to delete shortcut on macs
...
too many people activating it accidentally
2014-10-10 17:59:18 +09:00
Houssam Salem
9eaacf8977
Bump mod time when editing saved searches
...
Fixes saved searches not getting synced when modified.
2014-10-05 20:37:09 +11:00
Damien Elmes
ece78a7d11
allow all ankiwebview instances to take focus
...
the canFocus/canCopy separate variables was silly, as we ended up
with text that could be copied from the context menu but not with
a shortcut key. also we default to allowing focus now, since that's
the more sensible default. fixes copy issues with card info dialog and
some addons
2014-09-15 15:04:14 +09:00
Derbeth
8dedcdf6ac
allow better translations of '1 note deleted' browser tooltip
2014-08-26 09:31:32 +02:00
Soren I. Bjornstad
b19a1707fb
put selection in a sensible place after deleting several cards
...
If the last selection was at the top, the new selection will be right
above the last-selected item; otherwise, it will be right below it.
2014-08-11 14:32:59 -05:00
Damien Elmes
03f9c76b9e
Merge branch 'master' of https://github.com/sobjornstad/anki
2014-07-04 06:41:44 +09:00
Soren I. Bjornstad
45a6e8cdba
fix automatic 'deck:current' missing trailing space
...
3aeb5d8
accidentally added some duplicate code that made the search
parser run twice and strip the space from the search that had just been
automatically placed in the box.
2014-07-03 14:03:04 -05:00
Damien Elmes
1e34696c5b
Merge branch 'master' of git://github.com/sobjornstad/anki into sobjornstad-master
...
Conflicts:
anki/exporting.py
2014-06-29 04:07:00 +09:00
Houssam Salem
68d8275ce1
Reduce margin of search box so that text isn't covered by fav button
2014-06-28 01:38:34 +10:00
Soren I. Bjornstad
083d9e8aa5
remove search text when ctrl-clicking a left panel item
2014-06-25 13:46:21 -05:00
Soren I. Bjornstad
d659d9cff7
add 'replay audio' button to previewer
2014-06-21 15:35:45 -05:00
Soren I. Bjornstad
436f257e36
dialog box size and position improvements
...
- keep track of size and position for a number of dialogs
- make sure addons dialog opens at an appropriate size for the system
font size
- add optional argument to showText to restore geom on creation and save
on reject (other buttons, if used, need to be programmed to save
individually)
2014-06-20 10:31:52 -05:00
Houssam Salem
7fa346c2a2
Re-check favourites status on any text change
...
Updates the favourites button when the search text is updated programmatically as well as user input. Fixes a bug where using the recent search drop-down doesn't update the favourites button state correctly.
2014-05-27 07:04:10 +10:00
Houssam Salem
96a294039e
Don't manually specify tab order.
...
The default order is more logical:
Text input -> Search -> Preview -> Results table
2014-05-25 11:06:30 +10:00
Houssam Salem
07426a883c
Replace search lineEdit before we connect signals.
...
Avoids overriding the setup work we do on it.
2014-05-22 21:53:35 +10:00
Damien Elmes
7134da4cd6
enable houssam's fav code
2014-05-12 15:45:21 +09:00
Houssam Salem
3aeb5d86da
Added search saving feature to card browser.
2014-04-09 04:35:00 +10:00
Damien Elmes
9f6b073def
allow copy context item in info view
2014-03-27 16:48:26 +09:00
Damien Elmes
b562b8c6dc
Revert "fix some memory leaks"
...
This reverts commit b9ba2375a1
.
testing assumption that this is causing the windows crashes
2014-03-27 13:58:30 +09:00
Damien Elmes
29026b08e2
fix crashes and corruption in column headers
...
set all columns to interactive at once to work around qt5 issues
2014-03-14 15:41:00 +09:00
Damien Elmes
f9d93fa888
Revert "use a new header key on qt5 to fix drawing bug"
...
This reverts commit e063123218
.
2014-03-14 15:29:48 +09:00
Damien Elmes
b9ba2375a1
fix some memory leaks
2014-03-14 12:51:38 +09:00
Damien Elmes
e063123218
use a new header key on qt5 to fix drawing bug
2014-03-06 09:07:03 +09:00
Damien Elmes
776168b2ea
Merge pull request #62 from hssm/998
...
Issue #998 : Allow copy/paste and context menu in all card windows.
2014-02-15 23:43:15 +09:00
Houssam Salem
a12e6f6b65
Issue #998 : Allow copy/paste and context menu in all card windows.
2014-02-15 17:26:03 +11:00
Houssam Salem
770c6e9c4a
Add expand/collapse support for decks in browser tree.
...
The state is preserved in a new deck configuration key named 'browserCollapsed'.
2014-02-15 13:32:14 +11:00
Damien Elmes
513b0ca8d7
ignore filtered cards when determining new card pos boundaries
2014-01-14 15:06:22 +09:00
Damien Elmes
c5df294a28
fix "local variable 'txt' referenced before assignment"
2014-01-13 19:07:34 +09:00
Damien Elmes
5bc25e494c
add fixme
2013-12-02 10:26:18 +09:00
Damien Elmes
dd1899bcc6
cascading column resize must be set after resize
2013-11-26 04:57:39 +09:00
Damien Elmes
3348b091d0
tweak logging
...
- log only sched getCard(), not all getCard calls
- don't log sched.today unless it's changed
2013-10-30 22:42:32 +09:00
Damien Elmes
0fbc94c186
more logging tweaks
...
- disable in browser, note.cards()
- in getCard() we want the calling frame, not us
- log current day
- show card/note id in card info stat
2013-10-18 14:20:20 +09:00
Damien Elmes
d503b62cd1
fix display of non-latin tags
2013-10-08 07:42:06 +09:00