Skip to content

Instantly share code, notes, and snippets.

View Tiger-zzZ's full-sized avatar
🌴
On vacation

Tiger-zzZ

🌴
On vacation
View GitHub Profile
@345161974
345161974 / splashscreen_demo_1.py
Created March 15, 2017 13:02
PyQt SplashScreen Demo
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)
@kaotika
kaotika / qprogressbar_thread.py
Last active November 12, 2022 10:10
Simple PyQt example with QThread and QProgressBar
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)