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

# Form implementation generated from reading ui file 'configuration_wdgt_servers.ui'
#
# Created: Tue Sep 29 11:28:55 2015
#      by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!

from mnemosyne.libmnemosyne.translator import _
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_ConfigurationWdgtServers(object):
    def setupUi(self, ConfigurationWdgtServers):
        ConfigurationWdgtServers.setObjectName(_fromUtf8("ConfigurationWdgtServers"))
        ConfigurationWdgtServers.resize(426, 352)
        self.verticalLayout_4 = QtGui.QVBoxLayout(ConfigurationWdgtServers)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.run_sync_server = QtGui.QGroupBox(ConfigurationWdgtServers)
        self.run_sync_server.setCheckable(True)
        self.run_sync_server.setObjectName(_fromUtf8("run_sync_server"))
        self.verticalLayout = QtGui.QVBoxLayout(self.run_sync_server)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.username = QtGui.QLineEdit(self.run_sync_server)
        self.username.setObjectName(_fromUtf8("username"))
        self.gridLayout.addWidget(self.username, 0, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.run_sync_server)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.run_sync_server)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.password = QtGui.QLineEdit(self.run_sync_server)
        self.password.setEchoMode(QtGui.QLineEdit.Password)
        self.password.setObjectName(_fromUtf8("password"))
        self.gridLayout.addWidget(self.password, 1, 1, 1, 2)
        self.label_3 = QtGui.QLabel(self.run_sync_server)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.sync_port = QtGui.QSpinBox(self.run_sync_server)
        self.sync_port.setMinimum(1)
        self.sync_port.setMaximum(99999)
        self.sync_port.setObjectName(_fromUtf8("sync_port"))
        self.gridLayout.addWidget(self.sync_port, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.check_for_edited_local_media_files = QtGui.QCheckBox(self.run_sync_server)
        self.check_for_edited_local_media_files.setObjectName(_fromUtf8("check_for_edited_local_media_files"))
        self.verticalLayout.addWidget(self.check_for_edited_local_media_files)
        self.sync_server_status = QtGui.QLabel(self.run_sync_server)
        self.sync_server_status.setObjectName(_fromUtf8("sync_server_status"))
        self.verticalLayout.addWidget(self.sync_server_status)
        self.verticalLayout_3.addWidget(self.run_sync_server)
        self.run_web_server = QtGui.QGroupBox(ConfigurationWdgtServers)
        self.run_web_server.setCheckable(True)
        self.run_web_server.setObjectName(_fromUtf8("run_web_server"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.run_web_server)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_5 = QtGui.QLabel(self.run_web_server)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout.addWidget(self.label_5)
        self.web_port = QtGui.QSpinBox(self.run_web_server)
        self.web_port.setMinimum(1)
        self.web_port.setMaximum(99999)
        self.web_port.setObjectName(_fromUtf8("web_port"))
        self.horizontalLayout.addWidget(self.web_port)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.web_server_status = QtGui.QLabel(self.run_web_server)
        self.web_server_status.setObjectName(_fromUtf8("web_server_status"))
        self.verticalLayout_2.addWidget(self.web_server_status)
        spacerItem2 = QtGui.QSpacerItem(271, 90, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.verticalLayout_3.addWidget(self.run_web_server)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)

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

    def retranslateUi(self, ConfigurationWdgtServers):
        ConfigurationWdgtServers.setWindowTitle(_('Form'))
        self.run_sync_server.setTitle(_('Allow other devices to sync with this computer'))
        self.label_4.setText(_('Password:'))
        self.label_2.setText(_('Username:'))
        self.label_3.setText(_('Port:'))
        self.check_for_edited_local_media_files.setText(_('Check for changed media files on server'))
        self.sync_server_status.setText(_('Sync server status'))
        self.run_web_server.setTitle(_('Allow remote review through a web browser'))
        self.label_5.setText(_('Port:         '))
        self.web_server_status.setText(_('Web server status'))

