MCPcopy Index your code
hub / github.com/ipython/ipython / SimpleWindow

Class SimpleWindow

examples/IPython Kernel/gui/gui-qt.py:15–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13from PyQt4 import QtGui, QtCore
14
15class SimpleWindow(QtGui.QWidget):
16 def __init__(self, parent=None):
17 QtGui.QWidget.__init__(self, parent)
18
19 self.setGeometry(300, 300, 200, 80)
20 self.setWindowTitle('Hello World')
21
22 quit = QtGui.QPushButton('Close', self)
23 quit.setGeometry(10, 10, 60, 35)
24
25 self.connect(quit, QtCore.SIGNAL('clicked()'),
26 self, QtCore.SLOT('close()'))
27
28if __name__ == '__main__':
29 app = QtCore.QCoreApplication.instance()

Callers 1

gui-qt.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…