User contributions
Jump to navigation
Jump to search
- 02:13, 8 October 2023 diff hist -3 Contribute to this Wiki/zh-cn Created page with "== 翻译 =="
- 02:13, 8 October 2023 diff hist +12 N Translations:Contribute to this Wiki/12/zh-cn Created page with "== 翻译 ==" current
- 02:13, 8 October 2023 diff hist +1,671 N Contribute to this Wiki/zh-cn Created page with "需要成为一名翻译才能使用翻译工具,如果愿意的话,请与 Google Group 上的 fcitx-dev 交流。"
- 02:13, 8 October 2023 diff hist +118 N Translations:Contribute to this Wiki/13/zh-cn Created page with "需要成为一名翻译才能使用翻译工具,如果愿意的话,请与 Google Group 上的 fcitx-dev 交流。" current
- 02:02, 8 October 2023 diff hist +147 Contribute to this Wiki Marked this version for translation current
- 03:46, 19 April 2023 diff hist -12 Develop an simple input method/zh-cn
- 03:46, 19 April 2023 diff hist -12 Translations:Develop an simple input method/87/zh-cn current
- 03:46, 19 April 2023 diff hist +154 N Translations:Develop an simple input method/87/zh-cn Created page with "readAsIni and safeSaveAsIni are helper functions to read/save Configuration object from/to the Fcitx ini-format. The file is saved under $XDG_CONFIG_HOME."
- 03:45, 19 April 2023 diff hist +218 N Translations:Develop an simple input method/86/zh-cn Created page with "const Configuration *getConfig() const override { return &config_; } void setConfig(const RawConfig &config) override { config_.load(config, true); safeSav..." current
- 03:45, 19 April 2023 diff hist +140 N Translations:Develop an simple input method/85/zh-cn Created page with "<nowiki> static constexpr char configFile[] = "conf/clipboard.conf"; void reloadConfig() override { readAsIni(config_, configFile); }" current
- 03:45, 19 April 2023 diff hist -34 Develop an simple input method/zh-cn Created page with "通常,您将使用 FCITX_CONFIGURATION 宏定义 Configuration 的子类。第一个参数是类的名称,然后您只需添加 [https://codedocs.xyz/fcitx/fcitx5/classfc..."
- 03:45, 19 April 2023 diff hist +278 N Translations:Develop an simple input method/84/zh-cn Created page with "通常,您将使用 FCITX_CONFIGURATION 宏定义 Configuration 的子类。第一个参数是类的名称,然后您只需添加 [https://codedocs.xyz/fcitx/fcitx5/classfc..." current
- 03:45, 19 April 2023 diff hist +674 N Translations:Develop an simple input method/83/zh-cn Created page with "<nowiki>FCITX_CONFIGURATION( ClipboardConfig, KeyListOption triggerKey{this, "TriggerKey",..." current
- 03:45, 19 April 2023 diff hist -21 Develop an simple input method/zh-cn Created page with "如果在插件注册文件中将 Configurable 字段设置为 True,则会调用此类方法来检索信息,Configtool 会为其生成 UI。"
- 03:45, 19 April 2023 diff hist +144 N Translations:Develop an simple input method/82/zh-cn Created page with "如果在插件注册文件中将 Configurable 字段设置为 True,则会调用此类方法来检索信息,Configtool 会为其生成 UI。" current
- 03:45, 19 April 2023 diff hist -43 Develop an simple input method/zh-cn Created page with "= 配置 = 虽然区位码并不真正需要这个功能,因为它是一个非常常见的用例,所以它会在本节中介绍。该插件有几个与配置相关的不..."
- 03:45, 19 April 2023 diff hist +641 N Translations:Develop an simple input method/81/zh-cn Created page with "= 配置 = 虽然区位码并不真正需要这个功能,因为它是一个非常常见的用例,所以它会在本节中介绍。该插件有几个与配置相关的不..." current
- 03:44, 19 April 2023 diff hist -37 Develop an simple input method/zh-cn Created page with "这种机制使得重用其他插件实现的功能和共享代码变得容易。比如 classicui 从 xcb addon 和 wayland addon 查询 X11/wayland 连接。"
- 03:44, 19 April 2023 diff hist +158 N Translations:Develop an simple input method/80/zh-cn Created page with "这种机制使得重用其他插件实现的功能和共享代码变得容易。比如 classicui 从 xcb addon 和 wayland addon 查询 X11/wayland 连接。" current
- 03:44, 19 April 2023 diff hist -19 Develop an simple input method/zh-cn Created page with "第一个参数应与插件名称相同,第二个参数是获取 AddonManager 对象的表达式。"
- 03:44, 19 April 2023 diff hist +101 N Translations:Develop an simple input method/79/zh-cn Created page with "第一个参数应与插件名称相同,第二个参数是获取 AddonManager 对象的表达式。" current
- 03:44, 19 April 2023 diff hist +162 N Translations:Develop an simple input method/78/zh-cn Created page with "private: FCITX_ADDON_DEPENDENCY_LOADER(chttrans, instance_->addonManager()); FCITX_ADDON_DEPENDENCY_LOADER(fullwidth, instance_->addonManager());</nowiki>" current
- 03:44, 19 April 2023 diff hist +157 N Translations:Develop an simple input method/77/zh-cn Created page with "<nowiki> FCITX_ADDON_DEPENDENCY_LOADER(quickphrase, instance_->addonManager()); FCITX_ADDON_DEPENDENCY_LOADER(punctuation, instance_->addonManager());" current
- 03:44, 19 April 2023 diff hist +296 N Translations:Develop an simple input method/76/zh-cn Created page with "When using other addons in the code, there is a handy macro <code>FCITX_ADDON_DEPENDENCY_LOADER</code> that will handle the addon loading at the runtime. When it is called for..." current
- 03:44, 19 April 2023 diff hist -18 Develop an simple input method/zh-cn Created page with "它会自动为您的插件生成所需的 CMake 配置。"
- 03:44, 19 April 2023 diff hist +58 N Translations:Develop an simple input method/75/zh-cn Created page with "它会自动为您的插件生成所需的 CMake 配置。" current
- 03:43, 19 April 2023 diff hist +162 N Translations:Develop an simple input method/74/zh-cn Created page with "<nowiki>fcitx5_export_module(QuickPhrase TARGET quickphrase BUILD_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}" HEADERS quickphrase_public.h INSTALL)</nowiki>" current
- 03:43, 19 April 2023 diff hist -9 Develop an simple input method/zh-cn Created page with "如果你想实现这样的模块,你可以使用下面的CMake宏"
- 03:43, 19 April 2023 diff hist +68 N Translations:Develop an simple input method/73/zh-cn Created page with "如果你想实现这样的模块,你可以使用下面的CMake宏" current
- 03:43, 19 April 2023 diff hist -1 Develop an simple input method/zh-cn Created page with "我们在上面添加 find_package 行以查找 Punctuation 和 QuickPhrase 模块的依赖项。"
- 03:43, 19 April 2023 diff hist +97 N Translations:Develop an simple input method/72/zh-cn Created page with "我们在上面添加 find_package 行以查找 Punctuation 和 QuickPhrase 模块的依赖项。" current
- 03:43, 19 April 2023 diff hist +87 N Translations:Develop an simple input method/71/zh-cn Created page with "<nowiki>find_package(Fcitx5Module REQUIRED COMPONENTS Punctuation QuickPhrase)</nowiki>" current
- 03:43, 19 April 2023 diff hist -35 Develop an simple input method/zh-cn Created page with "Fcitx 提供了一种机制来调用其他插件的功能,而无需直接链接到它们。还有一些易于使用的 CMake 宏来查找插件依赖项。"
- 03:43, 19 April 2023 diff hist +157 N Translations:Develop an simple input method/70/zh-cn Created page with "Fcitx 提供了一种机制来调用其他插件的功能,而无需直接链接到它们。还有一些易于使用的 CMake 宏来查找插件依赖项。" current
- 03:43, 19 April 2023 diff hist -10 Develop an simple input method/zh-cn Created page with "= 重用其他插件的功能 = 你可以参考 github 中 [https://github.com/fcitx/fcitx5-quwei/commit/b01bf8c4344b50b496593b4d9cf8be49cd1ce9c2 第三次提交] 的代码。"
- 03:43, 19 April 2023 diff hist +175 N Translations:Develop an simple input method/69/zh-cn Created page with "= 重用其他插件的功能 = 你可以参考 github 中 [https://github.com/fcitx/fcitx5-quwei/commit/b01bf8c4344b50b496593b4d9cf8be49cd1ce9c2 第三次提交] 的代码。" current
- 03:43, 19 April 2023 diff hist -78 Develop an simple input method/zh-cn Created page with "此外,一个按键事件有 3 种不同形式的 Key 对象。通常输入法引擎可能只想考虑 key() 属性。origKey() 和 rawKey() 属性使用较少。键属性..."
- 03:43, 19 April 2023 diff hist +453 N Translations:Develop an simple input method/68/zh-cn Created page with "此外,一个按键事件有 3 种不同形式的 Key 对象。通常输入法引擎可能只想考虑 key() 属性。origKey() 和 rawKey() 属性使用较少。键属性..." current
- 03:42, 19 April 2023 diff hist -40 Develop an simple input method/zh-cn Created page with "== 按键事件处理 == 最常见的用例是为您打算处理的所有按键事件调用 filterAndAccept()。此外,对于大多数输入法,按键释放是不相关的..."
- 03:42, 19 April 2023 diff hist +619 N Translations:Develop an simple input method/67/zh-cn Created page with "== 按键事件处理 == 最常见的用例是为您打算处理的所有按键事件调用 filterAndAccept()。此外,对于大多数输入法,按键释放是不相关的..." current
- 03:41, 19 April 2023 diff hist -96 Develop an simple input method/zh-cn Created page with "另一件需要考虑的事情是把光标放在哪里。虽然在预编辑中将光标显示在其实际位置可能很自然,但输入面板窗口也会显示在客户端..."
- 03:41, 19 April 2023 diff hist +713 N Translations:Develop an simple input method/66/zh-cn Created page with "另一件需要考虑的事情是把光标放在哪里。虽然在预编辑中将光标显示在其实际位置可能很自然,但输入面板窗口也会显示在客户端..." current
- 03:41, 19 April 2023 diff hist +4 Develop an simple input method/zh-cn Created page with "在某些版本的 iOS 中,其拼音输入法使用其客户端预编辑的方式可能会导致混淆:用户键入“nihao”,而客户端预编辑显示为分段拼音..."
- 03:41, 19 April 2023 diff hist +349 N Translations:Develop an simple input method/65/zh-cn Created page with "在某些版本的 iOS 中,其拼音输入法使用其客户端预编辑的方式可能会导致混淆:用户键入“nihao”,而客户端预编辑显示为分段拼音..." current
- 03:40, 19 April 2023 diff hist -93 Develop an simple input method/zh-cn Created page with "在使用客户端预编辑时,您可能还需要考虑一些事项。由于 toolkit 中的实现不同,toolkit 可能会选择在应用程序失去焦点时立即提交..."
- 03:40, 19 April 2023 diff hist +527 N Translations:Develop an simple input method/64/zh-cn Created page with "在使用客户端预编辑时,您可能还需要考虑一些事项。由于 toolkit 中的实现不同,toolkit 可能会选择在应用程序失去焦点时立即提交..." current
- 03:40, 19 April 2023 diff hist -58 Develop an simple input method/zh-cn Created page with "== 预编辑 == 预编辑可以指代两种不同的用户界面元素,一种是嵌入在应用程序中的预编辑,在 Fcitx 中通常称为“客户端预编辑”。..."
- 03:40, 19 April 2023 diff hist +394 N Translations:Develop an simple input method/63/zh-cn Created page with "== 预编辑 == 预编辑可以指代两种不同的用户界面元素,一种是嵌入在应用程序中的预编辑,在 Fcitx 中通常称为“客户端预编辑”。..." current
- 03:39, 19 April 2023 diff hist -8 Develop an simple input method/zh-cn Created page with "区位码中,QuweiCandidateList 将实现一个 PageableCandidate 接口,该接口允许在输入法面板中显示上一页/下一页按钮。"
- 03:39, 19 April 2023 diff hist +147 N Translations:Develop an simple input method/62/zh-cn Created page with "区位码中,QuweiCandidateList 将实现一个 PageableCandidate 接口,该接口允许在输入法面板中显示上一页/下一页按钮。" current
- 03:39, 19 April 2023 diff hist -69 Develop an simple input method/zh-cn Created page with "== 候选词列表 == 在 Fcitx 5 中,候选列表是 InputPanel 类的一部分,存储为 shared_ptr 以避免选择候选触发用户界面更新时的生命周期问题..."
- 03:39, 19 April 2023 diff hist +536 N Translations:Develop an simple input method/61/zh-cn Created page with "== 候选词列表 == 在 Fcitx 5 中,候选列表是 InputPanel 类的一部分,存储为 shared_ptr 以避免选择候选触发用户界面更新时的生命周期问题..." current
- 03:39, 19 April 2023 diff hist -42 Develop an simple input method/zh-cn Created page with "在某些情况下,也可以注销工厂并重新注册以“刷新”所有内部状态。"
- 03:39, 19 April 2023 diff hist +93 N Translations:Develop an simple input method/60/zh-cn Created page with "在某些情况下,也可以注销工厂并重新注册以“刷新”所有内部状态。" current
- 03:38, 19 April 2023 diff hist +59 N Translations:Develop an simple input method/59/zh-cn Created page with "<nowiki> auto *state = ic->propertyFor(&factory_);</nowiki>" current
- 03:38, 19 April 2023 diff hist -5 Develop an simple input method/zh-cn Created page with "为了从输入上下文中获取状态对象,您可以像这样简单地使用工厂对象:"
- 03:38, 19 April 2023 diff hist +96 N Translations:Develop an simple input method/58/zh-cn Created page with "为了从输入上下文中获取状态对象,您可以像这样简单地使用工厂对象:" current
- 03:38, 19 April 2023 diff hist -30 Develop an simple input method/zh-cn Created page with "工厂类带有一个方便的 C++ 模板,[https://codedocs.xyz/fcitx/fcitx5/group__FcitxCore.html#ga9e60042d1f671a6fa31ea04bb4961ec9 FactoryFor]。这实际上是 [https://..."
- 03:38, 19 April 2023 diff hist +532 N Translations:Develop an simple input method/57/zh-cn Created page with "工厂类带有一个方便的 C++ 模板,[https://codedocs.xyz/fcitx/fcitx5/group__FcitxCore.html#ga9e60042d1f671a6fa31ea04bb4961ec9 FactoryFor]。这实际上是 [https://..." current
- 03:38, 19 April 2023 diff hist -29 Develop an simple input method/zh-cn Created page with "== 存储不同输入上下文的状态 == Fcitx 允许不同的输入上下文保持不同的状态。状态通常是指部分类型化的文本和所有其他关联的数据..."
- 03:38, 19 April 2023 diff hist +1,213 N Translations:Develop an simple input method/56/zh-cn Created page with "== 存储不同输入上下文的状态 == Fcitx 允许不同的输入上下文保持不同的状态。状态通常是指部分类型化的文本和所有其他关联的数据..." current
- 03:35, 19 April 2023 diff hist -9 Develop an simple input method/zh-cn Created page with "可以参考 github 中 [https://github.com/fcitx/fcitx5-quwei/commit/b9b047abb46fa0f9c42a0be82941b65b35b277eb 第二笔提交] 的代码。"
- 03:35, 19 April 2023 diff hist +140 N Translations:Develop an simple input method/55/zh-cn Created page with "可以参考 github 中 [https://github.com/fcitx/fcitx5-quwei/commit/b9b047abb46fa0f9c42a0be82941b65b35b277eb 第二笔提交] 的代码。" current
- 03:35, 19 April 2023 diff hist +3 Develop an simple input method/zh-cn
- 03:35, 19 April 2023 diff hist +3 Translations:Develop an simple input method/33/zh-cn current
- 03:34, 19 April 2023 diff hist +4 Develop an simple input method/zh-cn Created page with "= 实现输入法逻辑 = 区位码的基本逻辑是键入 4 位数的区位代码。区位码可以看成区码 xx 和位码 yy。区位码到GB2312的映射是(0xA0 + 区..."
- 03:34, 19 April 2023 diff hist +337 N Translations:Develop an simple input method/54/zh-cn Created page with "= 实现输入法逻辑 = 区位码的基本逻辑是键入 4 位数的区位代码。区位码可以看成区码 xx 和位码 yy。区位码到GB2312的映射是(0xA0 + 区..." current
- 03:33, 19 April 2023 diff hist +20 Develop an simple input method/zh-cn Created page with "从这里可以知道您的输入法引擎现在可以正常工作了。"
- 03:33, 19 April 2023 diff hist +72 N Translations:Develop an simple input method/53/zh-cn Created page with "从这里可以知道您的输入法引擎现在可以正常工作了。" current
- 03:32, 19 April 2023 diff hist +1,036 N Translations:Develop an simple input method/52/zh-cn Created page with "<nowiki>I2021-11-16 12:29:32.352702 quwei.cpp:12] Key(f states=0) isRelease=1 I2021-11-16 12:29:32.389935 quwei.cpp:12] Key(s states=0) isRelease=0 I2021-11-16 12:29:32.413689..." current
- 03:32, 19 April 2023 diff hist -2 Develop an simple input method/zh-cn Created page with "切换到区位码输入法后,应用程序中的按键将使 Fcitx 5 打印出如下内容:"
- 03:32, 19 April 2023 diff hist +96 N Translations:Develop an simple input method/51/zh-cn Created page with "切换到区位码输入法后,应用程序中的按键将使 Fcitx 5 打印出如下内容:" current
- 03:32, 19 April 2023 diff hist +19 Develop an simple input method/zh-cn Created page with "现在您可以使用 <code>fcitx5 -rd</code> 重新启动 fcitx5,并使用 配置工具(Fcitx 5) 将 Quwei 添加到您的..."
- 03:32, 19 April 2023 diff hist +185 N Translations:Develop an simple input method/50/zh-cn Created page with "现在您可以使用 <code>fcitx5 -rd</code> 重新启动 fcitx5,并使用 配置工具(Fcitx 5) 将 Quwei 添加到您的..." current
- 03:31, 19 April 2023 diff hist +196 N Translations:Develop an simple input method/49/zh-cn Created page with "<nowiki>-- Install configuration: "Debug" -- Installing: /usr/lib/fcitx5/quwei.so -- Installing: /usr/share/fcitx5/addon/quwei.conf -- Installing: /usr/share/fcitx5/inputmetho..." current
- 03:31, 19 April 2023 diff hist -15 Develop an simple input method/zh-cn Created page with "如果一切正常,安装命令应该打印出如下内容:"
- 03:31, 19 April 2023 diff hist +63 N Translations:Develop an simple input method/48/zh-cn Created page with "如果一切正常,安装命令应该打印出如下内容:" current
- 03:31, 19 April 2023 diff hist +227 N Translations:Develop an simple input method/47/zh-cn Created page with "<nowiki> mkdir -p build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug # use Debug for easy debugging with gdb make # or ninja, depending on your syste..." current
- 03:31, 19 April 2023 diff hist -13 Develop an simple input method/zh-cn Created page with "这里假设您的 fcitx 安装前缀是 /usr。构建这个项目的命令是:"
- 03:31, 19 April 2023 diff hist +81 N Translations:Develop an simple input method/46/zh-cn Created page with "这里假设您的 fcitx 安装前缀是 /usr。构建这个项目的命令是:" current
- 03:31, 19 April 2023 diff hist +16 Develop an simple input method/zh-cn Created page with "在这里,我们使用类似于宏 <code>FCITX_INFO()</code> 的 iostream 将我们按下的每个键写入日志。"
- 03:31, 19 April 2023 diff hist +118 N Translations:Develop an simple input method/45/zh-cn Created page with "在这里,我们使用类似于宏 <code>FCITX_INFO()</code> 的 iostream 将我们按下的每个键写入日志。" current
- 03:31, 19 April 2023 diff hist -39 Develop an simple input method/zh-cn Created page with "一个输入法引擎的最小植入只需要包含keyEvent函数的实现。"
- 03:31, 19 April 2023 diff hist +77 N Translations:Develop an simple input method/44/zh-cn Created page with "一个输入法引擎的最小植入只需要包含keyEvent函数的实现。" current
- 03:30, 19 April 2023 diff hist -26 Develop an simple input method/zh-cn Created page with "当实现 Fcitx 插件时,它应该是 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInstance.html AddonInstance] 的子类。AddonInstance 的实例化是通过 [ht..."
- 03:30, 19 April 2023 diff hist +443 N Translations:Develop an simple input method/43/zh-cn Created page with "当实现 Fcitx 插件时,它应该是 [https://codedocs.xyz/fcitx/fcitx5/classfcitx_1_1AddonInstance.html AddonInstance] 的子类。AddonInstance 的实例化是通过 [ht..." current
- 03:30, 19 April 2023 diff hist +49 N Translations:Develop an simple input method/42/zh-cn Created page with "FCITX_ADDON_FACTORY(QuweiEngineFactory);</nowiki>" current
- 03:30, 19 April 2023 diff hist +197 N Translations:Develop an simple input method/41/zh-cn Created page with "void QuweiEngine::keyEvent(const fcitx::InputMethodEntry& entry, fcitx::KeyEvent& keyEvent) { FCITX_UNUSED(entry); FCITX_INFO() << keyEvent.key() << " isRelease=" << k..." current
- 03:30, 19 April 2023 diff hist +145 N Translations:Develop an simple input method/40/zh-cn Created page with "<nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #include "quwei.h"" current
- 03:30, 19 April 2023 diff hist 0 Develop an simple input method/zh-cn Created page with "版本 1 的 quwei.cpp"
- 03:30, 19 April 2023 diff hist +22 N Translations:Develop an simple input method/39/zh-cn Created page with "版本 1 的 quwei.cpp" current
- 03:30, 19 April 2023 diff hist +41 N Translations:Develop an simple input method/38/zh-cn Created page with "#endif // _FCITX5_QUWEI_QUWEI_H_</nowiki>" current
- 03:30, 19 April 2023 diff hist +203 N Translations:Develop an simple input method/37/zh-cn Created page with "class QuweiEngineFactory : public fcitx::AddonFactory { fcitx::AddonInstance * create(fcitx::AddonManager * manager) override { FCITX_UNUSED(manager); retu..." current
- 03:30, 19 April 2023 diff hist +153 N Translations:Develop an simple input method/36/zh-cn Created page with "class QuweiEngine : public fcitx::InputMethodEngineV2 { void keyEvent(const fcitx::InputMethodEntry & entry, fcitx::KeyEvent & keyEvent) override; };" current
- 03:30, 19 April 2023 diff hist +68 N Translations:Develop an simple input method/35/zh-cn Created page with "#include <fcitx/inputmethodengine.h> #include <fcitx/addonfactory.h>" current
- 03:29, 19 April 2023 diff hist 0 Develop an simple input method/zh-cn Created page with "版本 1 的 quwei.h <nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #ifndef _FCITX5_QUWEI_QUWE..."
- 03:29, 19 April 2023 diff hist +210 N Translations:Develop an simple input method/34/zh-cn Created page with "版本 1 的 quwei.h <nowiki>→* SPDX-FileCopyrightText: 2021~2021 CSSlayer <wengxt@gmail.com> * * SPDX-License-Identifier: BSD-3-Clause *: #ifndef _FCITX5_QUWEI_QUWE..." current
- 03:29, 19 April 2023 diff hist +1 Develop an simple input method/zh-cn
- 03:29, 19 April 2023 diff hist +1 Translations:Develop an simple input method/27/zh-cn current
- 03:29, 19 April 2023 diff hist -3 Develop an simple input method/zh-cn