summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/qt_browser.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-24 10:04:38 -0400
committerKali Kaneko <kali@leap.se>2016-03-24 10:04:38 -0400
commit106d202012f8f052a3cabe044d7287d2283655fc (patch)
tree025aadf725ed8d550310df3b3448e4a26a1105ec /src/leap/bitmask/gui/qt_browser.py
parentf9cb960dea642ec2e9cced1ab4712577cc0f3469 (diff)
[feature] hide browser menu entry if pixelated is disabled
Diffstat (limited to 'src/leap/bitmask/gui/qt_browser.py')
-rw-r--r--src/leap/bitmask/gui/qt_browser.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/qt_browser.py b/src/leap/bitmask/gui/qt_browser.py
index 4bd947cb..e480b363 100644
--- a/src/leap/bitmask/gui/qt_browser.py
+++ b/src/leap/bitmask/gui/qt_browser.py
@@ -1,3 +1,23 @@
+# -*- coding: utf-8 -*-
+# qt_browser.py
+# Copyright (C) 2016 LEAP
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+QtWebKit-based browser to display Pixelated User Agent
+"""
+
from PySide import QtCore, QtWebKit, QtGui
PIXELATED_URI = 'http://localhost:9090'