Skip to content

Instantly share code, notes, and snippets.

View Pfesi's full-sized avatar
💭
Postdoctoral Researcher at South African Radio Astronomy Observatory (SARAO)

Pfesi van Zyl Pfesi

💭
Postdoctoral Researcher at South African Radio Astronomy Observatory (SARAO)
View GitHub Profile
@Pfesi
Pfesi / PyQt5WindowChangeExample.py
Created July 31, 2018 11:20 — forked from MalloyDelacroix/PyQt5WindowChangeExample.py
A PyQt5 example of how to switch between multiple windows.
import sys
from PyQt5 import QtCore, QtWidgets
class MainWindow(QtWidgets.QWidget):
switch_window = QtCore.pyqtSignal(str)
def __init__(self):
QtWidgets.QWidget.__init__(self)