# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/UI/Previewers/PreviewerHTML.ui'
#
# Created: Thu Mar  5 17:02:31 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_PreviewerHTML(object):
    def setupUi(self, PreviewerHTML):
        PreviewerHTML.setObjectName(_fromUtf8("PreviewerHTML"))
        PreviewerHTML.resize(400, 400)
        self.verticalLayout = QtGui.QVBoxLayout(PreviewerHTML)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.titleLabel = QtGui.QLabel(PreviewerHTML)
        self.titleLabel.setWordWrap(True)
        self.titleLabel.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
        self.titleLabel.setObjectName(_fromUtf8("titleLabel"))
        self.verticalLayout.addWidget(self.titleLabel)
        self.previewView = QtWebKit.QWebView(PreviewerHTML)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.previewView.sizePolicy().hasHeightForWidth())
        self.previewView.setSizePolicy(sizePolicy)
        self.previewView.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.previewView.setUrl(QtCore.QUrl(_fromUtf8("about:blank")))
        self.previewView.setObjectName(_fromUtf8("previewView"))
        self.verticalLayout.addWidget(self.previewView)
        self.jsCheckBox = QtGui.QCheckBox(PreviewerHTML)
        self.jsCheckBox.setObjectName(_fromUtf8("jsCheckBox"))
        self.verticalLayout.addWidget(self.jsCheckBox)
        self.ssiCheckBox = QtGui.QCheckBox(PreviewerHTML)
        self.ssiCheckBox.setObjectName(_fromUtf8("ssiCheckBox"))
        self.verticalLayout.addWidget(self.ssiCheckBox)

        self.retranslateUi(PreviewerHTML)
        QtCore.QMetaObject.connectSlotsByName(PreviewerHTML)

    def retranslateUi(self, PreviewerHTML):
        self.jsCheckBox.setToolTip(_translate("PreviewerHTML", "Select to enable JavaScript for HTML previews", None))
        self.jsCheckBox.setText(_translate("PreviewerHTML", "Enable JavaScript", None))
        self.ssiCheckBox.setToolTip(_translate("PreviewerHTML", "Select to enable support for Server Side Includes", None))
        self.ssiCheckBox.setText(_translate("PreviewerHTML", "Enable Server Side Includes", None))

from PyQt4 import QtWebKit
