我正在编写一个与python接口的Qt程序。我必须将Cype类的C++对象直接发送到Python
1) Need to create a Python Module ( let say Shape )
2) Need to add a Python Class PCircle in Shape module which is equivalent to C++
Circle class.
3) Do the calculation on Python Environment ( Python 3.4)
4) Populate the data into PCircle Object in Python
5) Send it back to Qt Environment by storing the PCircle values to C++ Circle Object
and show the changes in real time in display
这就是我将如何描述我的问题,我的目标是做什么,如果有什么不清楚,请评论。你知道吗
谢谢
代码
代码
my_circle = PCircle(x,y,radius)
相关问题 更多 >
编程相关推荐