# Path: pythics/settings.py
# _TRY_PYSIDE = True


import importlib
import re
import io
import sys, traceback
    import PySide2.QtCore as _QtCore
    import PySide2.QtGui as _QtGui
    import PySide2.QtWidgets as _QtWidgets
    import PySide2.QtPrintSupport as _QtPrintSupport
    import PyQt5.QtCore as _QtCore
    import PyQt5.QtGui as _QtGui
    import PyQt5.QtWidgets as _QtWidgets
    import PyQt5.QtPrintSupport as _QtPrintSupport
    from lxml import etree as ElementTree
    from xml.etree import ElementTree
from pythics.settings import _TRY_PYSIDE
#
# You should have received a copy of the GNU General Public License
# along with Pythics.  If not, see <http://www.gnu.org/licenses/>.
#


#
# load libraries
#

try:
    lxml_loaded = True
except ImportError as e:
    sys.stderr.write("Error: failed to import lxml module ({})".format(e))
    lxml_loaded = False

try:
    if not _TRY_PYSIDE:
        raise ImportError()
    QtCore = _QtCore
    QtGui = _QtGui
    QtWidgets = _QtWidgets
    QtPrintSupport = _QtPrintSupport
    Signal = QtCore.Signal
    Slot = QtCore.Slot
    Property = QtCore.Property
    USES_PYSIDE = True
except ImportError:
    QtCore = _QtCore
    QtGui = _QtGui

# Path: pythics/settings.py
# _TRY_PYSIDE = True


# Path: pythics/html.py
import importlib
import re
import io
import sys, traceback
    import PySide2.QtCore as _QtCore
    import PySide2.QtGui as _QtGui
    import PySide2.QtWidgets as _QtWidgets
    import PySide2.QtPrintSupport as _QtPrintSupport
    import PyQt5.QtCore as _QtCore
    import PyQt5.QtGui as _QtGui
    import PyQt5.QtWidgets as _QtWidgets
    import PyQt5.QtPrintSupport as _QtPrintSupport
    from lxml import etree as ElementTree
    from xml.etree import ElementTree
from pythics.settings import _TRY_PYSIDE

#
# You should have received a copy of the GNU General Public License
# along with Pythics.  If not, see <http://www.gnu.org/licenses/>.
#


#
# load libraries
#

try:
    lxml_loaded = True
except ImportError as e:
    sys.stderr.write("Error: failed to import lxml module ({})".format(e))
    lxml_loaded = False

try:
    if not _TRY_PYSIDE:
        raise ImportError()
    QtCore = _QtCore
    QtGui = _QtGui
    QtWidgets = _QtWidgets
    QtPrintSupport = _QtPrintSupport
    Signal = QtCore.Signal
    Slot = QtCore.Slot
    Property = QtCore.Property
    USES_PYSIDE = True
except ImportError:
    QtCore = _QtCore
    QtGui = _QtGui

    QtWidgets = _QtWidgets