Skip to content

Instantly share code, notes, and snippets.

@eloquence
Created January 24, 2020 02:02
Show Gist options
  • Save eloquence/940646c3e4e11a5b2d05bc418244bdb7 to your computer and use it in GitHub Desktop.
Save eloquence/940646c3e4e11a5b2d05bc418244bdb7 to your computer and use it in GitHub Desktop.
import sys
from PyQt4 import QtGui
from PyQt4.QtGui import QMessageBox
application = QtGui.QApplication(sys.argv)
QMessageBox.warning(None, 'Security check recommended',
'The workstation has been running continuously for a long time. '
'We recommend that you launch or restart the SecureDrop app to '
'check for security updates.',
QMessageBox.Ok,
QMessageBox.Ok)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment