RoundButton QML Type
사용자가 클릭할 수 있는 모서리가 둥근 푸시 버튼 컨트롤입니다. 더 보기...
Import Statement: | import QtQuick.Controls |
Inherits: |
속성
- radius : real
상세 설명
RoundButton은 Button 과 동일하지만 radius 속성이 있어 배경을 사용자 지정하지 않고도 모서리를 둥글게 만들 수 있다는 점이 다릅니다.
RoundButton { text: "\u2713" // Unicode Character 'CHECK MARK' onClicked: textArea.readOnly = true }
RoundButton 및 버튼 컨트롤사용자 지정하기를참조하세요 .
속성 문서
radius : real |
이 속성은 버튼의 반지름을 보유합니다.
모서리가 약간 둥근 비교적 정사각형 버튼을 만들려면 3
과 같은 작은 값을 사용합니다.
완전히 원형인 버튼(기본값)을 만들려면 버튼 너비 또는 높이의 절반에 해당하는 값을 사용하고 버튼의 너비와 높이를 동일하게 만듭니다.
이 속성을 기본값으로 다시 설정하려면 해당 값을 undefined
으로 설정합니다.
© 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.