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

朋友 运行起来缺f6模块 #1

Open
ver007 opened this issue Jul 20, 2016 · 4 comments
Open

朋友 运行起来缺f6模块 #1

ver007 opened this issue Jul 20, 2016 · 4 comments

Comments

@ver007
Copy link

ver007 commented Jul 20, 2016

朋友 运行起来缺f6模块

@fans656
Copy link
Owner

fans656 commented Sep 7, 2016

Sorry, 这么久才看到~
现在应该ok了,不过可能还得再装几个模块(bitarray, jinja2之类的,这些直接用pip就好)
f6是我自己写的,加环境变量自己使唤,忘了放上来,囧

@ver007
Copy link
Author

ver007 commented Sep 29, 2016

朋友谢谢你传上来 好人一生平安

@ver007
Copy link
Author

ver007 commented Nov 30, 2016

在/mint-dev-master/mint/_versions/20151201152513 ARP & IP/mint/gui/components.py
components.py这个文件里面有个bug
原来的代码为
offset = val - self.pos()
会导致类型错误不能计算
offset = val.toPointF() - self.pos()
通过toPointF()转换 ,可以更改这个bug

@fans656
Copy link
Owner

fans656 commented Feb 28, 2017

Qt的文档里QGraphicsItem的pos()和itemChange()的参数都是QPointF类型,我这里跑起来也没问题。
可能是版本原因或是别的什么?

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