goldendict-ng/docs/popup.html
2023-03-26 00:13:19 +08:00

36 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- gdhelp_en.qdoc -->
<title>04 Popup window | GoldenDict</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">04 Popup window</h1>
<!-- $$$popup.html-description -->
<div class="descr" id="details">
<p>Besides main GoldenDict window with dictionary articles the small popup window can be used for rapid translation. This window can be called from other applications without switching to main GoldenDict window. It will be popup beside mouse cursor and will be automatically closed when cursor move away from it (if window for some reason don't close just click it and press &quot;Esc&quot; key). If popup window is enabled it will be shown in next cases:</p>
<ul>
<li>a) when hotkey was pressed;</li>
<li>b) (under Windows and MacOS only) when mouse cursor placed over target word and scanning is turned on (scanning turned on/off by <img src="images/wizard.png" alt="" /> button on GoldenDict toolbar or via context menu of tray icon);<p>Note: in some applications scanning may don't work</p>
</li>
<li>c) (under Linux X11 only) when target word was selected and scanning is turned on;</li>
<li>d) when clipboard was changed and scanning is turned on. To use this mode under Windows and MacOS it needs to turn on it via config file.</li>
</ul>
<p>Popup window controls</p>
<p class="centerAlign"><img src="images/popup.png" alt="" /></p><p>1 - combobox to choose current dictionaries group</p>
<p>2 - search line with dropdown matches list</p>
<p>3, 4 - navigation buttons &quot;Forward&quot;/&quot;Backward&quot;</p>
<p>5 - pronunciation button. When it pressed the first pronunciation from articles will be played.</p>
<p>6 - button to transfer word to main window. When it pressed the main GoldenDict window will be activated and translated word will be placed into it search line.</p>
<p>7 - button to transfer word to Favorites (the icon will be blue if such word already presented in Favorites)</p>
<p>8 - turn on/off dictionaries bar button. When it pressed the vertical toolbar with dictionary icons shown at right side of popup window. To exclude dictionary from search you can just release button with it icon on this toolbar. If dictionary bar is turned off such dictionary muting don't work.</p>
<p>9 - pin button. When it pressed the popup window transform to ordinary application window and don't close when cursor moved away from it. In this mode you can resize window as you want. The new size will be preserved for next launch of GoldenDict.</p>
<p>If popup window is pinned the <img src="images/ontop.png" alt="" /> button appears beside pin button. When this button is pressed the window will stay over all other windows.</p>
</div>
<!-- @@@popup.html -->
</body>
</html>