Commit graph

74 commits

Author SHA1 Message Date
Xiao Yi Fang 7de7a14d66 opt: change the svg to png to suppress qt.svg warning 2024-07-15 15:55:31 +08:00
YiFang Xiao 5e148eaea6 fix: fix image path in default article css
[autofix.ci] apply automated fixes
2023-10-09 19:56:34 +08:00
xiaoyifang 17cd445607
feat: customize dictionary's fullindex option with metadata.toml (#1000)
* feat: customize dictionary's fullindex option with metadata.toml

* [autofix.ci] apply automated fixes

* feat: display fulltext status in the dictionary info dialog

* [autofix.ci] apply automated fixes

* doc: add document about how to enable dictionary's fullindex feature

* Update src/metadata.cc

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update src/ui/dictinfo.ui

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/mkdocs.yml

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* Update website/docs/custom_dictionary.md

Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>

* add images

* feat: show fulltext search status in dictionary info dialog

* Update dictinfo.cc

* [autofix.ci] apply automated fixes

* ui: change layout

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2023-07-26 10:03:20 +08:00
YiFang Xiao d25e054a93 opt: replace program dictionary icon 2023-07-21 15:53:53 +08:00
YiFang Xiao 0b087e40f1 opt: replace lsa dictionary icon and zipsound icon 2023-07-21 14:34:09 +08:00
YiFang Xiao 46d62ebf8c opt: replace sounddir dictionary icon 2023-07-21 14:10:40 +08:00
YiFang Xiao 7f0cb26cda opt: unify windows icon 2023-06-20 08:31:44 +08:00
shenleban tongying 1589e14b70
clean: remove redundant dictionaryNativeIcon
`dictionaryNativeIcon` was intended to access the original icon before none-square icons were transformed into squares.

`dictionaryNativeIcon` is only used in dictionaryBar, but according to the intention, it shouldn't.

In reality, `dictionaryNativeIcon` is almost always equal to `dictionaryIcon`.
2023-06-18 22:37:07 -04:00
YiFang Xiao 90b89acac0 feat: make initialize ui more human-friendly 2023-06-10 16:57:49 +08:00
YiFang Xiao c40d04ec5e feat: add custom transliteration support
fix #661

i18n: add new translation entries
2023-05-14 06:32:13 -08:00
shenleban tongying 1a3bae3329 cleanup(css): remove 1x1 pixel <img> hack
When the code was written, there is no way to specify img's src, so
the 1x1 blank.png is a dummy img to be replaced.
2023-04-20 19:53:34 +08:00
shenleban tongying 20230542d6
refactor: move none c++ source files into src/ 2023-04-17 13:40:05 -04:00
GenjiFujimoto 16943ccab1 Add ankicard link and button
make selectedText const

add a new keyboard shortcut: ctrl+shift+n to make a card

if word is empty, warn and exit

rename

return after ankisearch

remove temp vars

change the anki action's text depending on selected text

reformat article maker

the anki button is shown under the heading

revert to the previous way of constructing gddictname

to reduce size of the diff
2023-04-06 09:06:57 +08:00
shenlebantongying f8e2e3c021 feat: bring back custom qt style sheets for Windows 2023-02-12 11:01:36 -05:00
shenlebantongying 587aad1471 Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00
shenlebantongying 6fc3684b0a
Add Lingua Libre support (#268)
* lingua: add a dummy dict

* lingua: working but output plain json as article

* lingua: add html audio plays

* lingua: fix qmake build

* fix: qmake on mac INCLUDEPATH

* lingua: add config ui to dict sources edit dialog

* lingua: add config logics

* lingua: use the configured iso language code to do query

* lingua: style polish
2022-12-24 22:42:40 +08:00
xiaoyifang 41fec4bb08 replace soures dialog icon 2022-12-05 11:28:29 +08:00
xiaoyifang def764e5ac replace by-sa-2.0 icons 2022-12-05 10:21:50 +08:00
Xiao YiFang df1906d4f2 opt: move jquery js from resources to scripts folder 2022-09-04 10:47:29 +08:00
Xiao YiFang ee6371d579 style: fix lingoes style
panels background-color should be yellow
2022-08-21 22:02:42 +08:00
Xiao YiFang 112e9a03ce style: modify default style 2022-08-19 20:50:04 +08:00
Xiao YiFang f5882816c9 opt:add new default style.
based on original default style, remove yellow background.
the original default style is renamed to classic style.
2022-08-18 20:54:35 +08:00
Xiao YiFang a8817242bf custom icon generate 2022-08-10 20:55:43 +08:00
Xiao YiFang 5a2efe20bb feat: replace ontop icon in the scan popup dialog 2022-06-28 08:03:04 +08:00
xiaoyifang a9a457cc00 optimize: add specific icon for wiktionary 2022-03-24 20:14:01 +08:00
xiaoyifang 291d6c6804 high dpi:replace menu button 2022-01-29 13:26:25 +08:00
yifang 2f1665969a high dpi:replace a improperly display svg iamge 2022-01-29 10:23:06 +08:00
xiaoyifang f639f1858c
high dpi:remove icon 2022-01-28 10:58:32 +08:00
yifang eddc813aef high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00
yifang d38daedc99
high dpi:remove coresponding png files with same name with svg
close https://github.com/goldendict/goldendict/issues/1441
2022-01-27 08:23:57 +08:00
xiaoyifang 9c5d7acc5a high dpi:change icon 2022-01-25 22:54:17 +08:00
xiaoyifang de25dc276b high dpi:change 'sound dirs' icon in edit->dictionary sounddir tabs 2022-01-24 23:17:02 +08:00
xiaoyifang c6b1572785 high dpi:change book icon and add dictionary icon 2022-01-24 23:07:40 +08:00
xiaoyifang 9cf5ee8443 high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
yifang 70254fe6e0 imp. : rename js/css file from gd_ to gd-* 2022-01-19 20:26:45 +08:00
yifang d8f5e4a374 improvement:seperate javascript file from cpp code. 2022-01-12 22:30:43 +08:00
yifang 5f956464e0 disable link redirect. 2021-12-31 22:11:55 +08:00
yifang f292e0c251 add javascript qt object to html(used to communicate between html and c++)
add jquery framework .
2021-12-19 18:37:27 +08:00
Abs62 1824d9ab02 Change "Add to Favorites" icon if headword is already presented in Favorites 2017-10-23 17:21:43 +03:00
Abs62 a75dcfb7c5 ScanPopup: Add button to stay over all other windows (issue #659) 2017-07-13 18:00:19 +03:00
Abs62 1e34de2dbc Add "Favorites" feature 2017-05-12 17:41:08 +03:00
Abs62 eba7f5578f Add support for GLS (Babylon source) format 2017-03-07 16:45:09 +03:00
Abs62 0912df7cb5 Add SLOB dictionaries support 2015-01-22 18:17:05 +03:00
Abs62 d4c68d3c49 Add help system 2014-06-23 20:03:14 +04:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04:00
Abs62 68665167d5 Add ZIM format support (issue #267). Now turned on by default for Windows only. Under Linux/MacOS use "qmake "CONFIG+=zim_support"" (liblzma-dev package required. Or take xz 5.0.5 sources from http://tukaani.org/xz/ and compile it). 2013-09-14 20:17:32 +04:00
Tvangeste e2dde82580 Fixed #182: Provide a better Sound icon
The icon is by Evan Brooks, used with permission.
2013-08-21 10:02:46 +02:00
Tvangeste 039caf07f1 Fixed #183: Provide a higher resolution main GoldenDict icon
Finally! :)
2013-07-19 19:07:32 +02:00
Tvangeste 0cf8ccb259 DSL: Support video resources 2013-06-22 18:36:25 +02:00
Tvangeste 3be5e5574b Adjust Modern and Lingoes-Blue styles to handle expand/collapse buttons better 2013-06-02 14:34:59 +02:00