# Path: ui/Ui_CreateTcpServerForm.py
# class Ui_CreateTcpServerForm(object):
#     def setupUi(self, CreateTcpServerForm):
#         CreateTcpServerForm.setObjectName(_fromUtf8("CreateTcpServerForm"))
#         CreateTcpServerForm.resize(344, 147)
#         self.gridLayout = QtGui.QGridLayout(CreateTcpServerForm)
#         self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
#         spacerItem = QtGui.QSpacerItem(20, 29, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
#         self.gridLayout.addItem(spacerItem, 0, 0, 1, 1)
#         self.horizontalLayout_3 = QtGui.QHBoxLayout()
#         self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
#         self.label_2 = QtGui.QLabel(CreateTcpServerForm)
#         self.label_2.setMaximumSize(QtCore.QSize(54, 16777215))
#         self.label_2.setObjectName(_fromUtf8("label_2"))
#         self.horizontalLayout_3.addWidget(self.label_2)
#         self.ipCmbBox = QtGui.QComboBox(CreateTcpServerForm)
#         self.ipCmbBox.setObjectName(_fromUtf8("ipCmbBox"))
#         self.horizontalLayout_3.addWidget(self.ipCmbBox)
#         self.gridLayout.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
#         self.horizontalLayout = QtGui.QHBoxLayout()
#         self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
#         self.label = QtGui.QLabel(CreateTcpServerForm)
#         self.label.setMaximumSize(QtCore.QSize(54, 16777215))
#         self.label.setObjectName(_fromUtf8("label"))
#         self.horizontalLayout.addWidget(self.label)
#         self.portCmbBox = QtGui.QComboBox(CreateTcpServerForm)
#         self.portCmbBox.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
#         self.portCmbBox.setEditable(True)
#         self.portCmbBox.setObjectName(_fromUtf8("portCmbBox"))
#         self.horizontalLayout.addWidget(self.portCmbBox)
#         self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
#         spacerItem1 = QtGui.QSpacerItem(20, 29, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
#         self.gridLayout.addItem(spacerItem1, 3, 0, 1, 1)
#         self.horizontalLayout_2 = QtGui.QHBoxLayout()
#         self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
#         spacerItem2 = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
#         self.horizontalLayout_2.addItem(spacerItem2)
#         self.okBtn = QtGui.QPushButton(CreateTcpServerForm)
#         self.okBtn.setObjectName(_fromUtf8("okBtn"))
#         self.horizontalLayout_2.addWidget(self.okBtn)
#         self.cancelBtn = QtGui.QPushButton(CreateTcpServerForm)
#         self.cancelBtn.setObjectName(_fromUtf8("cancelBtn"))
#         self.horizontalLayout_2.addWidget(self.cancelBtn)
#         self.gridLayout.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
# 
#         self.retranslateUi(CreateTcpServerForm)
#         QtCore.QMetaObject.connectSlotsByName(CreateTcpServerForm)
# 
#     def retranslateUi(self, CreateTcpServerForm):
#         CreateTcpServerForm.setWindowTitle(_translate("CreateTcpServerForm", "创建TCP服务器", None))
#         self.label_2.setText(_translate("CreateTcpServerForm", "监听地址", None))
#         self.label.setText(_translate("CreateTcpServerForm", "监听端口", None))
#         self.okBtn.setText(_translate("CreateTcpServerForm", "确定", None))
#         self.cancelBtn.setText(_translate("CreateTcpServerForm", "取消", None))


import utils
import signals
import config
import error
from CreateDialog import CreateDialog
from ui.Ui_CreateTcpServerForm import Ui_CreateTcpServerForm
from PyQt4 import QtGui
from PyQt4 import QtCore
#-*- coding: utf-8 -*-

class CreateTcpServerDialog(CreateDialog):
	
    def __init__(self, parent=None):
        CreateDialog.__init__(self)
        self.okSig = signals.SIG_CREATE_TCP_SERVER

# Path: ui/Ui_CreateTcpServerForm.py
# class Ui_CreateTcpServerForm(object):
#     def setupUi(self, CreateTcpServerForm):
#         CreateTcpServerForm.setObjectName(_fromUtf8("CreateTcpServerForm"))
#         CreateTcpServerForm.resize(344, 147)
#         self.gridLayout = QtGui.QGridLayout(CreateTcpServerForm)
#         self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
#         spacerItem = QtGui.QSpacerItem(20, 29, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
#         self.gridLayout.addItem(spacerItem, 0, 0, 1, 1)
#         self.horizontalLayout_3 = QtGui.QHBoxLayout()
#         self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
#         self.label_2 = QtGui.QLabel(CreateTcpServerForm)
#         self.label_2.setMaximumSize(QtCore.QSize(54, 16777215))
#         self.label_2.setObjectName(_fromUtf8("label_2"))
#         self.horizontalLayout_3.addWidget(self.label_2)
#         self.ipCmbBox = QtGui.QComboBox(CreateTcpServerForm)
#         self.ipCmbBox.setObjectName(_fromUtf8("ipCmbBox"))
#         self.horizontalLayout_3.addWidget(self.ipCmbBox)
#         self.gridLayout.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
#         self.horizontalLayout = QtGui.QHBoxLayout()
#         self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
#         self.label = QtGui.QLabel(CreateTcpServerForm)
#         self.label.setMaximumSize(QtCore.QSize(54, 16777215))
#         self.label.setObjectName(_fromUtf8("label"))
#         self.horizontalLayout.addWidget(self.label)
#         self.portCmbBox = QtGui.QComboBox(CreateTcpServerForm)
#         self.portCmbBox.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
#         self.portCmbBox.setEditable(True)
#         self.portCmbBox.setObjectName(_fromUtf8("portCmbBox"))
#         self.horizontalLayout.addWidget(self.portCmbBox)
#         self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
#         spacerItem1 = QtGui.QSpacerItem(20, 29, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
#         self.gridLayout.addItem(spacerItem1, 3, 0, 1, 1)
#         self.horizontalLayout_2 = QtGui.QHBoxLayout()
#         self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
#         spacerItem2 = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
#         self.horizontalLayout_2.addItem(spacerItem2)
#         self.okBtn = QtGui.QPushButton(CreateTcpServerForm)
#         self.okBtn.setObjectName(_fromUtf8("okBtn"))
#         self.horizontalLayout_2.addWidget(self.okBtn)
#         self.cancelBtn = QtGui.QPushButton(CreateTcpServerForm)
#         self.cancelBtn.setObjectName(_fromUtf8("cancelBtn"))
#         self.horizontalLayout_2.addWidget(self.cancelBtn)
#         self.gridLayout.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
# 
#         self.retranslateUi(CreateTcpServerForm)
#         QtCore.QMetaObject.connectSlotsByName(CreateTcpServerForm)
# 
#     def retranslateUi(self, CreateTcpServerForm):
#         CreateTcpServerForm.setWindowTitle(_translate("CreateTcpServerForm", "创建TCP服务器", None))
#         self.label_2.setText(_translate("CreateTcpServerForm", "监听地址", None))
#         self.label.setText(_translate("CreateTcpServerForm", "监听端口", None))
#         self.okBtn.setText(_translate("CreateTcpServerForm", "确定", None))
#         self.cancelBtn.setText(_translate("CreateTcpServerForm", "取消", None))


# Path: form/CreateTcpServerDialog.py
import utils
import signals
import config
import error
from CreateDialog import CreateDialog
from ui.Ui_CreateTcpServerForm import Ui_CreateTcpServerForm
from PyQt4 import QtGui
from PyQt4 import QtCore

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

class CreateTcpServerDialog(CreateDialog):
	
    def __init__(self, parent=None):
        CreateDialog.__init__(self)
        self.okSig = signals.SIG_CREATE_TCP_SERVER

        self.ui = Ui_CreateTcpServerForm()