2024-05-27 08:44:36 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
|
|
|
|
StatusButton {
|
|
|
|
implicitWidth: 44
|
|
|
|
implicitHeight: 44
|
|
|
|
|
|
|
|
icon.name: hovered ? "arrow-up" : "arrow-down"
|
|
|
|
icon.color: Theme.palette.baseColor1
|
|
|
|
|
2024-05-28 17:39:41 +00:00
|
|
|
focusPolicy: Qt.NoFocus
|
2024-05-27 08:44:36 +00:00
|
|
|
isRoundIcon: true
|
|
|
|
normalColor: Theme.palette.indirectColor3
|
2024-07-24 00:33:26 +00:00
|
|
|
disabledColor: normalColor
|
|
|
|
opacity: enabled ? 1 : 0.4
|
2024-05-27 08:44:36 +00:00
|
|
|
hoverColor: Theme.palette.directColor8
|
|
|
|
borderWidth: 1
|
|
|
|
borderColor: hovered ? Theme.palette.directColor7 : Theme.palette.directColor8
|
|
|
|
}
|