Skip to content

Instantly share code, notes, and snippets.

@pumacamargo
Last active August 29, 2015 13:56
Show Gist options
  • Save pumacamargo/8850026 to your computer and use it in GitHub Desktop.
Save pumacamargo/8850026 to your computer and use it in GitHub Desktop.
from PyQt4 import QtGui
class SceneManipWin(QtGui.QWidget):
def __init__(self):
super(SceneManipWin, self).__init__()
#Building a layout
self.gridLayout = QtGui.QGridLayout()
self.setLayout(self.gridLayout)
#Objects for our window
self.label = QtGui.QLabel("Work Area")
self.fillList_pb = QtGui.QPushButton("Fill List")
self.sceneSelect_pb = QtGui.QPushButton("Select in Scene")
self.gridLayout.addWidget(self.label)
self.gridLayout.addWidget(self.fillList_pb)
self.gridLayout.addWidget(self.sceneSelect_pb)
def mayaRun():
global gui
gui = SceneManipWin()
gui.show()
mayaRun()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment