User contributions
Jump to navigation
Jump to search
- 03:46, 19 April 2023 diff hist -12 Develop an simple input method/zh-cn current
- 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