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
| import sys | |
| from PySide import QtGui | |
| class Example(QtGui.QWidget): | |
| def __init__(self): | |
| super(Example, self).__init__() | |
| self.initUI() | |
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
| #!/bin/env python | |
| # ------------------------------------------------------------------------------ | |
| # Imports | |
| # ------------------------------------------------------------------------------ | |
| import sys | |
| from PySide import QtCore, QtGui | |
| # ------------------------------------------------------------------------------ | |
| # Open UI |
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
| import sys | |
| data = { | |
| 'MIKE' : ['Great'], | |
| 'SUE' : ['happy'], | |
| 'JAN' : ['sad'] | |
| } | |
| for k, v in data.items(): | |
| print k, v |
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
| import re | |
| from PySide import QtGui, QtCore | |
| from PySide.QtGui import QDialog, QVBoxLayout, QDialogButtonBox, QDateTimeEdit, QApplication | |
| from PySide.QtCore import Qt, QDateTime | |
| class RenameDialog(QDialog): | |
| def __init__(self, parent = None): | |
| super(RenameDialog, self).__init__(parent) |
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
| #!/bin/env python | |
| # ------------------------------------------------------------------------------ | |
| # Imports | |
| # ------------------------------------------------------------------------------ | |
| import sys | |
| from PySide import QtCore, QtGui | |
| # ------------------------------------------------------------------------------ | |
| # Open UI |
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
| import sys | |
| class Animal: | |
| def __init__(self): | |
| print "Animal created" | |
| def whoAmI(self): | |
| print "Animal" | |
| def eat(self): |
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
| import sys | |
| from PySide import QtGui, QtCore | |
| class Example(QtGui.QWidget): | |
| def __init__(self,): | |
| super(Example, self).__init__() | |
| self.initUI() |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.ComponentModel; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; | |
| using System.Threading.Tasks; | |
| namespace DirectoryTree |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.ObjectModel; | |
| using System.ComponentModel; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Runtime.CompilerServices; | |
| using System.Threading.Tasks; | |
| namespace DirectoryTree |
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
| clearlistener() | |
| delete objects | |
| --// create test scene | |
| fn testSceneSetup = | |
| ( | |
| local nodeCount = 100 | |
| for i = 1 to nodeCount do | |
| ( |