IntValidator QML Type
정수 값에 대한 유효성 검사기를 정의합니다. 더 보기...
Import Statement: | import QtQuick |
In C++: | QIntValidator |
속성
상세 설명
IntValidator 유형은 정수 값에 대한 유효성 검사기를 제공합니다.
locale 이 설정되지 않은 경우 IntValidator는 default locale 을 사용하여 숫자를 해석하며 로캘별 숫자, 그룹 구분 기호, 양수 및 음수 부호를 허용합니다. 또한 IntValidator는 항상 "C" 로캘에 따라 형식이 지정된 숫자를 받도록 보장합니다.
DoubleValidator, RegularExpressionValidator, 및 입력 텍스트 유효성검사도 참조하세요 .
프로퍼티 문서
bottom : int |
이 프로퍼티는 유효성 검사기의 허용 가능한 최저값을 저장합니다. 기본적으로 이 속성의 값은 사용 가능한 가장 낮은 부호가 있는 정수(일반적으로 -2147483647)에서 파생됩니다.
top : int |
이 속성은 유효성 검사기의 허용 가능한 최고 값을 보유합니다. 기본적으로 이 속성의 값은 사용 가능한 가장 높은 부호가 있는 정수(일반적으로 2147483647)에서 파생됩니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.