开发者

Localizing context menus in QT?

What is the best way to localize default context menus in Qt?

An example is the context menu that pops up on right click from the QPlainTex开发者_如何学运维tEdit. This needs to work on PC and Mac.

I know it's possible to iterate over each menu item in a custom menu, and apply translations to each item, but I'm hoping for something more automatic, ideally pulling in a os-native translated context menu.


I suggest using tr. tr

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜