Sandbox:Piffpoof2a

Entry Level PySide Examples 3 types of windows

what is a widget

list some sites to read up on

include statement

QtGui.QMessageBox.information(None,"Apollo program","Houston, we have a problem")

QtGui.QInputDialog.getText(None, "Enter Input", "Input:")

information window

ask yes/no

reply = QtGui.QMessageBox.question(None, "", "This is your chance to answer, what do you think?",								QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.No) if reply == QtGui.QMessageBox.Yes: # this is where the code relevant to a 'Yes' answer goes pass if reply == QtGui.QMessageBox.No: # this is where the code relevant to a 'No' answer goes pass

ask for text input QLineEdit

ask for numeric input QlineEdit with mask