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

# Form implementation generated from reading ui file 'eric/Helpviewer/Sync/SyncFtpSettingsPage.ui'
#
# Created: Tue Oct 28 07:22:19 2014
#      by: PyQt4 UI code generator 4.11.2
#
# 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_SyncFtpSettingsPage(object):
    def setupUi(self, SyncFtpSettingsPage):
        SyncFtpSettingsPage.setObjectName(_fromUtf8("SyncFtpSettingsPage"))
        SyncFtpSettingsPage.resize(650, 400)
        self.verticalLayout = QtGui.QVBoxLayout(SyncFtpSettingsPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(SyncFtpSettingsPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.serverEdit = QtGui.QLineEdit(self.groupBox)
        self.serverEdit.setObjectName(_fromUtf8("serverEdit"))
        self.gridLayout.addWidget(self.serverEdit, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.userNameEdit = QtGui.QLineEdit(self.groupBox)
        self.userNameEdit.setObjectName(_fromUtf8("userNameEdit"))
        self.gridLayout.addWidget(self.userNameEdit, 1, 1, 1, 2)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.passwordEdit = QtGui.QLineEdit(self.groupBox)
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName(_fromUtf8("passwordEdit"))
        self.gridLayout.addWidget(self.passwordEdit, 2, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.pathEdit = QtGui.QLineEdit(self.groupBox)
        self.pathEdit.setObjectName(_fromUtf8("pathEdit"))
        self.gridLayout.addWidget(self.pathEdit, 3, 1, 1, 2)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
        self.portSpinBox = QtGui.QSpinBox(self.groupBox)
        self.portSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.portSpinBox.setMinimum(1)
        self.portSpinBox.setMaximum(65635)
        self.portSpinBox.setProperty("value", 21)
        self.portSpinBox.setObjectName(_fromUtf8("portSpinBox"))
        self.gridLayout.addWidget(self.portSpinBox, 4, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(218, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 4, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.idleSpinBox = QtGui.QSpinBox(self.groupBox)
        self.idleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.idleSpinBox.setMinimum(10)
        self.idleSpinBox.setMaximum(3600)
        self.idleSpinBox.setObjectName(_fromUtf8("idleSpinBox"))
        self.gridLayout.addWidget(self.idleSpinBox, 5, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(419, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 5, 2, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        spacerItem2 = QtGui.QSpacerItem(20, 101, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

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

    def retranslateUi(self, SyncFtpSettingsPage):
        SyncFtpSettingsPage.setTitle(_translate("SyncFtpSettingsPage", "Synchronize to an FTP host", None))
        SyncFtpSettingsPage.setSubTitle(_translate("SyncFtpSettingsPage", "Please enter the data for synchronization via FTP. All fields must be filled.", None))
        self.groupBox.setTitle(_translate("SyncFtpSettingsPage", "Remote FTP Host Settings", None))
        self.label.setText(_translate("SyncFtpSettingsPage", "Server:", None))
        self.serverEdit.setToolTip(_translate("SyncFtpSettingsPage", "Enter the FTP server name", None))
        self.label_2.setText(_translate("SyncFtpSettingsPage", "User Name:", None))
        self.userNameEdit.setToolTip(_translate("SyncFtpSettingsPage", "Enter the user name", None))
        self.label_3.setText(_translate("SyncFtpSettingsPage", "Password:", None))
        self.passwordEdit.setToolTip(_translate("SyncFtpSettingsPage", "Enter the password", None))
        self.label_4.setText(_translate("SyncFtpSettingsPage", "Path:", None))
        self.pathEdit.setToolTip(_translate("SyncFtpSettingsPage", "Enter the remote path", None))
        self.label_5.setText(_translate("SyncFtpSettingsPage", "Port:", None))
        self.portSpinBox.setToolTip(_translate("SyncFtpSettingsPage", "Enter the remote port", None))
        self.label_6.setText(_translate("SyncFtpSettingsPage", "Idle Timeout:", None))
        self.idleSpinBox.setToolTip(_translate("SyncFtpSettingsPage", "Enter the idle timeout interval to prevent a server disconnect", None))
        self.idleSpinBox.setSuffix(_translate("SyncFtpSettingsPage", " s", None))

