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

# Form implementation generated from reading ui file 'eric/Snapshot/SnapWidget.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_SnapWidget(object):
    def setupUi(self, SnapWidget):
        SnapWidget.setObjectName(_fromUtf8("SnapWidget"))
        SnapWidget.resize(500, 400)
        SnapWidget.setMinimumSize(QtCore.QSize(250, 300))
        self.verticalLayout = QtGui.QVBoxLayout(SnapWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.preview = SnapshotPreview(SnapWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.preview.sizePolicy().hasHeightForWidth())
        self.preview.setSizePolicy(sizePolicy)
        self.preview.setMinimumSize(QtCore.QSize(230, 130))
        self.preview.setAlignment(QtCore.Qt.AlignCenter)
        self.preview.setObjectName(_fromUtf8("preview"))
        self.verticalLayout.addWidget(self.preview)
        self.line = QtGui.QFrame(SnapWidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(SnapWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.modeCombo = QtGui.QComboBox(SnapWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.modeCombo.sizePolicy().hasHeightForWidth())
        self.modeCombo.setSizePolicy(sizePolicy)
        self.modeCombo.setObjectName(_fromUtf8("modeCombo"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.modeCombo)
        self.label_2 = QtGui.QLabel(SnapWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.delaySpin = QtGui.QSpinBox(SnapWidget)
        self.delaySpin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.delaySpin.setObjectName(_fromUtf8("delaySpin"))
        self.horizontalLayout_2.addWidget(self.delaySpin)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.formLayout.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.formLayout)
        self.line_3 = QtGui.QFrame(SnapWidget)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.verticalLayout.addWidget(self.line_3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_3 = QtGui.QLabel(SnapWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_3.addWidget(self.label_3)
        self.pathNameEdit = QtGui.QLineEdit(SnapWidget)
        self.pathNameEdit.setReadOnly(True)
        self.pathNameEdit.setObjectName(_fromUtf8("pathNameEdit"))
        self.horizontalLayout_3.addWidget(self.pathNameEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.line_2 = QtGui.QFrame(SnapWidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout.addWidget(self.line_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.saveButton = QtGui.QPushButton(SnapWidget)
        self.saveButton.setEnabled(False)
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout.addWidget(self.saveButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.copyButton = QtGui.QPushButton(SnapWidget)
        self.copyButton.setEnabled(False)
        self.copyButton.setObjectName(_fromUtf8("copyButton"))
        self.horizontalLayout.addWidget(self.copyButton)
        self.copyPreviewButton = QtGui.QPushButton(SnapWidget)
        self.copyPreviewButton.setEnabled(False)
        self.copyPreviewButton.setObjectName(_fromUtf8("copyPreviewButton"))
        self.horizontalLayout.addWidget(self.copyPreviewButton)
        spacerItem2 = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.takeButton = QtGui.QPushButton(SnapWidget)
        self.takeButton.setObjectName(_fromUtf8("takeButton"))
        self.horizontalLayout.addWidget(self.takeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(SnapWidget)
        QtCore.QMetaObject.connectSlotsByName(SnapWidget)
        SnapWidget.setTabOrder(self.modeCombo, self.delaySpin)
        SnapWidget.setTabOrder(self.delaySpin, self.takeButton)
        SnapWidget.setTabOrder(self.takeButton, self.pathNameEdit)
        SnapWidget.setTabOrder(self.pathNameEdit, self.saveButton)
        SnapWidget.setTabOrder(self.saveButton, self.copyButton)
        SnapWidget.setTabOrder(self.copyButton, self.copyPreviewButton)

    def retranslateUi(self, SnapWidget):
        SnapWidget.setWindowTitle(_translate("SnapWidget", "eric6 Snapshot", None))
        self.label.setText(_translate("SnapWidget", "Snapshot Mode:", None))
        self.modeCombo.setToolTip(_translate("SnapWidget", "Select the snapshot mode", None))
        self.label_2.setText(_translate("SnapWidget", "Delay:", None))
        self.delaySpin.setToolTip(_translate("SnapWidget", "Enter the delay before taking the snapshot", None))
        self.delaySpin.setSpecialValueText(_translate("SnapWidget", " No delay", None))
        self.delaySpin.setSuffix(_translate("SnapWidget", " s", None))
        self.label_3.setText(_translate("SnapWidget", "Path Name:", None))
        self.pathNameEdit.setToolTip(_translate("SnapWidget", "Shows the name of the directory used for saving", None))
        self.saveButton.setToolTip(_translate("SnapWidget", "Press to save the snapshot", None))
        self.saveButton.setText(_translate("SnapWidget", "&Save Snapshot ...", None))
        self.copyButton.setToolTip(_translate("SnapWidget", "Press to copy the snapshot to the clipboard", None))
        self.copyButton.setText(_translate("SnapWidget", "&Copy", None))
        self.copyPreviewButton.setToolTip(_translate("SnapWidget", "Press to copy the snapshot preview to the clipboard", None))
        self.copyPreviewButton.setText(_translate("SnapWidget", "Copy &Preview", None))
        self.takeButton.setToolTip(_translate("SnapWidget", "Press to take a snapshot", None))
        self.takeButton.setText(_translate("SnapWidget", "&Take Snapshot ...", None))

from Snapshot.SnapshotPreview import SnapshotPreview
