
#!/usr/bin/env python
# Generated by pykdeuic4 from guidedogwindow2.ui on Wed Jan 30 23:22:56 2008
#
# WARNING! All changes to this file will be lost.
from PyKDE4 import kdecore
from PyKDE4 import kdeui
from PyQt4 import QtCore, QtGui

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,563,623).size()).expandedTo(Dialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(Dialog)
        self.vboxlayout.setObjectName("vboxlayout")

        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")

        self.routingpage = QtGui.QWidget()
        self.routingpage.setObjectName("routingpage")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.routingpage)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setMargin(9)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.routingcheckbox = QtGui.QCheckBox(self.routingpage)
        self.routingcheckbox.setObjectName("routingcheckbox")
        self.vboxlayout1.addWidget(self.routingcheckbox)

        self.groupBox = QtGui.QGroupBox(self.routingpage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setSizeIncrement(QtCore.QSize(1,1))
        self.groupBox.setObjectName("groupBox")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setMargin(9)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.masqueradecheckbox = QtGui.QCheckBox(self.groupBox)
        self.masqueradecheckbox.setObjectName("masqueradecheckbox")
        self.vboxlayout2.addWidget(self.masqueradecheckbox)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(0)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)

        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setMargin(0)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.masqueradeftpcheckbox = QtGui.QCheckBox(self.groupBox)
        self.masqueradeftpcheckbox.setObjectName("masqueradeftpcheckbox")
        self.vboxlayout3.addWidget(self.masqueradeftpcheckbox)

        self.masqueradeirccheckbox = QtGui.QCheckBox(self.groupBox)
        self.masqueradeirccheckbox.setObjectName("masqueradeirccheckbox")
        self.vboxlayout3.addWidget(self.masqueradeirccheckbox)
        self.hboxlayout.addLayout(self.vboxlayout3)
        self.vboxlayout2.addLayout(self.hboxlayout)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.label = QtGui.QLabel(self.groupBox)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.hboxlayout1.addWidget(self.label)

        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.hboxlayout1.addWidget(self.line)
        self.vboxlayout2.addLayout(self.hboxlayout1)

        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.vboxlayout2.addWidget(self.label_2)

        self.nomasqlistbox = QtGui.QListWidget(self.groupBox)
        self.nomasqlistbox.setObjectName("nomasqlistbox")
        self.vboxlayout2.addWidget(self.nomasqlistbox)

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setObjectName("hboxlayout2")

        self.newnomasqbutton = QtGui.QPushButton(self.groupBox)
        self.newnomasqbutton.setObjectName("newnomasqbutton")
        self.hboxlayout2.addWidget(self.newnomasqbutton)

        self.deleteenomasqbutton = QtGui.QPushButton(self.groupBox)
        self.deleteenomasqbutton.setObjectName("deleteenomasqbutton")
        self.hboxlayout2.addWidget(self.deleteenomasqbutton)
        self.vboxlayout2.addLayout(self.hboxlayout2)

        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setSpacing(6)
        self.hboxlayout3.setMargin(0)
        self.hboxlayout3.setObjectName("hboxlayout3")

        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.hboxlayout3.addWidget(self.label_3)

        self.nomasqlineedit = QtGui.QLineEdit(self.groupBox)
        self.nomasqlineedit.setObjectName("nomasqlineedit")
        self.hboxlayout3.addWidget(self.nomasqlineedit)
        self.vboxlayout2.addLayout(self.hboxlayout3)

        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setWordWrap(True)
        self.label_4.setObjectName("label_4")
        self.vboxlayout2.addWidget(self.label_4)
        self.vboxlayout1.addWidget(self.groupBox)
        self.tabWidget.addTab(self.routingpage,"")

        self.forwardingpage = QtGui.QWidget()
        self.forwardingpage.setObjectName("forwardingpage")

        self.vboxlayout4 = QtGui.QVBoxLayout(self.forwardingpage)
        self.vboxlayout4.setSpacing(6)
        self.vboxlayout4.setMargin(9)
        self.vboxlayout4.setObjectName("vboxlayout4")

        self.label_5 = QtGui.QLabel(self.forwardingpage)
        self.label_5.setObjectName("label_5")
        self.vboxlayout4.addWidget(self.label_5)

        self.forwardlistbox = QtGui.QListWidget(self.forwardingpage)
        self.forwardlistbox.setObjectName("forwardlistbox")
        self.vboxlayout4.addWidget(self.forwardlistbox)

        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setSpacing(6)
        self.hboxlayout4.setMargin(0)
        self.hboxlayout4.setObjectName("hboxlayout4")

        self.newforwardbutton = QtGui.QPushButton(self.forwardingpage)
        self.newforwardbutton.setObjectName("newforwardbutton")
        self.hboxlayout4.addWidget(self.newforwardbutton)

        self.deleteforwardbutton = QtGui.QPushButton(self.forwardingpage)
        self.deleteforwardbutton.setObjectName("deleteforwardbutton")
        self.hboxlayout4.addWidget(self.deleteforwardbutton)
        self.vboxlayout4.addLayout(self.hboxlayout4)

        self.hboxlayout5 = QtGui.QHBoxLayout()
        self.hboxlayout5.setSpacing(6)
        self.hboxlayout5.setMargin(0)
        self.hboxlayout5.setObjectName("hboxlayout5")

        self.groupBox_2 = QtGui.QGroupBox(self.forwardingpage)
        self.groupBox_2.setObjectName("groupBox_2")

        self.vboxlayout5 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout5.setSpacing(6)
        self.vboxlayout5.setMargin(9)
        self.vboxlayout5.setObjectName("vboxlayout5")

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.originalportspinbox = QtGui.QSpinBox(self.groupBox_2)
        self.originalportspinbox.setMaximum(65535)
        self.originalportspinbox.setObjectName("originalportspinbox")
        self.gridlayout.addWidget(self.originalportspinbox,0,2,1,1)

        self.label_9 = QtGui.QLabel(self.groupBox_2)
        self.label_9.setObjectName("label_9")
        self.gridlayout.addWidget(self.label_9,1,0,1,1)

        self.portprotocolcombobox = QtGui.QComboBox(self.groupBox_2)
        self.portprotocolcombobox.setObjectName("portprotocolcombobox")
        self.gridlayout.addWidget(self.portprotocolcombobox,0,1,1,1)

        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setObjectName("label_8")
        self.gridlayout.addWidget(self.label_8,0,0,1,1)
        self.vboxlayout5.addLayout(self.gridlayout)

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.originalthismachineradio = QtGui.QRadioButton(self.groupBox_2)
        self.originalthismachineradio.setObjectName("originalthismachineradio")
        self.gridlayout1.addWidget(self.originalthismachineradio,0,1,1,2)

        spacerItem1 = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1,0,0,1,1)

        self.originalspecifyradio = QtGui.QRadioButton(self.groupBox_2)
        self.originalspecifyradio.setObjectName("originalspecifyradio")
        self.gridlayout1.addWidget(self.originalspecifyradio,1,1,1,1)

        self.originalspecifylineedit = QtGui.QLineEdit(self.groupBox_2)
        self.originalspecifylineedit.setObjectName("originalspecifylineedit")
        self.gridlayout1.addWidget(self.originalspecifylineedit,1,2,1,1)
        self.vboxlayout5.addLayout(self.gridlayout1)
        self.hboxlayout5.addWidget(self.groupBox_2)

        self.label_7 = QtGui.QLabel(self.forwardingpage)
        self.label_7.setObjectName("label_7")
        self.hboxlayout5.addWidget(self.label_7)

        self.groupBox_3 = QtGui.QGroupBox(self.forwardingpage)
        self.groupBox_3.setObjectName("groupBox_3")

        self.vboxlayout6 = QtGui.QVBoxLayout(self.groupBox_3)
        self.vboxlayout6.setSpacing(6)
        self.vboxlayout6.setMargin(9)
        self.vboxlayout6.setObjectName("vboxlayout6")

        self.gridlayout2 = QtGui.QGridLayout()
        self.gridlayout2.setMargin(0)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.label_10 = QtGui.QLabel(self.groupBox_3)
        self.label_10.setObjectName("label_10")
        self.gridlayout2.addWidget(self.label_10,1,0,1,1)

        self.newportspinbox = QtGui.QSpinBox(self.groupBox_3)
        self.newportspinbox.setMaximum(65535)
        self.newportspinbox.setObjectName("newportspinbox")
        self.gridlayout2.addWidget(self.newportspinbox,0,1,1,1)

        self.label_11 = QtGui.QLabel(self.groupBox_3)
        self.label_11.setObjectName("label_11")
        self.gridlayout2.addWidget(self.label_11,0,0,1,1)
        self.vboxlayout6.addLayout(self.gridlayout2)

        self.gridlayout3 = QtGui.QGridLayout()
        self.gridlayout3.setMargin(0)
        self.gridlayout3.setSpacing(6)
        self.gridlayout3.setObjectName("gridlayout3")

        self.newthismachineradio = QtGui.QRadioButton(self.groupBox_3)
        self.newthismachineradio.setObjectName("newthismachineradio")
        self.gridlayout3.addWidget(self.newthismachineradio,0,1,1,2)

        spacerItem2 = QtGui.QSpacerItem(21,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout3.addItem(spacerItem2,0,0,1,1)

        self.newspecifyradio = QtGui.QRadioButton(self.groupBox_3)
        self.newspecifyradio.setObjectName("newspecifyradio")
        self.gridlayout3.addWidget(self.newspecifyradio,1,1,1,1)

        self.newspecifylineedit = QtGui.QLineEdit(self.groupBox_3)
        self.newspecifylineedit.setObjectName("newspecifylineedit")
        self.gridlayout3.addWidget(self.newspecifylineedit,1,2,1,1)
        self.vboxlayout6.addLayout(self.gridlayout3)
        self.hboxlayout5.addWidget(self.groupBox_3)
        self.vboxlayout4.addLayout(self.hboxlayout5)

        self.hboxlayout6 = QtGui.QHBoxLayout()
        self.hboxlayout6.setSpacing(6)
        self.hboxlayout6.setMargin(0)
        self.hboxlayout6.setObjectName("hboxlayout6")

        self.label_6 = QtGui.QLabel(self.forwardingpage)
        self.label_6.setObjectName("label_6")
        self.hboxlayout6.addWidget(self.label_6)

        self.commentlineedit = QtGui.QLineEdit(self.forwardingpage)
        self.commentlineedit.setObjectName("commentlineedit")
        self.hboxlayout6.addWidget(self.commentlineedit)
        self.vboxlayout4.addLayout(self.hboxlayout6)
        self.tabWidget.addTab(self.forwardingpage,"")

        self.advancedpage = QtGui.QWidget()
        self.advancedpage.setObjectName("advancedpage")

        self.vboxlayout7 = QtGui.QVBoxLayout(self.advancedpage)
        self.vboxlayout7.setSpacing(6)
        self.vboxlayout7.setMargin(9)
        self.vboxlayout7.setObjectName("vboxlayout7")

        self.disablecheckbox = QtGui.QCheckBox(self.advancedpage)
        self.disablecheckbox.setObjectName("disablecheckbox")
        self.vboxlayout7.addWidget(self.disablecheckbox)

        self.groupBox_4 = QtGui.QGroupBox(self.advancedpage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
        self.groupBox_4.setSizePolicy(sizePolicy)
        self.groupBox_4.setObjectName("groupBox_4")

        self.vboxlayout8 = QtGui.QVBoxLayout(self.groupBox_4)
        self.vboxlayout8.setSpacing(6)
        self.vboxlayout8.setMargin(9)
        self.vboxlayout8.setObjectName("vboxlayout8")

        self.label_12 = QtGui.QLabel(self.groupBox_4)
        self.label_12.setObjectName("label_12")
        self.vboxlayout8.addWidget(self.label_12)

        self.descriptionedit = QtGui.QTextEdit(self.groupBox_4)
        self.descriptionedit.setObjectName("descriptionedit")
        self.vboxlayout8.addWidget(self.descriptionedit)

        self.hboxlayout7 = QtGui.QHBoxLayout()
        self.hboxlayout7.setSpacing(6)
        self.hboxlayout7.setMargin(0)
        self.hboxlayout7.setObjectName("hboxlayout7")

        self.importbutton = QtGui.QPushButton(self.groupBox_4)
        self.importbutton.setObjectName("importbutton")
        self.hboxlayout7.addWidget(self.importbutton)

        self.exportbutton = QtGui.QPushButton(self.groupBox_4)
        self.exportbutton.setObjectName("exportbutton")
        self.hboxlayout7.addWidget(self.exportbutton)
        self.vboxlayout8.addLayout(self.hboxlayout7)
        self.vboxlayout7.addWidget(self.groupBox_4)
        self.tabWidget.addTab(self.advancedpage,"")
        self.vboxlayout.addWidget(self.tabWidget)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(kdecore.i18n("Form"))
        self.routingcheckbox.setText(kdecore.i18n("Enable routing"))
        self.groupBox.setTitle(kdecore.i18n("IP Masquerade"))
        self.masqueradecheckbox.setText(kdecore.i18n("Enable IP Masquerade"))
        self.masqueradeftpcheckbox.setText(kdecore.i18n("Masquerade FTP"))
        self.masqueradeirccheckbox.setText(kdecore.i18n("Masquerade IRC"))
        self.label.setText(kdecore.i18n("No-masquerade addresses"))
        self.label_2.setText(kdecore.i18n("Network destinations that should be contacted without using IP masquerade: "))
        self.newnomasqbutton.setText(kdecore.i18n("New Address"))
        self.deleteenomasqbutton.setText(kdecore.i18n("Delete Address"))
        self.label_3.setText(kdecore.i18n("Address:"))
        self.label_4.setText(kdecore.i18n("Addresses can be host names, network names or IP addresses. Masks can be specified as network masks or plain numbers. e.g. 192.168.1.0/255.255.255.0 or 192.168.1.0/24"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.routingpage), kdecore.i18n("Routing"))
        self.label_5.setText(kdecore.i18n("Port forwarding rules:"))
        self.newforwardbutton.setText(kdecore.i18n("New rule"))
        self.deleteforwardbutton.setText(kdecore.i18n("Delete rule"))
        self.groupBox_2.setTitle(kdecore.i18n("Original destination"))
        self.label_9.setText(kdecore.i18n("IP Address:"))
        self.portprotocolcombobox.addItem(kdecore.i18n("TCP"))
        self.portprotocolcombobox.addItem(kdecore.i18n("UDP"))
        self.label_8.setText(kdecore.i18n("Port:"))
        self.originalthismachineradio.setText(kdecore.i18n("This machine"))
        self.originalspecifyradio.setText(kdecore.i18n("Specify:"))
        self.label_7.setText(kdecore.i18n("->"))
        self.groupBox_3.setTitle(kdecore.i18n("New destination"))
        self.label_10.setText(kdecore.i18n("IP Address:"))
        self.label_11.setText(kdecore.i18n("Port:"))
        self.newthismachineradio.setText(kdecore.i18n("This machine"))
        self.newspecifyradio.setText(kdecore.i18n("Specify:"))
        self.label_6.setText(kdecore.i18n("Comment:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.forwardingpage), kdecore.i18n("Forwarding"))
        self.disablecheckbox.setText(kdecore.i18n("Disable Guidedog"))
        self.groupBox_4.setTitle(kdecore.i18n("Import/Export"))
        self.label_12.setText(kdecore.i18n("Description:"))
        self.importbutton.setText(kdecore.i18n("Import..."))
        self.exportbutton.setText(kdecore.i18n("Export..."))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.advancedpage), kdecore.i18n("Advanced"))

