shenleban tongying
2f9f09bb9f
refactor: unify source extensions to .cc and .hh
2023-04-17 16:17:03 -04:00
shenleban tongying
3ff6b6a8ee
feat(help): replace QtHelp with website
...
* Nobody wants to update .qch files
2023-04-17 14:40:29 +08:00
shenleban tongying
86f1aeceb6
refactor: simplify MainWindow::showDictionaryHeadwords
...
* merge two methods into one
2023-04-13 10:17:59 +08:00
shenleban tongying
ddb9655938
refactor: move MRU ctrl handling code from mainwindow.cc to mruqmenu.cc
2023-04-12 20:16:29 +08:00
Xiao YiFang
e84b5aa861
feature:webengineprofile use non off record profile
2023-03-27 12:29:13 +08:00
shenleban tongying
0731253489
cleanup: simplify DSL's expand mode
...
Related code was related to DSL's [*][/*] tag.
One of the feature removed is Ctrl+8 to toggle current articleview's AlwaysExpand mode, because DSL is the only format that has this feature and User can turn on AlwaysExpand Mode on Preferences. There is no need to assign a shortcut for it.
2023-03-21 15:34:55 +08:00
shenleban tongying
fac1247c10
refactor: properly modularize articleview's ui
2023-03-18 11:00:06 +08:00
xiaoyifang
afa77a8f31
fix: remove unused code
2023-03-07 17:46:37 +08:00
xiaoyifang
84798c56ea
fix:check scanPopup existence
2023-03-07 10:09:18 +08:00
shenleban tongying
a0e32fdfa7
fix: enabled scanpopup at startup doesn't work
...
* also merge clipboard monitoring code with toolbar scanning action icon changing code together
2023-03-04 01:59:37 -05:00
shenleban tongying
b3aac01f41
refactor: elimate makeScanPopup()
...
* Old code keep destory the scanpopup, then recreate it whenever the dict list or group list changed.
* New code keep a single instance of scanpopup, and only update necessary info.
2023-02-22 20:09:26 -05:00
shenleban tongying
497ecf3719
fix: use alternative clipboard change monitor on macOS
...
QClipboard cannot monitor data changes on mac unless an application is focused
2023-02-17 22:02:52 -05:00
shenlebantongying
f8e2e3c021
feat: bring back custom qt style sheets for Windows
2023-02-12 11:01:36 -05:00
Xiao YiFang
4a30302864
fix: move Contexts to header file
2023-01-02 22:00:42 +08:00
shenleban tongying
426f77fee5
refactor: remove duplicated favoriatePane shortcut setting
2022-12-27 05:27:59 -05:00
shenleban tongying
01c0b8d9d9
refactor: remove duplicated history shortcut setting
2022-12-27 01:52:20 -05:00
shenleban tongying
9828ef9dc8
perfect_dark: add toggle option to enable Dark Reader mode
2022-12-26 12:29:30 -05:00
shenleban tongying
3237054cf3
fix: memory leaks found by clang LeakSanitizer
2022-12-21 20:08:41 -05:00
Xiao YiFang
d969b63c1e
add experimental darkmode
...
relate #188
2022-12-11 09:29:33 +08:00
shenleban tongying
06a296c99f
Put conditions on the ClipboardChange for X11
2022-11-19 13:48:26 -05:00
shenleban tongying
9d9ad3ecc9
rename enableScanPopupAction
to enableScanningAction
which now governs both popup and sendToMainWindow kinds of scanning
2022-11-19 10:40:57 -05:00
shenleban tongying
b3b740854a
Unify trackClipboardChanges and enableScanPopupAction
...
* There is no difference between those two on Windows and MacOS which only support clipboard (Ctrl+C) scanning
* Q_WS_X11 was defined on Qt4, and it causes the super weird trackClipboardChanges to occur on Windows
2022-11-19 10:30:31 -05:00
shenleban tongying
edbc4d32cd
Remove enableScanPopup: Let Scan popup's 💡 on navBar always visible
2022-11-19 09:25:53 -05:00
shenleban tongying
92bdec7119
Rename QAction * enableScanPopup
...
There is a var named exactly the same used in the same file!
2022-11-19 09:04:04 -05:00
Xiao YiFang
8e4c326341
Revert "opt: rewrite ctrl+C+C logic ,use clipboard not global hot key ( #139 )"
...
This reverts commit a66bdf2962
.
2022-09-11 09:36:52 +08:00
xiaoyifang
a66bdf2962
opt: rewrite ctrl+C+C logic ,use clipboard not global hot key ( #139 )
...
* opt: rewrite ctrl+C+C logic ,use clipboard not global hot key
2022-09-08 19:58:52 +08:00
Xiao YiFang
f542642c85
opt: inspector
2022-08-19 19:56:49 +08:00
Xiao YiFang
6a7e54c165
fix:add log to clipboard datachange signal
...
fix:add log to clipboard datachange signal
2022-08-14 23:16:51 +08:00
Xiao YiFang
74c0da034b
inspector variable change
2022-08-09 20:29:59 +08:00
Xiao YiFang
fa64d450ea
opt: optimize the function in tracking clipboard in trayicon
2022-08-02 22:27:14 +08:00
Xiao YiFang
7eb603a9c5
feat: expose clipboard tracking function
2022-06-24 21:20:16 +08:00
Xiao YiFang
f015ff555f
feature: save bookmark to favorite panel
...
reuse fulltext match to implement this bookmark feature
2022-06-02 08:16:01 +08:00
Xiao YiFang
fe1fd6b933
fix: webengineview font lose affect after restart the application
2022-05-23 20:14:26 +08:00
Xiao YiFang
a7ba9e4b36
opt:use acceptNavigationRequest instead of weburlinterceptor
2022-05-20 18:01:41 +08:00
Xiao YiFang
459b684e5b
opt: make the inspect window's instance to exactly only one.
2022-05-20 17:31:47 +08:00
Xiao YiFang
e6ab87ca73
fix:add ifr local scheme
...
due to iframe security policy and x-frame-option .
the website online dictionary can not work in qt 5.15.2+ version.
this is a workaround to pass through the restriction.
2022-05-15 22:54:26 +08:00
xiaoyifang
eaf76fbcb6
clean code:remove useless code
...
the maximumwindowssize was only set value in the ~MainWindows() which means
it can not be saved into the config file.
2022-04-19 22:22:03 +08:00
xiaoyifang
c664ac315c
dictionary group ,id match performance improve .
...
use qmap to replace the double for loop check.
2022-03-14 00:17:34 +08:00
xiaoyifang
5d8b410a8b
fix: exception with PopupFocusReason
2022-03-11 22:26:38 +08:00
xiaoyifang
23d833fbb8
6.2: currentIndexChanged signal is changed.
2022-03-11 22:00:53 +08:00
xiaoyifang
7b5511a7bd
upgrade to qt6.2
2022-03-11 22:00:45 +08:00
xiaoyifang
84175279ab
fix: link click in popup windows ,translation should be in popup dialog too
2022-02-14 23:48:05 +08:00
xiaoyifang
0c94406e2a
fix merge conflict with feature/deprecated
2022-02-03 17:50:47 +08:00
yifang
63626bde13
improvement: refactor code,move ignoreKeyEvent method to utils.
2022-01-14 22:58:19 +08:00
yifang
9a4b119976
improvement:refactor code ,ignore key event extract to method
2022-01-13 20:39:58 +08:00
xiaoyifang
13fdf08450
improve:foundDictsPane refresh logic
2022-01-09 12:54:50 +08:00
xiaoyifang
bd6cc8b9c9
fix: resource scheme handler received finished signal twice,more likely to crash the webengine.
2022-01-09 09:52:40 +08:00
yifang
46b4151cc4
improve: replace all the deprecated method before 5.15
2022-01-08 22:08:23 +08:00
xiaoyifang
cb5ac438fe
bword link in Hunspell dictionary.
2021-12-13 22:46:02 +08:00
Igor Kushnir
baff02a14b
Make MainWindow::setTranslateBoxTextAnd*() harder to misuse
...
Most callers of these member functions should escape wildcard symbols in
the `text` argument. Yet nothing in the functions' signatures suggested
such escaping. With the added enum WildcardPolicy argument, the callers
are forced to decide whether or not the wildcards should be escaped.
2021-06-30 20:01:40 +03:00