那个叫appmenu的补丁进了Qt4.8分支

心之所在 | 2011/06/25

上次有提到过这东西《KWin 标题菜单按钮》,Ubuntu/Kubuntu系已经有在用,前者是配合Unity,后者是用于一个plasma菜单部件menubar。其他发行版得自个给Qt打上appmenu.patch

半月前,补丁整合进4.8的分支,见Qt4.8的记录《Reviewing merge request #1254: Plugin system for QMenuBar》:



– 重构 QMenuBar 把平台相关代码移动到2个新类: QAbstractMenuBarImpl 和 QNativeMenuBarAdapter
– 引入 QAbstractMenuBarImpl 的插件系统

然后就可以用这个插件通过DBus使用菜单:

https://launchpad.net/appmenu-qt

appmenu类似的还有其他:

gtk用的appmenu-gtk

Firefox/Thunderbird的global menubar extension

LibreOffice的LibreOffice menubar plugin

via Aurelien Gateau

 

    泰达希尔-德鲁伊
    Tags: ,

    7 FEEDBACKS

    1. KDE 的 App menu 支持更新 | I, KDE

    Leave a Reply

    Your email address will not be published.

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.