Qt:在设计器中禁用布局镜像?

发布于 2025-01-05 17:55:51 字数 133 浏览 3 评论 0原文

我的计算机中配置了希伯来语语言环境,由于某种原因,这使得 QT 设计器镜像其整个界面,从右到左对齐。

这太可怕了,让设计师对我来说毫无用处。

有没有办法在运行时使设计器不镜像其 GUI 元素?菜单项或环境变量或其他什么?

I have a hebrew locale configured in my computer and for some reason this makes QT designer mirror its entire interface to be aligned from right to left.

This is horrible and makes the designer useless for me.

Is there a way in run-time to make the designer not mirror its GUI elements? a menu item or an environment variable or something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葬﹪忆之殇 2025-01-12 17:55:51

您是否尝试使用选项“-reverse”运行设计器,这可以解决您的问题。
如果语言环境是“法语”,并且我使用“-reverse”运行,所有布局都会从右到左对齐,所以如果语言环境是“希伯来语”,布局将变成从左到右。

Did you try to run designer with the option "-reverse", that could solve your problem.
If the locale is "french", and I run with "-reverse" all the layouts become right to left aligned, so maybe if the locale is "hebrew", the layouts will become left to right.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文