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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.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_LfConvertDataDialog(object):
    def setupUi(self, LfConvertDataDialog):
        LfConvertDataDialog.setObjectName(_fromUtf8("LfConvertDataDialog"))
        LfConvertDataDialog.resize(500, 143)
        LfConvertDataDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(LfConvertDataDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.currentProjectLabel = E5SqueezeLabelPath(LfConvertDataDialog)
        self.currentProjectLabel.setObjectName(_fromUtf8("currentProjectLabel"))
        self.gridLayout.addWidget(self.currentProjectLabel, 0, 0, 1, 4)
        self.label = QtGui.QLabel(LfConvertDataDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.newProjectEdit = QtGui.QLineEdit(LfConvertDataDialog)
        self.newProjectEdit.setObjectName(_fromUtf8("newProjectEdit"))
        self.gridLayout.addWidget(self.newProjectEdit, 1, 1, 1, 2)
        self.newProjectButton = QtGui.QToolButton(LfConvertDataDialog)
        self.newProjectButton.setObjectName(_fromUtf8("newProjectButton"))
        self.gridLayout.addWidget(self.newProjectButton, 1, 3, 1, 1)
        self.label_4 = QtGui.QLabel(LfConvertDataDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.lfFileSizeSpinBox = QtGui.QSpinBox(LfConvertDataDialog)
        self.lfFileSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lfFileSizeSpinBox.setMinimum(1)
        self.lfFileSizeSpinBox.setProperty("value", 10)
        self.lfFileSizeSpinBox.setObjectName(_fromUtf8("lfFileSizeSpinBox"))
        self.gridLayout.addWidget(self.lfFileSizeSpinBox, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(297, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 1, 2)
        self.label_5 = QtGui.QLabel(LfConvertDataDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.lfFilePatternsEdit = QtGui.QLineEdit(LfConvertDataDialog)
        self.lfFilePatternsEdit.setObjectName(_fromUtf8("lfFilePatternsEdit"))
        self.gridLayout.addWidget(self.lfFilePatternsEdit, 3, 1, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(LfConvertDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 4)

        self.retranslateUi(LfConvertDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), LfConvertDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), LfConvertDataDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(LfConvertDataDialog)
        LfConvertDataDialog.setTabOrder(self.newProjectEdit, self.newProjectButton)
        LfConvertDataDialog.setTabOrder(self.newProjectButton, self.lfFileSizeSpinBox)
        LfConvertDataDialog.setTabOrder(self.lfFileSizeSpinBox, self.lfFilePatternsEdit)
        LfConvertDataDialog.setTabOrder(self.lfFilePatternsEdit, self.buttonBox)

    def retranslateUi(self, LfConvertDataDialog):
        LfConvertDataDialog.setWindowTitle(_translate("LfConvertDataDialog", "Convert Repository Format", None))
        self.label.setText(_translate("LfConvertDataDialog", "New project directory:", None))
        self.newProjectEdit.setToolTip(_translate("LfConvertDataDialog", "Enter the directory name of the new project directory", None))
        self.newProjectButton.setToolTip(_translate("LfConvertDataDialog", "Press to select the new project directory name via a directory selection dialog", None))
        self.label_4.setText(_translate("LfConvertDataDialog", "Minimum file size:", None))
        self.lfFileSizeSpinBox.setToolTip(_translate("LfConvertDataDialog", "Enter the minimum file size in MB for files to be treated as Large Files", None))
        self.lfFileSizeSpinBox.setSuffix(_translate("LfConvertDataDialog", " MB", None))
        self.label_5.setText(_translate("LfConvertDataDialog", "Patterns:", None))
        self.lfFilePatternsEdit.setToolTip(_translate("LfConvertDataDialog", "Enter file patterns (space separated) for files to be treated as Large Files", None))

from E5Gui.E5SqueezeLabels import E5SqueezeLabelPath
