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

# Form implementation generated from reading ui file 'eric/E5Network/E5NetworkMonitor.ui'
#
# Created: Tue Oct 28 07:22:45 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_E5NetworkMonitor(object):
    def setupUi(self, E5NetworkMonitor):
        E5NetworkMonitor.setObjectName(_fromUtf8("E5NetworkMonitor"))
        E5NetworkMonitor.resize(800, 600)
        E5NetworkMonitor.setSizeGripEnabled(True)
        self.verticalLayout_3 = QtGui.QVBoxLayout(E5NetworkMonitor)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label = QtGui.QLabel(E5NetworkMonitor)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_2.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.searchEdit = E5ClearableLineEdit(E5NetworkMonitor)
        self.searchEdit.setMinimumSize(QtCore.QSize(350, 0))
        self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
        self.horizontalLayout.addWidget(self.searchEdit)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.requestsList = E5TableView(E5NetworkMonitor)
        self.requestsList.setAlternatingRowColors(True)
        self.requestsList.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.requestsList.setShowGrid(False)
        self.requestsList.setSortingEnabled(False)
        self.requestsList.setObjectName(_fromUtf8("requestsList"))
        self.verticalLayout_3.addWidget(self.requestsList)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.removeButton = QtGui.QPushButton(E5NetworkMonitor)
        self.removeButton.setAutoDefault(False)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.horizontalLayout_3.addWidget(self.removeButton)
        self.removeAllButton = QtGui.QPushButton(E5NetworkMonitor)
        self.removeAllButton.setAutoDefault(False)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.horizontalLayout_3.addWidget(self.removeAllButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.splitter = QtGui.QSplitter(E5NetworkMonitor)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.requestHeadersList = QtGui.QTableView(self.layoutWidget)
        self.requestHeadersList.setAlternatingRowColors(True)
        self.requestHeadersList.setShowGrid(False)
        self.requestHeadersList.setSortingEnabled(False)
        self.requestHeadersList.setObjectName(_fromUtf8("requestHeadersList"))
        self.verticalLayout.addWidget(self.requestHeadersList)
        self.layoutWidget1 = QtGui.QWidget(self.splitter)
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_3 = QtGui.QLabel(self.layoutWidget1)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_2.addWidget(self.label_3)
        self.responseHeadersList = QtGui.QTableView(self.layoutWidget1)
        self.responseHeadersList.setAlternatingRowColors(True)
        self.responseHeadersList.setShowGrid(False)
        self.responseHeadersList.setSortingEnabled(False)
        self.responseHeadersList.setObjectName(_fromUtf8("responseHeadersList"))
        self.verticalLayout_2.addWidget(self.responseHeadersList)
        self.verticalLayout_3.addWidget(self.splitter)
        self.buttonBox = QtGui.QDialogButtonBox(E5NetworkMonitor)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(E5NetworkMonitor)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), E5NetworkMonitor.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), E5NetworkMonitor.reject)
        QtCore.QMetaObject.connectSlotsByName(E5NetworkMonitor)
        E5NetworkMonitor.setTabOrder(self.searchEdit, self.requestsList)
        E5NetworkMonitor.setTabOrder(self.requestsList, self.removeButton)
        E5NetworkMonitor.setTabOrder(self.removeButton, self.removeAllButton)
        E5NetworkMonitor.setTabOrder(self.removeAllButton, self.requestHeadersList)
        E5NetworkMonitor.setTabOrder(self.requestHeadersList, self.responseHeadersList)
        E5NetworkMonitor.setTabOrder(self.responseHeadersList, self.buttonBox)

    def retranslateUi(self, E5NetworkMonitor):
        E5NetworkMonitor.setWindowTitle(_translate("E5NetworkMonitor", "Network Monitor", None))
        self.label.setText(_translate("E5NetworkMonitor", "Network Requests", None))
        self.searchEdit.setToolTip(_translate("E5NetworkMonitor", "Enter search term for requests", None))
        self.removeButton.setToolTip(_translate("E5NetworkMonitor", "Press to remove the selected requests", None))
        self.removeButton.setText(_translate("E5NetworkMonitor", "&Remove", None))
        self.removeAllButton.setToolTip(_translate("E5NetworkMonitor", "Press to remove all requests", None))
        self.removeAllButton.setText(_translate("E5NetworkMonitor", "Remove &All", None))
        self.label_2.setText(_translate("E5NetworkMonitor", "Request Headers", None))
        self.label_3.setText(_translate("E5NetworkMonitor", "Response Headers", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
from E5Gui.E5TableView import E5TableView
