summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/qt_browser.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-23 19:30:54 -0400
committerKali Kaneko <kali@leap.se>2016-03-23 19:30:54 -0400
commitf9cb960dea642ec2e9cced1ab4712577cc0f3469 (patch)
treef2539f9b411ad8b1e5675e28a53c738d5e2da131 /src/leap/bitmask/gui/qt_browser.py
parente92e4f1e4d57957af5d8c9e08a6c3c9152409612 (diff)
[feature] add QtWebView to render pixelated mua
Diffstat (limited to 'src/leap/bitmask/gui/qt_browser.py')
-rw-r--r--src/leap/bitmask/gui/qt_browser.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/qt_browser.py b/src/leap/bitmask/gui/qt_browser.py
new file mode 100644
index 00000000..4bd947cb
--- /dev/null
+++ b/src/leap/bitmask/gui/qt_browser.py
@@ -0,0 +1,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()