4 Commits

Author SHA1 Message Date
IceArmy 65563ca89d - Automatically convert Qt types by using api 2
* Convert all QString and QVariant types
* Replaced all references to QString with Python str object

- Fixed bug where phantom.version didn't work
- Don't cd to scripts directory anymore (but loadScript still loads scripts from directory relative to it)
- clipRect.setter and viewportSize.setter both have improved system now.
* if you miss or neglect to specify an attritube (width, height, etc), there will no longer be an exception. it will be handled gracefully, and whatever you didn't specify won't be changed
* if you enter a negative value on any of them, it'll be reset to 0 (except for phantom.clipRect top and left) and you won't loose your attempted changes

- Cleaned up Webpage's javaScriptConsoleMessage print JavaScript (sourceID)
- Allow viewportSize to be set to 0 (default)
- General cleanup
2011-04-27 16:36:45 -07:00
IceArmy ccde5cc418 Cleanup imports / removed very bad "import *" 2011-04-12 18:20:17 -07:00
IceArmy 62d798ddf8 Amend copyright date 2011-03-18 14:35:23 -07:00
IceArmy a731e6c4d7 Added Python PhantomJS project 2011-03-15 22:18:01 -07:00