Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/usr/bin/env python2
  2.  
  3. from PyQt5 import QtGui, QtWidgets
  4. import signal
  5.  
  6. signal.signal(signal.SIGINT, signal.SIG_DFL)
  7.  
  8. app = QtWidgets.QApplication([])
  9.  
  10. icon = QtGui.QIcon('clock.png')
  11. tray = QtWidgets.QSystemTrayIcon(icon)
  12. tray.show()
  13.  
  14. app.exec_()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement