Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from PyQt4 import QtGui
- class Deck(QtGui.QWidget):
- def __init__(self, filename, parent):
- super(Deck, self).__init__(parent)
- self.setMinimumSize(100, 150)
- self.setStyleSheet('background-color: yellow;')
- label = QtGui.QLabel("deck", self)
- label.show()
- app = QtGui.QApplication([])
- main = Deck(None, None)
- main.show()
- app.exec_()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement