Commit graph

27 commits

Author SHA1 Message Date
Xiao YiFang e32a7a2c94 fix:remove custom treeview class 2023-04-12 22:48:31 +08:00
shenleban tongying 32304d4b15 cleanup: remove all useless #include <QDebug>
All Qt Headers already implicitly included it.
2023-03-21 21:15:14 +08:00
shenleban tongying 07e92e8ac1 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
xiaoyifang b285749a35 Revert "fix: right mouse on the history panel and favorite panel should not trigger the click event."
This reverts commit 80fdb8cb82.
2022-12-01 10:19:48 +08:00
Xiao YiFang f1468a5af4 feature: add support to import txt format file to favorite pannel
fix #198
2022-11-12 12:31:03 +08:00
Xiao YiFang 80fdb8cb82 fix: right mouse on the history panel and favorite panel should not trigger the click event.
which means the word should not send to the mainwindow and translated.
2022-11-05 21:02:33 +08:00
Xiao YiFang f486cd8a69 Merge remote-tracking branch 'gd/master' into staged 2022-11-05 10:01:00 +08:00
Igor Kushnir fc9a48a113 Demote missing favorites file message from warning to debug
This file is never created if the Favorites feature is not used.

Fix a typo along the way: "favorities" => "favorites".
2022-11-04 21:03:48 +03:00
狂风代码 476178cb3c 修复C++20标准编译不通过 2022-04-25 20:27:11 +08:00
YiFang Xiao baf6685618 optimize: qGreater was obsolete use std::less instead 2022-03-20 19:13:50 +08:00
xiaoyifang 0c94406e2a fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
xiaoyifang 9cf5ee8443 high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
yifang 09063ecc5a clean code:
QString::SkipEmptyParts=>Qt::SkipEmptyParts
2021-12-29 22:29:06 +08:00
data-man 278c143a05 Use std::sort in suitable places 2021-02-01 15:00:31 +00:00
Abs62 5559b5fe48 Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
Abs62 3cf4561802 Save Favorites inside commitData() 2018-03-26 17:35:49 +03:00
Abs62 a2dc6d96b6 Remove item from Favorites if one already exist while click on star button in main window 2017-12-07 18:47:53 +03:00
Abs62 1824d9ab02 Change "Add to Favorites" icon if headword is already presented in Favorites 2017-10-23 17:21:43 +03:00
Abs62 eca3d9091b Fix one warning in log 2017-05-31 13:58:58 +03:00
Abs62 e6cd429965 Use custom mime format for internal data exchange in Favorites tree 2017-05-29 18:21:52 +03:00
Abs62 21516284a1 Fix build with "-Werror=format-security" flag (issue #845) 2017-05-26 19:02:42 +03:00
Abs62 caf39bfdb5 Add option for turn on/off confirmation for favorites items deletion 2017-05-17 18:26:32 +03:00
Abs62 13158db3fb Some more fixes and tunes for Favorites
1. Fix crash while multiple deletion of Favorites items
2. Add shortcut "Ctrl+E" for "Add to favorites" action
2017-05-13 20:49:22 +03:00
Abs62 72523dcfb4 Add option to periodical save of Favorites 2017-05-13 13:18:25 +03:00
Abs62 a62839de72 Some fixes and tunes for Favorites
1. Change edit trigger for favorites from "double click" to "click on selected"
2. Don't show pages while multi-selection via Control key
3. Allow add folder via context menu while click on empty space
4. Show headwords without lost of focus on Favorites pane
2017-05-12 22:32:37 +03:00
Abs62 1e34de2dbc Add "Favorites" feature 2017-05-12 17:41:08 +03:00