Commit Graph

88 Commits

Author SHA1 Message Date
Weng Xuetian b7deddd572 Fix fcitx/fcitx5#56
In current implementation, we only create input context when focus in
happens. But when this happens, it is possible input method is not yet
enabled. While is it possible to create ic on enable the input method,
it would be complex to maintain the state there. Try to always create
ic data on focus in for rest of the case.
2020-05-10 09:08:48 -07:00
Weng Xuetian 020552f69e Migrate to SPDX. 2020-05-08 16:28:36 -07:00
Weng Xuetian 7561f994a7 Add static plugin option.
Also remove fcitx-util dependency for Qt4.
2020-05-08 07:46:56 -07:00
Weng Xuetian f50fd5e210 fix the wrong enum value. 2020-05-08 07:25:33 -07:00
Weng Xuetian 070456f71c Get rid of fcitx utils dependency. 2020-05-08 07:14:00 -07:00
Weng Xuetian 65868b7e7c ensure the order of focus in and cursor rect, setFocusGroup. 2019-12-30 23:32:20 -08:00
Weng Xuetian f61d52e3b4 Avoid focus in im disabled object. 2019-12-30 22:50:45 -08:00
Weng Xuetian 5e306c2582 Use QVariant::fromValue. 2019-12-30 10:12:05 -08:00
Weng Xuetian 3715ab4ab2 remove debug message. 2019-11-10 09:14:05 -08:00
Weng Xuetian 8333ab1b7c Use private connection for our im module so we don't conflict with krita.
See also: https://bugs.kde.org/show_bug.cgi?id=408015
2019-11-08 19:55:23 -08:00
Weng Xuetian 71f92f3215 fix build warning 2019-10-22 01:58:38 -07:00
Weng Xuetian 0b55c1fb6d refactor the code style
* m_ -> _
* use override is possible.
* remove unused variable.
2018-03-28 21:13:08 -07:00
Weng Xuetian 6c8913c4b0 Make gui plugin use qt's metadata. 2018-03-19 15:50:54 -07:00
Weng Xuetian bb4ee4624c no need to use quick widget hack anymore. upstream already merged my fix.
See also: https://codereview.qt-project.org/#/c/210307/
2018-01-17 10:13:30 -08:00
Weng Xuetian f5be13b713 fix build and use AUTOUIC. 2017-12-19 18:22:54 -08:00
Weng Xuetian b22f2e953a send password capability 2017-11-15 00:17:40 -08:00
Weng Xuetian beb9c06ee0 Add dbus interface for addons. 2017-11-14 19:07:05 -08:00
Weng Xuetian a4b043ac43 Relicense some to bsd and build add option 2017-11-12 12:14:47 -08:00
Weng Xuetian f19ba8790d Add relative cursor rect support 2017-11-12 11:45:43 -08:00
Weng Xuetian 9c2654cf5f Workaround quickwidget cursor position issue 2017-11-08 16:06:21 -08:00
Weng Xuetian 050fe6ed38 refactor dbus types and add necessary configuration interface for kcm. 2017-10-24 15:38:24 -07:00
Weng Xuetian fad75ab831 adapt change in fcitx-qt5 to workaround qtquickwidget bug. 2017-10-16 21:05:08 -07:00
Weng Xuetian a44e118ff3 use new fcitxwatcher based implementation for proxy. 2017-10-16 18:43:30 -07:00
Weng Xuetian 16972ee69c use our own qtkey.cpp 2017-10-15 22:05:57 -07:00
Weng Xuetian faaf7cef9c add italic support to preedit. 2017-10-06 02:44:53 -07:00
Weng Xuetian 08e9b26973 try to make sure the commitPreedit always goes to last object instead of current one. 2017-10-06 02:27:28 -07:00
Weng Xuetian 4ef19b1d28 fix old spell problem and clean up unused class 2017-10-05 10:26:56 -07:00
Weng Xuetian 7f148b4011 rename underline enum 2017-10-01 18:28:28 -07:00
Weng Xuetian 58661ee137 run clang format. 2017-09-18 21:07:37 -07:00
Weng Xuetian 00e168edf7 add namespace to fcitx5-qt, so fcitx-qt5 and fcitx5-qt can be linked together. 2017-09-18 21:06:54 -07:00
Weng Xuetian fde1417e5c adapt fcitx5-qt against new utf8 api. 2017-08-10 10:17:33 -07:00
Weng Xuetian b9cbf3ed6c clang-format 2017-05-19 09:29:36 -07:00
Weng Xuetian d4eadd84cd add qt4 im module, try our best to unify the code between qt4/qt5 2017-05-18 16:17:20 -07:00
Weng Xuetian e9e02dfe26 fix high dpi position 2017-05-18 14:43:54 -07:00
Weng Xuetian a3d52b7349 fix wrong if check for isRelease 2017-05-17 22:01:15 -07:00
Weng Xuetian 0c47ee1cf0 relicense lgpl 2017-05-12 14:29:32 -04:00
Weng Xuetian 9baea1fe26 run clang-format 2017-05-12 14:04:50 -04:00
Weng Xuetian f14afc0500 qt5 for fcitx5 now works 2017-05-12 13:43:40 -04:00