Commit graph

19 commits

Author SHA1 Message Date
shenleban tongying 0b746ef8eb
Revise how word is getting passed (#736)
* fix: remove InputPhrase

* opt: remove unnecessary InputPhrase

* fix: assignment issue

* fix: add handleInputWord back

* fix: does not need to trim punc

---------

Co-authored-by: YiFang Xiao <yifang.xiao@foxmail.com>
2023-05-29 00:01:54 +08:00
YiFang Xiao 837f8bcaf8 fix: code smell 2023-05-13 12:39:36 +08:00
YiFang Xiao 60d26e0e0f fix: the scanpopup found dictionaries mixed with mainwindows
fix #677
2023-05-13 12:39:36 +08:00
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Konstantin Isakov ceab951fe9 Update year in copyright notices. 2010-05-08 22:59:59 +04:00
Konstantin Isakov c6b9cc0434 When an unsuccessful attempt to look up a phrase or whole sentence is made, the query is splitted into individual words and presented to user as links. Then all the compound expressions (expressions consisting of two or more words) are attempted to be found, and the results are also presented to the user. 2010-03-30 17:41:14 +04:00
Konstantin Isakov e13a4596ae + Dictionary bar, a bar with dictonary icons for the current group, was
implemented. Clicking icons disables corresponding dictionaries. When
  clicking with Shift/Ctrl, a dictionary can be made solo.
  The feature is currently only available in main window only, scan popup
  will be addressed later.
+ 'View' menu introduced. It allows switching toolbars and side pane on/off
  without any arcane knowledge on how to toggle them on/off via RMB.
2009-09-23 18:44:38 +00:00
Konstantin Isakov 05d53409bf + Support for folloing websites' links in-place. The actual link is followed for
the website, while the query word is set to the link's text as used for all
  other dictionaries in the group.
* Some associated cleanup (better scrolling to articles, better external link
  handling).
The changes might cause problems - test!
2009-05-29 19:48:50 +00:00
Konstantin Isakov dc96e29174 *! Awlays set definition's (QWebView) style using Html css, not Qt css. 2009-05-11 15:33:57 +00:00
Konstantin Isakov 8c40c6d50a + Implement switchable display styles. For now 'Default' and 'Lingvo'. 2009-05-11 11:03:36 +00:00
Konstantin Isakov babde3d53d *! Introduce gd::wstring and gd:wchar and switch to them from std::wstring and
wchar_t. This changes nothing on Linux and most other systems, but on Win32
   it causes to use normal UCS-4 strings instead of Win32's usual UTF-16.
2009-04-18 17:20:12 +00:00
Konstantin Isakov 629a138f7e + Dictionary::stemmedMatch() added, and is now used for word suggestions when
no translations were found.
2009-04-17 13:51:50 +00:00
Konstantin Isakov 1160e742cb + Add 'table of contents' navigation into the right-button mouse menu. 2009-04-12 16:22:42 +00:00
Konstantin Isakov 03736c2193 * Give groups numerical ids and switch to use them everywhere instead of names
to identify them.
2009-04-10 12:48:40 +00:00
Konstantin Isakov 7859daaff6 * Major dictionary interface rework. Dictionaries now return Request objects
which can provide results asyncronously, be discarded prematurely etc. This
  work touches just about every piece of exiting code.
+ On top of the new interface, MediaWiki (Wikipedia) support was added.
* Some other small fixes might went along.
2009-03-26 19:00:08 +00:00
Konstantin Isakov 4bae99aeb5 Mass-update email to point to a @berlios one. 2009-02-05 14:21:47 +00:00
Konstantin Isakov 2be1c2b375 Scan popup functionality implemented, among with other small improvements.
For now, the modifier key is hardcoded to be Ctrl.
2009-02-01 00:08:08 +00:00
Konstantin Isakov c05781368b Created /trunk/src and moved everything there. 2009-01-28 20:55:45 +00:00