只允许输入1-65535 之间de 数字
portLineEdit = new QLineEdit; portLineEdit->setValidator(new QIntValidator(1, 65535, this));
posted on 2012-11-27 13:20 GIS-MAN 阅读(231) 评论(0) 编辑 收藏 举报