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

# Form implementation generated from reading ui file 'eric/E4Network/E4NetworkMonitor.ui'
#
# Created: Mon May 10 20:39:39 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_E4NetworkMonitor(object):
    def setupUi(self, E4NetworkMonitor):
        E4NetworkMonitor.setObjectName("E4NetworkMonitor")
        E4NetworkMonitor.resize(800, 600)
        E4NetworkMonitor.setSizeGripEnabled(True)
        self.verticalLayout_3 = QtGui.QVBoxLayout(E4NetworkMonitor)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtGui.QLabel(E4NetworkMonitor)
        self.label.setObjectName("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("horizontalLayout")
        self.searchEdit = QtGui.QLineEdit(E4NetworkMonitor)
        self.searchEdit.setObjectName("searchEdit")
        self.horizontalLayout.addWidget(self.searchEdit)
        self.clearButton = QtGui.QToolButton(E4NetworkMonitor)
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.requestsList = E4TableView(E4NetworkMonitor)
        self.requestsList.setAlternatingRowColors(True)
        self.requestsList.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.requestsList.setShowGrid(False)
        self.requestsList.setSortingEnabled(False)
        self.requestsList.setObjectName("requestsList")
        self.verticalLayout_3.addWidget(self.requestsList)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.removeButton = QtGui.QPushButton(E4NetworkMonitor)
        self.removeButton.setObjectName("removeButton")
        self.horizontalLayout_3.addWidget(self.removeButton)
        self.removeAllButton = QtGui.QPushButton(E4NetworkMonitor)
        self.removeAllButton.setObjectName("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(E4NetworkMonitor)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName("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("requestHeadersList")
        self.verticalLayout.addWidget(self.requestHeadersList)
        self.layoutWidget1 = QtGui.QWidget(self.splitter)
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_3 = QtGui.QLabel(self.layoutWidget1)
        self.label_3.setObjectName("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("responseHeadersList")
        self.verticalLayout_2.addWidget(self.responseHeadersList)
        self.verticalLayout_3.addWidget(self.splitter)
        self.buttonBox = QtGui.QDialogButtonBox(E4NetworkMonitor)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_3.addWidget(self.buttonBox)

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

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

from E4Gui.E4TableView import E4TableView
