RoundButton QML Type
ユーザーがクリックできる、角が丸いプッシュボタンコントロール。詳細...
| Import Statement: | import QtQuick.Controls |
| Inherits: |
プロパティ
- radius : real
詳細な説明

RoundButtonはButton と全く同じですが、radius プロパティを持ち、background をカスタマイズすることなく角を丸くすることができる点が異なります。
RoundButton {
text: "\u2713" // Unicode Character 'CHECK MARK'
onClicked: textArea.readOnly = true
}「RoundButtonおよびButton コントロールのカスタマイズ」も参照してください 。
プロパティのドキュメント
radius : real
このプロパティは、ボタンの半径を指定します。
角がわずかに丸みを帯びた、比較的正方形に近いボタンを作成するには、3 のような小さな値を使用します。
完全に円形のボタン(デフォルト)を作成するには、ボタンの幅または高さの半分に等しい値を使用し、ボタンの幅と高さを同じにします。
このプロパティをデフォルト値にリセットするには、その値を `undefined` に設定します。
© 2026 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.