Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 平台对Qt(PySide6)中的QDateTimeEdit控件赋值不成功也不报错 #290

Open
johnjiangw opened this issue Sep 27, 2024 · 1 comment

Comments

@johnjiangw
Copy link

johnjiangw commented Sep 27, 2024

在Windows 平台中,对Qt(PySide6)中的QDateTimeEdit控件赋值不成功也不报错;用Inspect.exe查看到QDateTimeEdit类型的控件的ControlType为UIA_SpinnerControlTypeId,通过python代码win.SpinnerControl(searchDepth=2,foundIndex=1).GetValuePattern().SetValue(’2024-01-10 11:50:00‘)没有任何反映

@johnjiangw johnjiangw changed the title Windows 平台对Qt(pyqt6)中的QDateTimeEdit控件赋值不成功也不报错 Windows 平台对Qt(PySide6)中的QDateTimeEdit控件赋值不成功也不报错 Sep 27, 2024
@bird-9
Copy link

bird-9 commented Nov 6, 2024

我看微信4也是qt写的。 GetValuePattern().Value 根本获取不到值. 你有遇到过吗>? 或许你也可以看看微信4的元素定位和取值

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants