Add __init__.py

This commit is contained in:
Florian Bruhin 2014-01-29 04:24:37 +01:00
parent 696362a0f6
commit 59a19db9a2
3 changed files with 6 additions and 0 deletions

View File

@ -1,7 +1,10 @@
"""Utility functions"""
from PyQt5.QtCore import QUrl
def qurl(url):
"""Get a QUrl from an url string."""
if isinstance(url, QUrl):
return url
if not url.startswith('http://'):

View File

@ -0,0 +1 @@
"""The Qt widgets needed by qutebrowser."""

View File

@ -1,3 +1,5 @@
"""Several widgets in the statusbar."""
from PyQt5.QtCore import pyqtSignal
from PyQt5.QtWidgets import QHBoxLayout, QWidget