Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

View bootchk's full-sized avatar

Lloyd Konneker bootchk

MS Computer Science. Contributor to GIMP. Maintainer of Resynthesizer plugin. Makes artsy, solar-powered, Calder mobiles. Embedded systems.
View GitHub Profile
@bootchk
bootchk /fileLoader.py
CreatedFebruary 15, 2014 21:40
A class for asynchronous url loading using Qt, PyQt
'''
Copyright 2014 Lloyd Konneker
Release under the GPLv3
'''
fromPyQt5.QtCoreimportpyqtSignalasSignal
fromPyQt5.QtCoreimportQObject,QByteArray,QUrl
fromPyQt5.QtNetworkimportQNetworkAccessManager,QNetworkRequest
@bootchk
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.
'''
Copyright 2013 Lloyd Konneker
License: LGPL
'''
fromPySide.QtCoreimportQSettings
classWindowSettable(object):
'''

[8]ページ先頭

©2009-2025 Movatter.jp