只允许输入1-65535 之间de 数字
portLineEdit = new QLineEdit; portLineEdit->setValidator(new QIntValidator(1, 65535, this));