Instantly share code, notes, and snippets.
MS Computer Science. Contributor to GIMP. Maintainer of Resynthesizer plugin. Makes artsy, solar-powered, Calder mobiles. Embedded systems.
- Solabile
- raleigh, nc
- https://bootchk.github.io/solabile
bootchk /fileLoader.py
CreatedFebruary 15, 2014 21:40
A class for asynchronous url loading using Qt, PyQt This file contains hidden or 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
''' | |
Copyright 2014 Lloyd Konneker | |
Release under the GPLv3 | |
''' | |
fromPyQt5.QtCoreimportpyqtSignalasSignal | |
fromPyQt5.QtCoreimportQObject,QByteArray,QUrl | |
fromPyQt5.QtNetworkimportQNetworkAccessManager,QNetworkRequest |
bootchk /windowSettable.py
Last activeMay 1, 2022 16:26
Python, PySide, Qt implementation of saving/restoring window attributes (size, position, etc.) as settings (preferences) for an application. Mixin: make your custom subclass of QMainWindow multiply inherit this, and call these methods from appropriate places. This file contains hidden or 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
''' | |
Copyright 2013 Lloyd Konneker | |
License: LGPL | |
''' | |
fromPySide.QtCoreimportQSettings | |
classWindowSettable(object): | |
''' |