这段话如何翻译?关于PyQt的

来源:百度知道 编辑:UC知道 时间:2024/06/21 22:51:58
If the user has changed the category, we must reapply the style sheet to force the widgets to be restyled. This ensures that the background of the company line edit is correctly set to white or yellow depending on whether it is mandatory. Unfortunately, on slower machines, there is a slight flicker when the style sheet is reset—for this reason we have slightly long-winded code to ensure that the style sheet is reapplied only if necessary. Reapplying a style sheet is not necessary for changes to “pseudostates” such as enabled, checked, and hover.

如果用户已经改变了3个分类,我们必须重新样式表,迫使构件将改观。这样可以确保的背景,该公司行编辑是正确的设置为白色或黄色,视乎它是否是强制性的。不幸的是,在速度较慢的机器,有轻微闪烁时,样式表是重置ª为此,我们有稍微长气守则,以确保该样式表是重新只,如果必要的。 reapplying样式表是没有必要的更改° pseudostates ±如启用,检查,并悬停。