开发者

weird focus problem in pyqt

I have a gui built using QT and Python using pyqt. I use several widgets linked to methods using the usual signal and slots mechanism. For some widgets like certain push buttons or radio buttons (not all of them ..) after I press the button once and everything works as expected, I cannot focus those buttons anymore. When I move the mouse over and try a click a different control is focused instead and receives the click event. I do not under开发者_高级运维stand what could cause such behavior.


The problem is caused by the Ubuntu 11.04 Unity Desktop, it does not reproduce on the classic Gnome Desktop.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜