Damien Elmes
372d5ed6e8
update copyright and clarify licenses
2019-02-05 14:01:33 +10:00
Damien Elmes
0c1c7a1ca3
fix other clickable anchors
2018-10-23 17:05:47 +10:00
Damien Elmes
b0091053bf
don't require collection for top toolbar
...
This is a hack, and ideally the code would be refactored
so that the entire main window is not loaded until a collection
is available, but doing that will break a bunch of add-ons.
Fixes
https://anki.tenderapp.com/discussions/beta-testing/1276-anki-215-beta#comment_46241878
2018-10-12 12:08:19 +10:00
Damien Elmes
9b7c701f25
new stats shortcut
2018-05-31 13:05:37 +10:00
Damien Elmes
cfaedfef4a
include aria-label in top toolbar
...
qt doesn't seem to support it at the moment though
https://anki.tenderapp.com/discussions/beta-testing/1130-latest-anki-beta-not-accessible-with-voiceover-on-mac-os
2018-05-14 11:24:04 +10:00
Damien Elmes
06fcccaf44
remove border on bottom toolbar; fix hacky spacing of top elements
2017-08-10 19:17:28 +10:00
Damien Elmes
f3f90842dc
move the inline css and some more js into separate files
...
- stdHtml() css= arg now takes a list of files like js=
- the files are loaded in the head of the document so that styling
that comes later in the document can easily override it
fixes:
https://anki.tenderapp.com/discussions/beta-testing/661-anki-210-beta-7/page/1#comment_43164447
https://anki.tenderapp.com/discussions/beta-testing/661-anki-210-beta-7#comment_43177130
2017-08-10 19:02:32 +10:00
Damien Elmes
37d3996be0
move height resizing to webview; remove onLoaded from toolbar/reviewer
2017-08-02 16:22:54 +10:00
Damien Elmes
e635157ee4
move stats and sync buttons to the center
2017-06-23 14:03:18 +10:00
Damien Elmes
a3bdd04d42
set bgcol in ankiwebview
2017-06-23 13:07:59 +10:00
Damien Elmes
1b41e68f05
remove gradients from toolbars in favour of system colour
2017-06-22 18:06:40 +10:00
Damien Elmes
aa77df0805
give toolbars an approx height to reduce flashing at startup
2017-06-22 16:56:29 +10:00
Illia Volochii
13b7e01044
Stop inheriting from object
...
It is not needed in Python 3.
2017-02-07 00:21:33 +02: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
4d2ed10c94
fix toolbar alignment issues ( #191 )
2013-05-24 12:40:41 +09:00
Damien Elmes
1af487a1d4
patch from user broke stats button
2012-12-23 12:28:06 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00