overte/interface/resources/qml/hifi/avatarapp/AvatarAppHeader.qml
armored-dragon 9a989e5ada
Fixed lingering references to avatarIcon.
Signed-off-by: armored-dragon <publicmail@armoreddragon.com>
2024-10-03 10:38:01 -05:00

46 lines
941 B
QML

import Hifi 1.0 as Hifi
import QtQuick 2.5
import stylesUit 1.0
ShadowRectangle {
id: header
anchors.left: parent.left
anchors.right: parent.right
height: 60
property alias pageTitle: title.text
property alias settingsButtonVisible: settingsButton.visible
signal settingsClicked;
AvatarAppStyle {
id: style
}
color: style.colors.lightGrayBackground
// TextStyle6
RalewaySemiBold {
id: title
size: 22;
x: 20
anchors.verticalCenter: parent.verticalCenter
text: 'Avatar'
}
HiFiGlyphs {
id: settingsButton
anchors.right: parent.right
anchors.rightMargin: 30
anchors.verticalCenter: parent.verticalCenter
text: "&"
MouseArea {
id: settingsMouseArea
anchors.fill: parent
onClicked: {
settingsClicked();
}
}
}
}