PyQt: Tutorial per iniziare
qttutorialRitorna alla pagina <-- Modifica precedente | Modifica successiva -->
| Sommario diffierenze | |||||
|---|---|---|---|---|---|
| Titolo | PyQt: Tutorial per iniziare (WORK IN PROGRESS) | PyQt: Tutorial per iniziare (WORK IN PROGRESS) | |||
| Data | 2009-10-10 17:59:05 | 2009-10-10 18:01:03 | |||
| Autore | shainer | shainer | |||
| Tags | |||||
| 2009-10-10 17:59:05 di shainer | 2009-10-10 18:01:03 di shainer | ||||
|---|---|---|---|---|---|
| 383 | #!/usr/bin/python | 383 | #!/usr/bin/python | ||
| 384 | 384 | ||||
| 385 | import sys | 385 | import sys | ||
| 386 | from PyQt4 import QtGui, QtCore | 386 | from PyQt4 import QtGui, QtCore | ||
| 387 | 387 | ||||
| t | 388 | class MainWindow(QtGui.QMainWindow): | t | 388 | class MainWindow(QtGui.QMainWindow): | 
| 389 | 389 | ||||
| 390 | def __init__(self): | 390 | def __init__(self): | ||
| 391 | QtGui.QMainWindow.__init__(self) | 391 | QtGui.QMainWindow.__init__(self) | ||
| 392 | 392 | ||||
| 393 | self.setWindowTitle('Toolbar') | 393 | self.setWindowTitle('Toolbar') | ||
 
  