Re: [Python] Domanda su pyQt

2013-02-26 Per discussione Walter Valenti
> > >Come posso fare in modo che lo splash non si chiuda cliccandoci sopra ? > >Walter > > >Ciao Walter, >devi derivare la QSplashScreen e re-implementare la mousePressEvent. Ad >esempio: > > >class MySplashScreen(QSplashScreen): >def mousePressEvent(self, event): >    pass  Non funziona. A l

Re: [Python] Domanda su pyQt

2013-02-26 Per discussione Gianni Valdambrini
Da:Walter Valenti A: Discussioni generali sul linguaggio Python Inviato: Martedì 26 Febbraio 2013 11:47 Oggetto: [Python] Domanda su pyQt Ho fatto un semplice script con PyQt per genarare un splash screen:  [ cut] app = QApplication(sys.argv) splash_pix = QPixmap('/home/walter/.mozilla/about

[Python] Domanda su pyQt

2013-02-26 Per discussione Walter Valenti
Ho fatto un semplice script con PyQt per genarare un splash screen: (la mia conoscenza sulle Qt è tendente a zero !!!) #!/usr/bin/python from PySide.QtCore import * from PySide.QtGui import * import sys, time import signal def handler(signum,frame):     sys.exit(0) signal.signal(signal.SIGTERM