Damien Elmes
a44dc7f174
prevent backspace key from going back a page
2017-01-17 13:39:38 +10:00
Damien Elmes
a172af11a1
use in-memory cache for webengine
...
no need to persist things to disk, as we have a local copy in most
cases anyway
2017-01-08 20:02:49 +10:00
Damien Elmes
f465dbd8ad
use helvetica on mac
2016-07-26 10:34:16 +10:00
Damien Elmes
37bac3979c
select all shortcut in fields
2016-07-14 11:56:18 +10:00
Damien Elmes
8fdda2bb9c
tweak win button size
2016-07-12 16:40:13 +10:00
Damien Elmes
74de1face7
specify font size again on osx
...
we lose the native button appearance, but the text is too small to
read on OSX otherwise
2016-07-12 16:28:14 +10:00
Damien Elmes
166c6f4b3c
remove debug statement
2016-07-12 13:43:21 +10:00
Damien Elmes
46dae2507b
tweaks to UI font on win/lin
2016-07-08 16:17:06 +10:00
Damien Elmes
7d0eb6dd39
ignore copy/paste shortcuts except on mac
2016-07-07 23:34:19 +10:00
Damien Elmes
258a10edc7
add titles to various webviews to make them easy to locate
2016-07-07 17:23:13 +10:00
Damien Elmes
2d5affd3f2
Revert "hack around broken qwebchannel behaviour"
...
This reverts commit 447718c605
.
2016-07-05 12:26:08 +10:00
Damien Elmes
447718c605
hack around broken qwebchannel behaviour
...
https://bugreports.qt.io/browse/QTBUG-53411
2016-07-04 16:25:24 +10:00
Damien Elmes
704610ef8f
remove button styling
...
qt5.7 loses system styling when zoom applied
2016-07-04 16:24:43 +10:00
Damien Elmes
eb3208e1e7
QKeySequence.Cancel is not in 5.5
2016-06-28 15:52:13 +10:00
Damien Elmes
8a7107ad8e
tweak button appearance on osx
2016-06-22 14:43:59 +10:00
Damien Elmes
4e2bd3f739
resize toolbars to fit content
2016-06-07 14:27:33 +10:00
Damien Elmes
d7339d9a27
update editor, key handling in webview
...
keyPressEvent/etc no longer work with qwebengineview, so we need to
install an event filter to catch things like ctrl+c. drag & drop
doesn't seem to be supported until 5.7
2016-06-06 17:54:39 +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
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
Damien Elmes
9f6b073def
allow copy context item in info view
2014-03-27 16:48:26 +09:00
Damien Elmes
5044089d42
Revert "tweak heights and font sizes"
...
This reverts commit 9beed20dc0
.
beta testers all seem to prefer the original smaller size
2014-03-27 14:02:55 +09:00
Damien Elmes
9beed20dc0
tweak heights and font sizes
2014-03-07 10:16:38 +09:00
Damien Elmes
96cc486528
editor needs to accept focus; rename cardViewer to canFocus
2014-02-18 15:13:59 +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
steveaw
e5bc1650f9
Add hooks for context menus
2013-07-16 17:42:50 +10:00
Damien Elmes
a492e95aed
remove pyqtconfig usage ( #831 )
2013-05-17 15:17:04 +09:00
Damien Elmes
058f19b18d
update obsolote activated() signals
2013-05-10 14:49:21 +09:00
Damien Elmes
5e8bb48c3a
disallow ctrl+shift etc as well to trigger links ( #590 )
2013-01-28 12:17:53 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00