• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

peony-extensions: Set of extensions for Peony, the UKUI file manager.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

peony-extensions

开源软件地址:

https://gitee.com/ubuntukylin/peony-extensions

开源软件介绍:

peony-extensions

Getting Start

  • Make sure all build dependencies have been installed in your machine. You can reference debian/control for building depends.
  • Create build directory and change to it, then build with cmake. The followcommands will auto build extensions as library.
#cmake ..qmake ..make
  • Put the generated libraries into &&[QT_INSTALL_LIBS]/peony-extensions.

  • Test the extension with peony.

Current extensions

  • terminal, open terminal with right click menu.
  • shared, a share properties page in properties window.
  • admin, open a directory or a file as root with menu.
  • parchives, compress/uncompress files with menu.
  • computer view, a special view for displaying computer:///.
  • send-to-device, provides a directory menu action for sending selected files to mounted device.
  • bluetooth, provides a directory menu action for sneding selected files by bluetooth, depending on ukui-bluetooth.
  • set-wallparper, privides a directory menu action for set desktop background.

binary compatibility

Peony-Extensions strongly relies on Peony library, that means the binary files of those plugins might not compat with Peony when the library updated and some API changed. Sometimes the old plugins will not be loaded, or will make Peony crashed due to call an unmatch method. To avoid the binary compatibility problems, we add a version checkment in latest version both in this project and Peony. The plugins' version infomation are loaded from common.json, this must match to the Peony VERSION marco.

When peony extensions doesn't work or can't be build correctly, please consider using latest Peony library built locally, and rebuild this project again.

Translations

Unlike Peony, Peony Extensions translations job is relatively primitive and crude. The main idea is every plugin translates itself, and compile translations resources with code (qrc).

When you are going to translate peony extensions (I created), here are the mainly steps.

  • use lupdate to generate .ts file for your language, the naming rules reference existing files.
  • use lrelease to publish .ts file to .qm file.
  • modify the project's .qrc file, add your .qm file into recources to be compiled.

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
CleverQQ SDK: CleverQQ SDK发布时间:2022-03-25
下一篇:
vue-music-webapp: vue版本的QQ音乐简易版发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap