This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
import time | |
class Form(QDialog): | |
""" Just a simple dialog with a couple of widgets | |
""" | |
def __init__(self, parent=None): | |
super(Form, self).__init__(parent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt4 import QtCore, QtGui | |
import sys, time | |
class mythread(QtCore.QThread): | |
total = QtCore.pyqtSignal(object) | |
update = QtCore.pyqtSignal() | |
def __init__(self, parent, n): | |
super(mythread, self).__init__(parent) |