Commit graph

19 commits

Author SHA1 Message Date
yifang de3d7b8b19 clean code:remove QT_VERSION check 2021-12-16 19:59:00 +08:00
Igor Kushnir e6710a6372 Remove artificial 1000-pixel CompletionList width limit
When translate line is wider than 1000 pixels, its right end is not
aligned with its completion list. This looks ugly and complicates
scrolling through completions after clicking on Drop-down arrow.
2019-02-03 18:25:26 +02:00
Abs62 a4a4012255 A little refactor for show/hide completion list in the translate box 2017-09-08 16:43:41 +03:00
Timon Wong d057752c74 Change Q_WS_MAC to Q_OS_MAC, Change Q_WS_WIN* to Q_OS_WIN* 2013-05-31 12:28:29 +08:00
Tvangeste bb3e490901 Fixed #221: The words list is not the top panel (on Linux). 2013-02-16 16:38:19 +01:00
Tvangeste a46b17924d Additional fix for #205. 2013-02-07 19:16:19 +01:00
Tvangeste 404a16442b Fixed #205: Visual glitches in the new UI on KDE/Linux. 2013-02-07 16:24:24 +01:00
Tvangeste 53e1591e59 Fixed #206: Suggestion list should not be bigger than the main window (on Linux). 2013-02-01 11:17:23 +01:00
Tvangeste 735a35523e Make the suggestion list to be internal instead of top-level window, on *nix.
This should solve the conflict between the Qt::Popup-styled Scan window and
the suggestion list.

Tested on Windows 7, Lubuntu (XFCE) and Mint (KDE).
2013-01-28 14:41:30 +01:00
Tvangeste 9f46028299 Properly hide the suggestions list in some cases. 2013-01-28 13:18:13 +01:00
Tvangeste ffa9f5778b Fixed #192: Dynamically adjust the suggestion list in the new UI. 2013-01-27 23:12:00 +01:00
Tvangeste 3258ad89f5 Fixed #191: New UI in the scan popup, replace 3 separate widgets with the translate box. 2013-01-25 16:42:44 +01:00
Tvangeste 3ed7772996 History Pane rewrite.
The new History Pane features proper mouse and keyboard navigation,
multiple selection and ability to remove the selected entries,
plus a dynamic context menu. Additionaly, the History's size is now
configurable in Preferences.

Use Ctrl+H to show/hide the History Pane.

History Pane's titlebar can be styled via #historyPaneTitleBar, e.g.:

/* Colored header for the History Pane */
  background: lightsteelblue;
  margin: 2px;
}

Closes #162: Make History sidebar independent from the Search Pane
Closes #159: "Send to main window" button from Pop-Up window does nothing when History is shown
Closes #158: Preserve History mode after restart
Closes #157: History with new UI: New words are not added when History is shown
Closes #156: History with new UI: Extra Groups widget in History is shown
Closes #155: History with new UI: Arrow keys navigation in History doesn't work
Closes #154: History with new UI: DEL key does not delete the current history entry
2013-01-17 10:08:53 +01:00
Tvangeste 90e01d1645 More reliable transfer of focus from the suggestions list back to the translate line.
Fixes some problems when focus is lost, transferred to random other components, like
buttons or tabbars.
2013-01-11 12:47:22 +01:00
Tvangeste fb33faabbc Fixed Issue #149: ESC does not work in the input dropdown field of the new UI 2013-01-02 10:55:23 +01:00
Tvangeste 76ffa2e07e Remove "Options" tooltip since there are no options for now. 2012-12-25 21:44:26 +01:00
Tvangeste 73d72c1db4 New UI mode: Fixed problems with suggestion list staying on top. 2012-12-25 20:46:26 +01:00
Tvangeste 02315df26d New UI: Hide the suggestions list when the window is not active. 2012-12-25 13:46:38 +01:00
Tvangeste da13998518 Updated UI: Browser-like interface vs search in the sidebar.
Users now have a choice:

* The new way: The field to enter words located like in all browsers, in the toolbar.
* The old way: to search in the sidebar.

Both UI modes are supported and can be switched between via View -> Search Pane menu.
2012-12-24 12:30:03 +01:00