This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| from PySide import QtCore, QtGui, QtDeclarative | |
| import argparse | |
| from PySide.QtWebKit import QWebPluginFactory, QWebView, QWebSettings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Simplified version of original forum post: | |
| http://tech-artists.org/forum/showthread.php?4547-Passing-uchar-pointer-with-PySide-in-Maya | |
| """ | |
| import ctypes | |
| import maya.OpenMaya as om | |
| from PySide import QtCore, QtGui | |
| # Build a test MImage |