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

# Form implementation generated from reading ui file 'eric/Helpviewer/Download/DownloadAskActionDialog.ui'
#
# Created: Thu Mar  5 17:05:34 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_DownloadAskActionDialog(object):
    def setupUi(self, DownloadAskActionDialog):
        DownloadAskActionDialog.setObjectName(_fromUtf8("DownloadAskActionDialog"))
        DownloadAskActionDialog.resize(500, 209)
        DownloadAskActionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(DownloadAskActionDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_3 = QtGui.QLabel(DownloadAskActionDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_4 = QtGui.QLabel(DownloadAskActionDialog)
        self.label_4.setText(_fromUtf8(""))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
        self.infoLabel = QtGui.QLabel(DownloadAskActionDialog)
        self.infoLabel.setText(_fromUtf8(""))
        self.infoLabel.setWordWrap(True)
        self.infoLabel.setObjectName(_fromUtf8("infoLabel"))
        self.gridLayout_2.addWidget(self.infoLabel, 0, 1, 1, 2)
        self.label_5 = QtGui.QLabel(DownloadAskActionDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 1, 1, 1, 1)
        self.typeLabel = QtGui.QLabel(DownloadAskActionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.typeLabel.sizePolicy().hasHeightForWidth())
        self.typeLabel.setSizePolicy(sizePolicy)
        self.typeLabel.setText(_fromUtf8(""))
        self.typeLabel.setObjectName(_fromUtf8("typeLabel"))
        self.gridLayout_2.addWidget(self.typeLabel, 1, 2, 1, 1)
        self.label_6 = QtGui.QLabel(DownloadAskActionDialog)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 2, 1, 1, 1)
        self.siteLabel = QtGui.QLabel(DownloadAskActionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.siteLabel.sizePolicy().hasHeightForWidth())
        self.siteLabel.setSizePolicy(sizePolicy)
        self.siteLabel.setText(_fromUtf8(""))
        self.siteLabel.setObjectName(_fromUtf8("siteLabel"))
        self.gridLayout_2.addWidget(self.siteLabel, 2, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(DownloadAskActionDialog)
        self.label_2.setText(_fromUtf8(""))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.openButton = QtGui.QRadioButton(DownloadAskActionDialog)
        self.openButton.setObjectName(_fromUtf8("openButton"))
        self.gridLayout.addWidget(self.openButton, 1, 1, 1, 1)
        self.scanButton = QtGui.QRadioButton(DownloadAskActionDialog)
        self.scanButton.setObjectName(_fromUtf8("scanButton"))
        self.gridLayout.addWidget(self.scanButton, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 2, 1)
        self.saveButton = QtGui.QRadioButton(DownloadAskActionDialog)
        self.saveButton.setChecked(True)
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.gridLayout.addWidget(self.saveButton, 3, 1, 1, 1)
        self.label = QtGui.QLabel(DownloadAskActionDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(DownloadAskActionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(DownloadAskActionDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DownloadAskActionDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DownloadAskActionDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(DownloadAskActionDialog)
        DownloadAskActionDialog.setTabOrder(self.openButton, self.scanButton)
        DownloadAskActionDialog.setTabOrder(self.scanButton, self.saveButton)
        DownloadAskActionDialog.setTabOrder(self.saveButton, self.buttonBox)

    def retranslateUi(self, DownloadAskActionDialog):
        DownloadAskActionDialog.setWindowTitle(_translate("DownloadAskActionDialog", "What to do?", None))
        self.label_3.setText(_translate("DownloadAskActionDialog", "You are about to download this file:", None))
        self.label_5.setText(_translate("DownloadAskActionDialog", "Type:", None))
        self.label_6.setText(_translate("DownloadAskActionDialog", "From:", None))
        self.openButton.setToolTip(_translate("DownloadAskActionDialog", "Select to open the downloaded file", None))
        self.openButton.setText(_translate("DownloadAskActionDialog", "&Open File", None))
        self.scanButton.setStatusTip(_translate("DownloadAskActionDialog", "Select to scan the file with VirusTotal", None))
        self.scanButton.setText(_translate("DownloadAskActionDialog", "Scan with &VirusTotal", None))
        self.saveButton.setToolTip(_translate("DownloadAskActionDialog", "Select to save the file", None))
        self.saveButton.setText(_translate("DownloadAskActionDialog", "&Save File", None))
        self.label.setText(_translate("DownloadAskActionDialog", "<b>What do you want to do?</b>", None))

