diff options
author | Rael <rael.gc@gmail.com> | 2015-03-04 12:49:00 -0300 |
---|---|---|
committer | Rael <rael.gc@gmail.com> | 2015-03-04 12:49:00 -0300 |
commit | 2acc63f46b90506f2ab79b9fd4d79ad27994c410 (patch) | |
tree | ced5c15b9d9c73e126e16c187d37aa9b1af0ab2f /scudcloud-1.0/lib/launcher.py | |
parent | e4dab6357b6c4ce06d353d627ce689b8cc2f8da0 (diff) | |
download | scudcloud-2acc63f46b90506f2ab79b9fd4d79ad27994c410.zip scudcloud-2acc63f46b90506f2ab79b9fd4d79ad27994c410.tar.gz scudcloud-2acc63f46b90506f2ab79b9fd4d79ad27994c410.tar.bz2 |
Generating compiled files during install (#13)
Diffstat (limited to 'scudcloud-1.0/lib/launcher.py')
-rw-r--r-- | scudcloud-1.0/lib/launcher.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scudcloud-1.0/lib/launcher.py b/scudcloud-1.0/lib/launcher.py new file mode 100644 index 0000000..32257fd --- /dev/null +++ b/scudcloud-1.0/lib/launcher.py @@ -0,0 +1,8 @@ +from PyQt4.Qt import QApplication + +class Launcher: + def __init__(self, parent): + self.parent = parent + def set_property(self, name, value): + if "urgent" == name and True == value: + QApplication.alert(self.parent) |