shenleban tongying
8b8ad5d23d
refactor: move all ui related files to /src/ui/
2023-04-17 19:11:58 -04: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
706b156938
Allow editing dictionary groups right from the dictionary bar (Right Click->
...
Edit this group).
2010-05-08 18:02:51 +04:00
Konstantin Isakov
6728671c7d
Populate list of matches in scan popup with results only from enabled
...
dictionaries.
Previously it was listing results from all dictionaries in the current group,
regardless of the dictionary bar.
2010-04-30 13:56:40 +04:00
Konstantin Isakov
a0fda4383a
Implement dictionary bar for scan popup.
...
This dictionary bar operates completely separately from the dictionary bar in
the main window, and has its own set of muted dictionaries. The bar is on the
right of the window by default, but can be moved once the window is pinned
down.
Windows users, please test, this may have some Windows-specific problems.
2010-03-31 00:16:27 +04:00
Konstantin Isakov
acb93b42da
Another scanpopup rework. Simply moving the mouse away would hide it now, no
...
need to move it inside the window first anymore.
2010-01-03 02:26:09 +03:00
Konstantin Isakov
71c4709bad
For scan popup, use the Popup window type under X11, Tool window type under
...
Windows.
Different types fit better under different platforms.
2010-01-02 15:55:34 +03:00
Konstantin Isakov
1094b44d8b
Scanpopup fixes, patch by a forum member "dmdmdm".
...
Some further adjustments were made by me (ikm).
2009-12-27 15:00:59 +03:00
Konstantin Isakov
9ee8210c1f
+ History of search queries implemented.
2009-10-21 19:37:07 +00:00
Konstantin Isakov
64867e9f1b
The following patches made by Dmitry E. Oboukhov applied:
...
* Middle click on the tray icon translates current selection
* Middle click on the main window also translates current selection
* When editing groups, double click on the dictionary adds it to the
current group.
2009-07-31 11:40:54 +00:00
Konstantin Isakov
4723831f5d
+ Dictionary order and inactive dictionaries implemented.
2009-05-18 18:01:50 +00:00
Konstantin Isakov
22fb1d2f5f
+ 'Text Find' implemented.
2009-05-16 11:14:43 +00:00
Konstantin Isakov
57af02224a
*! Fix word pronunciation in scan popup broken by previous commit.
2009-05-14 19:42:04 +00:00
Konstantin Isakov
163d69b230
+ Apply zoom factor to the scan popup as well.
2009-04-30 20:20:05 +00:00
Konstantin Isakov
5efd7c52e1
+ Options to configure global hotkeys added. The clipboard hotkey was added.
...
* On X11, XGrabKey was replaced with the RECORD extension -based solution.
2009-04-21 18:27:26 +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
4e30ba7778
+ The ability to press scan popup modifiers shortly after the selection was
...
made added.
2009-04-11 16:44:14 +00:00
Konstantin Isakov
c7126a0281
+ Ability to play the first audio reference by clicking on the 'Pronounce word'
...
button in main window or in scan popup added. It is also possible to
configure the program to do that automatically.
+ It is now possible to specify which program to use for audio file playback.
2009-04-10 21:07:03 +00:00
Konstantin Isakov
3cafe23d3a
* Clean up scanpopup a bit by removing diacritic and prefix matches lists,
...
replacing them by a simple list of matches, limited to 20 first items.
2009-04-10 15:52:08 +00:00
Konstantin Isakov
aeaad6ad80
+ Introduce a delay before hiding the window after the mouse had left the
...
window for the scan popup, allowing the mouse to come back shortly.
2009-04-10 13:56:38 +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
118034beb8
* For popup, trim both whitespace and punctuation for the input word.
2009-04-09 23:33:37 +00:00
Konstantin Isakov
ccd235e9c3
+ If a word is known by a spellchecker, it now shows up in the word search
...
results. To signify that it's merely a morphological match, it is shown in
italic, unless it was also returned by other dictionaries.
2009-04-09 15:27:34 +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
2264df6716
* Hide groups combobox when there are no groups in scan popup window.
2009-02-08 21:26:35 +00:00
Konstantin Isakov
5068b3b8f3
+ Scan popup can now be turned on and off.
...
+ Tray icon context menu implemented.
2009-02-08 20:20:02 +00:00
Konstantin Isakov
2f27e8d9e6
+ Indicate that the user should be anticipating the result when scan popup
...
is searching for the translation.
2009-02-08 16:50:18 +00:00
Konstantin Isakov
c23e1351f4
+ Smart placement of the popup window implemented.
2009-02-08 16:35:30 +00:00
Konstantin Isakov
61943519c1
* Make the popup window itself be movable; fix the associated with the gripping
...
and moving problems.
2009-02-06 18:43:07 +00:00
Konstantin Isakov
79901d0414
+ Save the popup size across program restarts.
2009-02-06 17:16:33 +00:00
Konstantin Isakov
abc6d30d7c
+ Implement saving and restoring of the last chosen groups.
2009-02-06 17:04:11 +00:00
Konstantin Isakov
2fa0c3b57b
* Popup now autohides in Windows normally.
2009-02-06 13:05:25 +00:00
Konstantin Isakov
5d5a393265
+ Basic preferences and their editing added.
...
+ Basic tray icon support added.
+ Program icon added (one of the Qt Linguist icons, actually).
2009-02-05 20:55:00 +00:00
Konstantin Isakov
cbfa6d2f74
Support for testing key modifiers under Windows added. The default modifier key
...
in Windows build is Ctrl now.
2009-02-05 16:56:57 +00:00
Konstantin Isakov
4bae99aeb5
Mass-update email to point to a @berlios one.
2009-02-05 14:21:47 +00:00
Konstantin Isakov
626934c0cc
Initial support for mouseover feature in Windows added.
2009-02-02 20:28:53 +00:00
Konstantin Isakov
89c2e3318d
Saner choice for the frameless window type; no more window activating which
...
used to unnecessarily steal focus.
2009-02-01 05:15:25 +00:00
Konstantin Isakov
f31693dac9
Ctrl was not the best choice -- use Win instead.
2009-02-01 04:47:34 +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
eb3cb3656d
Disable the noisy unfinished popup window.
2009-01-29 01:17:59 +00:00
Konstantin Isakov
c05781368b
Created /trunk/src and moved everything there.
2009-01-28 20:55:45 +00:00