mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
19 lines
540 B
Python
19 lines
540 B
Python
# Copyright: Damien Elmes <anki@ichi2.net>
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
# imports are all in this file to make moving to pyside easier in the future
|
|
|
|
import sip
|
|
sip.setapi('QString', 2)
|
|
sip.setapi('QVariant', 2)
|
|
sip.setapi('QUrl', 2)
|
|
from PyQt4.QtCore import *
|
|
from PyQt4.QtGui import *
|
|
from PyQt4.QtWebKit import QWebPage, QWebView
|
|
from PyQt4 import pyqtconfig
|
|
|
|
def debug():
|
|
from PyQt4.QtCore import pyqtRemoveInputHook
|
|
from pdb import set_trace
|
|
pyqtRemoveInputHook()
|
|
set_trace()
|