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

# Form implementation generated from reading ui file 'eric/Network/IRC/IrcNetworkListDialog.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_IrcNetworkListDialog(object):
    def setupUi(self, IrcNetworkListDialog):
        IrcNetworkListDialog.setObjectName(_fromUtf8("IrcNetworkListDialog"))
        IrcNetworkListDialog.resize(500, 350)
        IrcNetworkListDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(IrcNetworkListDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.networksList = QtGui.QTreeWidget(IrcNetworkListDialog)
        self.networksList.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.networksList.setAlternatingRowColors(True)
        self.networksList.setColumnCount(2)
        self.networksList.setObjectName(_fromUtf8("networksList"))
        self.networksList.headerItem().setText(0, _fromUtf8("1"))
        self.networksList.headerItem().setText(1, _fromUtf8("2"))
        self.networksList.header().setVisible(False)
        self.gridLayout.addWidget(self.networksList, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.newButton = QtGui.QPushButton(IrcNetworkListDialog)
        self.newButton.setObjectName(_fromUtf8("newButton"))
        self.verticalLayout.addWidget(self.newButton)
        self.editButton = QtGui.QPushButton(IrcNetworkListDialog)
        self.editButton.setObjectName(_fromUtf8("editButton"))
        self.verticalLayout.addWidget(self.editButton)
        self.deleteButton = QtGui.QPushButton(IrcNetworkListDialog)
        self.deleteButton.setObjectName(_fromUtf8("deleteButton"))
        self.verticalLayout.addWidget(self.deleteButton)
        self.autoConnectButton = QtGui.QPushButton(IrcNetworkListDialog)
        self.autoConnectButton.setCheckable(True)
        self.autoConnectButton.setObjectName(_fromUtf8("autoConnectButton"))
        self.verticalLayout.addWidget(self.autoConnectButton)
        self.line = QtGui.QFrame(IrcNetworkListDialog)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.editIdentitiesButton = QtGui.QPushButton(IrcNetworkListDialog)
        self.editIdentitiesButton.setObjectName(_fromUtf8("editIdentitiesButton"))
        self.verticalLayout.addWidget(self.editIdentitiesButton)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(IrcNetworkListDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)

        self.retranslateUi(IrcNetworkListDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), IrcNetworkListDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), IrcNetworkListDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(IrcNetworkListDialog)
        IrcNetworkListDialog.setTabOrder(self.networksList, self.newButton)
        IrcNetworkListDialog.setTabOrder(self.newButton, self.editButton)
        IrcNetworkListDialog.setTabOrder(self.editButton, self.deleteButton)
        IrcNetworkListDialog.setTabOrder(self.deleteButton, self.autoConnectButton)
        IrcNetworkListDialog.setTabOrder(self.autoConnectButton, self.editIdentitiesButton)
        IrcNetworkListDialog.setTabOrder(self.editIdentitiesButton, self.buttonBox)

    def retranslateUi(self, IrcNetworkListDialog):
        IrcNetworkListDialog.setWindowTitle(_translate("IrcNetworkListDialog", "IRC Networks", None))
        self.newButton.setToolTip(_translate("IrcNetworkListDialog", "Press to define a new network", None))
        self.newButton.setText(_translate("IrcNetworkListDialog", "&New...", None))
        self.editButton.setToolTip(_translate("IrcNetworkListDialog", "Press to edit the selected network", None))
        self.editButton.setText(_translate("IrcNetworkListDialog", "&Edit...", None))
        self.deleteButton.setToolTip(_translate("IrcNetworkListDialog", "Press to delete the selected network", None))
        self.deleteButton.setText(_translate("IrcNetworkListDialog", "&Delete", None))
        self.autoConnectButton.setToolTip(_translate("IrcNetworkListDialog", "Press to  toggle the auto-connect flag of the selected network", None))
        self.autoConnectButton.setText(_translate("IrcNetworkListDialog", "&Auto-Connect", None))
        self.editIdentitiesButton.setToolTip(_translate("IrcNetworkListDialog", "Press to edit the identities", None))
        self.editIdentitiesButton.setText(_translate("IrcNetworkListDialog", "Edit &Identities...", None))

