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

# Form implementation generated from reading ui file 'eric/Network/IRC/IrcNetworkEditDialog.ui'
#
# Created: Sun Jan 18 22:19:53 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_IrcNetworkEditDialog(object):
    def setupUi(self, IrcNetworkEditDialog):
        IrcNetworkEditDialog.setObjectName(_fromUtf8("IrcNetworkEditDialog"))
        IrcNetworkEditDialog.resize(400, 321)
        IrcNetworkEditDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(IrcNetworkEditDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(IrcNetworkEditDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.networkEdit = QtGui.QLineEdit(IrcNetworkEditDialog)
        self.networkEdit.setObjectName(_fromUtf8("networkEdit"))
        self.gridLayout.addWidget(self.networkEdit, 0, 1, 1, 2)
        self.label_2 = QtGui.QLabel(IrcNetworkEditDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.identityCombo = QtGui.QComboBox(IrcNetworkEditDialog)
        self.identityCombo.setObjectName(_fromUtf8("identityCombo"))
        self.gridLayout.addWidget(self.identityCombo, 1, 1, 1, 1)
        self.editIdentitiesButton = QtGui.QToolButton(IrcNetworkEditDialog)
        self.editIdentitiesButton.setText(_fromUtf8(""))
        self.editIdentitiesButton.setObjectName(_fromUtf8("editIdentitiesButton"))
        self.gridLayout.addWidget(self.editIdentitiesButton, 1, 2, 1, 1)
        self.label_3 = QtGui.QLabel(IrcNetworkEditDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.editServerButton = QtGui.QToolButton(IrcNetworkEditDialog)
        self.editServerButton.setText(_fromUtf8(""))
        self.editServerButton.setObjectName(_fromUtf8("editServerButton"))
        self.gridLayout.addWidget(self.editServerButton, 2, 2, 1, 1)
        self.label_4 = QtGui.QLabel(IrcNetworkEditDialog)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.channelList = QtGui.QTreeWidget(IrcNetworkEditDialog)
        self.channelList.setAlternatingRowColors(True)
        self.channelList.setRootIsDecorated(False)
        self.channelList.setItemsExpandable(False)
        self.channelList.setExpandsOnDoubleClick(False)
        self.channelList.setObjectName(_fromUtf8("channelList"))
        self.gridLayout.addWidget(self.channelList, 3, 1, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.addChannelButton = QtGui.QToolButton(IrcNetworkEditDialog)
        self.addChannelButton.setText(_fromUtf8(""))
        self.addChannelButton.setObjectName(_fromUtf8("addChannelButton"))
        self.verticalLayout.addWidget(self.addChannelButton)
        self.editChannelButton = QtGui.QToolButton(IrcNetworkEditDialog)
        self.editChannelButton.setText(_fromUtf8(""))
        self.editChannelButton.setObjectName(_fromUtf8("editChannelButton"))
        self.verticalLayout.addWidget(self.editChannelButton)
        self.deleteChannelButton = QtGui.QToolButton(IrcNetworkEditDialog)
        self.deleteChannelButton.setText(_fromUtf8(""))
        self.deleteChannelButton.setObjectName(_fromUtf8("deleteChannelButton"))
        self.verticalLayout.addWidget(self.deleteChannelButton)
        spacerItem = QtGui.QSpacerItem(20, 98, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 3, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(IrcNetworkEditDialog)
        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.serverEdit = QtGui.QLineEdit(IrcNetworkEditDialog)
        self.serverEdit.setReadOnly(True)
        self.serverEdit.setObjectName(_fromUtf8("serverEdit"))
        self.gridLayout.addWidget(self.serverEdit, 2, 1, 1, 1)

        self.retranslateUi(IrcNetworkEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), IrcNetworkEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), IrcNetworkEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(IrcNetworkEditDialog)
        IrcNetworkEditDialog.setTabOrder(self.networkEdit, self.identityCombo)
        IrcNetworkEditDialog.setTabOrder(self.identityCombo, self.editIdentitiesButton)
        IrcNetworkEditDialog.setTabOrder(self.editIdentitiesButton, self.serverEdit)
        IrcNetworkEditDialog.setTabOrder(self.serverEdit, self.editServerButton)
        IrcNetworkEditDialog.setTabOrder(self.editServerButton, self.channelList)
        IrcNetworkEditDialog.setTabOrder(self.channelList, self.addChannelButton)
        IrcNetworkEditDialog.setTabOrder(self.addChannelButton, self.editChannelButton)
        IrcNetworkEditDialog.setTabOrder(self.editChannelButton, self.deleteChannelButton)
        IrcNetworkEditDialog.setTabOrder(self.deleteChannelButton, self.buttonBox)

    def retranslateUi(self, IrcNetworkEditDialog):
        IrcNetworkEditDialog.setWindowTitle(_translate("IrcNetworkEditDialog", "IRC Network", None))
        self.label.setText(_translate("IrcNetworkEditDialog", "Network Name:", None))
        self.networkEdit.setToolTip(_translate("IrcNetworkEditDialog", "Enter the name of the IRC network", None))
        self.label_2.setText(_translate("IrcNetworkEditDialog", "Identity:", None))
        self.identityCombo.setToolTip(_translate("IrcNetworkEditDialog", "Select the identity to be used for the IRC network", None))
        self.editIdentitiesButton.setToolTip(_translate("IrcNetworkEditDialog", "Press to edit the identities", None))
        self.label_3.setText(_translate("IrcNetworkEditDialog", "Server:", None))
        self.editServerButton.setToolTip(_translate("IrcNetworkEditDialog", "Press to edit the server configuration", None))
        self.label_4.setText(_translate("IrcNetworkEditDialog", "Channels:", None))
        self.channelList.headerItem().setText(0, _translate("IrcNetworkEditDialog", "Channel", None))
        self.channelList.headerItem().setText(1, _translate("IrcNetworkEditDialog", "Join Automatically", None))
        self.addChannelButton.setToolTip(_translate("IrcNetworkEditDialog", "Press to add a new channel", None))
        self.editChannelButton.setToolTip(_translate("IrcNetworkEditDialog", "Press to edit the selected channel", None))
        self.deleteChannelButton.setToolTip(_translate("IrcNetworkEditDialog", "Press to delete the selected channel", None))
        self.serverEdit.setToolTip(_translate("IrcNetworkEditDialog", "Shows the name of the server", None))

