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

# Form implementation generated from reading ui file 'eric/Network/IRC/IrcServerEditDialog.ui'
#
# Created: Thu Mar  5 17:02:30 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_IrcServerEditDialog(object):
    def setupUi(self, IrcServerEditDialog):
        IrcServerEditDialog.setObjectName(_fromUtf8("IrcServerEditDialog"))
        IrcServerEditDialog.resize(400, 158)
        IrcServerEditDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(IrcServerEditDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(IrcServerEditDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.serverEdit = QtGui.QLineEdit(IrcServerEditDialog)
        self.serverEdit.setObjectName(_fromUtf8("serverEdit"))
        self.gridLayout.addWidget(self.serverEdit, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(IrcServerEditDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.portSpinBox = QtGui.QSpinBox(IrcServerEditDialog)
        self.portSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.portSpinBox.setMinimum(1)
        self.portSpinBox.setMaximum(65535)
        self.portSpinBox.setProperty("value", 6667)
        self.portSpinBox.setObjectName(_fromUtf8("portSpinBox"))
        self.gridLayout.addWidget(self.portSpinBox, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(238, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.label_3 = QtGui.QLabel(IrcServerEditDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.passwordEdit = QtGui.QLineEdit(IrcServerEditDialog)
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName(_fromUtf8("passwordEdit"))
        self.gridLayout.addWidget(self.passwordEdit, 2, 1, 1, 2)
        self.sslCheckBox = QtGui.QCheckBox(IrcServerEditDialog)
        self.sslCheckBox.setObjectName(_fromUtf8("sslCheckBox"))
        self.gridLayout.addWidget(self.sslCheckBox, 3, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(IrcServerEditDialog)
        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, 3)

        self.retranslateUi(IrcServerEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), IrcServerEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), IrcServerEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(IrcServerEditDialog)
        IrcServerEditDialog.setTabOrder(self.serverEdit, self.portSpinBox)
        IrcServerEditDialog.setTabOrder(self.portSpinBox, self.passwordEdit)
        IrcServerEditDialog.setTabOrder(self.passwordEdit, self.sslCheckBox)
        IrcServerEditDialog.setTabOrder(self.sslCheckBox, self.buttonBox)

    def retranslateUi(self, IrcServerEditDialog):
        IrcServerEditDialog.setWindowTitle(_translate("IrcServerEditDialog", "IRC Server", None))
        self.label.setText(_translate("IrcServerEditDialog", "Server:", None))
        self.serverEdit.setToolTip(_translate("IrcServerEditDialog", "Enter the host name of the IRC server", None))
        self.label_2.setText(_translate("IrcServerEditDialog", "Port:", None))
        self.portSpinBox.setToolTip(_translate("IrcServerEditDialog", "Enter the port number", None))
        self.label_3.setText(_translate("IrcServerEditDialog", "Password:", None))
        self.passwordEdit.setToolTip(_translate("IrcServerEditDialog", "Enter the server password", None))
        self.sslCheckBox.setToolTip(_translate("IrcServerEditDialog", "Select to use an SSL encrypted connection", None))
        self.sslCheckBox.setText(_translate("IrcServerEditDialog", "Use Encrypted Connection (SSL)", None))

