summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/qt_browser.py
blob: 4bd947cbc495c044f6f692b481ce3bf7667dcf91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from PySide import QtCore, QtWebKit, QtGui

PIXELATED_URI = 'http://localhost:9090'


class PixelatedWindow(QtGui.QDialog):

    def __init__(self, parent):
        QtGui.QDialog.__init__(self, parent)
        self.web = QtWebKit.QWebView(self)
        self.web.load(QtCore.QUrl(PIXELATED_URI))
        self.setWindowTitle('Bitmask/Pixelated WebMail')
        self.web.show()