2021-10-05 20:50:22 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
|
2021-10-25 19:37:44 +00:00
|
|
|
import StatusQ.Controls 0.1
|
2021-10-05 20:50:22 +00:00
|
|
|
|
|
|
|
StatusRoundButton {
|
|
|
|
id: btnAdd
|
2021-10-25 19:37:44 +00:00
|
|
|
property bool checked: false
|
2021-10-05 20:50:22 +00:00
|
|
|
|
|
|
|
width: 36
|
|
|
|
height: 36
|
2021-10-25 19:37:44 +00:00
|
|
|
icon.name: "add"
|
|
|
|
icon.rotation: checked ? 45 : 0
|
|
|
|
type: StatusRoundButton.Type.Secondary
|
|
|
|
onPressed: checked = !checked
|
2021-10-05 20:50:22 +00:00
|
|
|
}
|