Guest User

Untitled

a guest
Aug 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. Extending QML with PyQt4
  2. class NewToQML(QObject):
  3. Q_PROPERTY(int root READ num WRITE setNum NOTIFY numChanged REVISION 1)
  4.  
  5. import MyQmlAdditions 1.0
  6. NewToQML {
  7. num: 7;
  8. }
Add Comment
Please, Sign In to add comment