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

# Form implementation generated from reading ui file 'router.ui'
#
# Created by: PyQt4 UI code generator 4.12
#
# 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_RouterWidget(object):
    def setupUi(self, RouterWidget):
        RouterWidget.setObjectName(_fromUtf8("RouterWidget"))
        RouterWidget.setWindowModality(QtCore.Qt.NonModal)
        RouterWidget.resize(1292, 663)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(RouterWidget.sizePolicy().hasHeightForWidth())
        RouterWidget.setSizePolicy(sizePolicy)
        RouterWidget.setFocusPolicy(QtCore.Qt.NoFocus)
        RouterWidget.setAutoFillBackground(False)
        RouterWidget.setStyleSheet(_fromUtf8(""))
        RouterWidget.setInputMethodHints(QtCore.Qt.ImhNone)
        self.verticalLayoutWidget = QtGui.QWidget(RouterWidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(120, 190, 441, 421))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.ipInput = QtGui.QLineEdit(self.verticalLayoutWidget)
        self.ipInput.setObjectName(_fromUtf8("ipInput"))
        self.horizontalLayout_2.addWidget(self.ipInput)
        self.maskInput = QtGui.QLineEdit(self.verticalLayoutWidget)
        self.maskInput.setObjectName(_fromUtf8("maskInput"))
        self.horizontalLayout_2.addWidget(self.maskInput)
        self.routeInput = QtGui.QLineEdit(self.verticalLayoutWidget)
        self.routeInput.setObjectName(_fromUtf8("routeInput"))
        self.horizontalLayout_2.addWidget(self.routeInput)
        self.addButton = QtGui.QPushButton(self.verticalLayoutWidget)
        self.addButton.setStyleSheet(_fromUtf8(""))
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.horizontalLayout_2.addWidget(self.addButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.routerTable = QtGui.QTableWidget(self.verticalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.routerTable.sizePolicy().hasHeightForWidth())
        self.routerTable.setSizePolicy(sizePolicy)
        self.routerTable.setStyleSheet(_fromUtf8(""))
        self.routerTable.setLineWidth(1)
        self.routerTable.setAutoScroll(False)
        self.routerTable.setAlternatingRowColors(True)
        self.routerTable.setWordWrap(True)
        self.routerTable.setRowCount(4)
        self.routerTable.setColumnCount(3)
        self.routerTable.setObjectName(_fromUtf8("routerTable"))
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        item.setFont(font)
        self.routerTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.routerTable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.routerTable.setHorizontalHeaderItem(2, item)
        self.routerTable.horizontalHeader().setVisible(True)
        self.routerTable.horizontalHeader().setCascadingSectionResizes(False)
        self.routerTable.horizontalHeader().setDefaultSectionSize(100)
        self.routerTable.horizontalHeader().setHighlightSections(False)
        self.routerTable.horizontalHeader().setMinimumSectionSize(57)
        self.routerTable.horizontalHeader().setStretchLastSection(False)
        self.routerTable.horizontalHeader().setResizeMode(QtGui.QHeaderView.Stretch)
        self.routerTable.verticalHeader().setSortIndicatorShown(False)
        self.routerTable.verticalHeader().setStretchLastSection(False)
        self.verticalLayout.addWidget(self.routerTable)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.removeButton = QtGui.QPushButton(self.verticalLayoutWidget)
        self.removeButton.setStyleSheet(_fromUtf8(""))
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.horizontalLayout.addWidget(self.removeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label = QtGui.QLabel(RouterWidget)
        self.label.setGeometry(QtCore.QRect(300, 130, 241, 31))
        self.label.setStyleSheet(_fromUtf8(""))
        self.label.setObjectName(_fromUtf8("label"))
        self.toolButton = QtGui.QToolButton(RouterWidget)
        self.toolButton.setGeometry(QtCore.QRect(10, 30, 24, 601))
        self.toolButton.setPopupMode(QtGui.QToolButton.InstantPopup)
        self.toolButton.setAutoRaise(True)
        self.toolButton.setArrowType(QtCore.Qt.LeftArrow)
        self.toolButton.setObjectName(_fromUtf8("toolButton"))
        self.physicalLOut = QtGui.QTextEdit(RouterWidget)
        self.physicalLOut.setGeometry(QtCore.QRect(650, 400, 571, 211))
        self.physicalLOut.setStyleSheet(_fromUtf8("font: 11pt \"Ubuntu Condensed\";"))
        self.physicalLOut.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.physicalLOut.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard|QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextBrowserInteraction|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.physicalLOut.setObjectName(_fromUtf8("physicalLOut"))
        self.label_4 = QtGui.QLabel(RouterWidget)
        self.label_4.setGeometry(QtCore.QRect(670, 120, 131, 17))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(RouterWidget)
        self.label_5.setGeometry(QtCore.QRect(660, 370, 131, 17))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.networkLOut = QtGui.QTextEdit(RouterWidget)
        self.networkLOut.setGeometry(QtCore.QRect(650, 150, 571, 211))
        self.networkLOut.setMouseTracking(True)
        self.networkLOut.setStyleSheet(_fromUtf8("font: 11pt \"Ubuntu Condensed\";"))
        self.networkLOut.setLineWrapMode(QtGui.QTextEdit.NoWrap)
        self.networkLOut.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
        self.networkLOut.setObjectName(_fromUtf8("networkLOut"))
        self.line = QtGui.QFrame(RouterWidget)
        self.line.setGeometry(QtCore.QRect(90, 30, 1151, 20))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.line_2 = QtGui.QFrame(RouterWidget)
        self.line_2.setGeometry(QtCore.QRect(90, 80, 1151, 20))
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.horizontalLayoutWidget = QtGui.QWidget(RouterWidget)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(300, 50, 921, 31))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.ipLabel = QtGui.QLabel(self.horizontalLayoutWidget)
        self.ipLabel.setObjectName(_fromUtf8("ipLabel"))
        self.horizontalLayout_3.addWidget(self.ipLabel)
        self.portLabel = QtGui.QLabel(self.horizontalLayoutWidget)
        self.portLabel.setObjectName(_fromUtf8("portLabel"))
        self.horizontalLayout_3.addWidget(self.portLabel)
        self.startButton = QtGui.QPushButton(self.horizontalLayoutWidget)
        self.startButton.setStyleSheet(_fromUtf8(""))
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.horizontalLayout_3.addWidget(self.startButton)

        self.retranslateUi(RouterWidget)
        QtCore.QMetaObject.connectSlotsByName(RouterWidget)

    def retranslateUi(self, RouterWidget):
        RouterWidget.setWindowTitle(_translate("RouterWidget", "Router", None))
        self.ipInput.setText(_translate("RouterWidget", "IP", None))
        self.maskInput.setText(_translate("RouterWidget", "Mask", None))
        self.routeInput.setText(_translate("RouterWidget", "Rota", None))
        self.addButton.setText(_translate("RouterWidget", "Add", None))
        item = self.routerTable.horizontalHeaderItem(0)
        item.setText(_translate("RouterWidget", "IP", None))
        item = self.routerTable.horizontalHeaderItem(1)
        item.setText(_translate("RouterWidget", "Mask", None))
        item = self.routerTable.horizontalHeaderItem(2)
        item.setText(_translate("RouterWidget", "Gateway", None))
        self.removeButton.setText(_translate("RouterWidget", "Remove", None))
        self.label.setText(_translate("RouterWidget", "Router Table", None))
        self.toolButton.setText(_translate("RouterWidget", "...", None))
        self.label_4.setText(_translate("RouterWidget", "Network Layer", None))
        self.label_5.setText(_translate("RouterWidget", "Physical Layer", None))
        self.ipLabel.setText(_translate("RouterWidget", "IP:  ", None))
        self.portLabel.setText(_translate("RouterWidget", "Port:", None))
        self.startButton.setText(_translate("RouterWidget", "Start", None))

