Move project files to repo root
This commit is contained in:
15
QYRComponents/CheckBox.qml
Normal file
15
QYRComponents/CheckBox.qml
Normal file
@@ -0,0 +1,15 @@
|
||||
import QtQuick 6.8
|
||||
import QtQuick.Controls 6.8 as QC
|
||||
import QtQuick.Controls.Basic as QC
|
||||
|
||||
QC.CheckBox {
|
||||
implicitWidth: 14
|
||||
implicitHeight: 14
|
||||
contentItem: Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: 2
|
||||
color: parent.checked ? (parent.hovered ? Colors.primaryAlt : Colors.primary) : "#fff"
|
||||
border.color: parent.checked ? (parent.hovered ? Colors.primaryAlt : Colors.primary) : "#fff"
|
||||
border.width: 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user