Documentation/PythonScripting ConvertPyQt2PythonQt: Difference between revisions
From Commontk
Jump to navigationJump to search
m (Created page with ' This document aims at describing which steps are required to migrate PyQt code to PythonQt. As an example, we will consider the implementation of PythonQt matplotlib backend.') |
mNo edit summary |
||
Line 1: | Line 1: | ||
This document aims at describing which steps are required to migrate PyQt code to PythonQt. | This document aims at describing which steps are required to migrate PyQt code to PythonQt. | ||
As an example, we will consider the implementation of PythonQt matplotlib backend. | As an example, we will consider the implementation of PythonQt matplotlib backend. | ||
* PyQt should be changed into PythonQt | |||
* QDialog.exec() method isn't available in PythonQt. Use QDialog.open() as a workaround | |||
* QFontDatabase is not available. There is workaround | |||
* There are no equivalent for pyqtSignature, pyqtProperty | |||
* QString is not available. Python string are mapped with QString. |
Latest revision as of 18:40, 1 February 2011
Home < Documentation < PythonScripting ConvertPyQt2PythonQtThis document aims at describing which steps are required to migrate PyQt code to PythonQt.
As an example, we will consider the implementation of PythonQt matplotlib backend.
- PyQt should be changed into PythonQt
- QDialog.exec() method isn't available in PythonQt. Use QDialog.open() as a workaround
- QFontDatabase is not available. There is workaround
- There are no equivalent for pyqtSignature, pyqtProperty
- QString is not available. Python string are mapped with QString.