Commit graph

28 commits

Author SHA1 Message Date
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04: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 4f2c8d55aa refactor: port away from extlineedit
* the main feature of extlineedit.cc was having icons on left and right side which is already provided by QLineEdit::addAction after Qt5.2
2023-03-06 09:46:32 +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 7b5511a7bd upgrade to qt6.2 2022-03-11 22:00:45 +08:00
xiaoyifang 0c94406e2a fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
xiaoyifang 7738d35350 high dpi: translateLine icon fixed. 2022-01-25 23:38:14 +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 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