Add missing H prefix to some base componants

This commit is contained in:
miruka 2019-04-28 11:21:19 -04:00
parent f49b3e4b62
commit be4b15e484
11 changed files with 9 additions and 28 deletions

View File

@ -2,7 +2,7 @@ import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
Avatar {
HAvatar {
Image {
id: status
anchors.right: parent.right

View File

@ -1,19 +0,0 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
HLabel {
property string toolTipText: ""
id: text
ToolTip {
delay: Qt.styleHints.mousePressAndHoldInterval
visible: text ? toolTipZone.containsMouse : false
text: toolTipText
}
MouseArea {
id: toolTipZone
anchors.fill: parent
hoverEnabled: true
}
}

View File

@ -19,7 +19,7 @@ Base.HGlassRectangle {
id: bannerRow
anchors.fill: parent
Base.Avatar {
Base.HAvatar {
id: bannerAvatar
dimmension: banner.Layout.preferredHeight
}

View File

@ -13,7 +13,7 @@ RowLayout {
readonly property string contentText:
isMessage ? "" : ChatJS.getEventText(type, dict)
Base.Avatar {
Base.HAvatar {
id: avatar
name: displayName
invisible: combine

View File

@ -9,7 +9,7 @@ Row {
layoutDirection: isOwn ? Qt.RightToLeft : Qt.LeftToRight
anchors.right: isOwn ? parent.right : undefined
Base.Avatar { id: avatar; invisible: combine; name: displayName }
Base.HAvatar { id: avatar; invisible: combine; name: displayName }
ColumnLayout {
spacing: 0
@ -33,7 +33,7 @@ Row {
topPadding: verticalPadding
}
Base.RichLabel {
Base.HRichLabel {
id: contentLabel
text: (dict.formatted_body ?
Backend.htmlFilter.filter(dict.formatted_body) :

View File

@ -18,7 +18,7 @@ Base.HGlassRectangle {
spacing: 12
anchors.fill: parent
Base.Avatar {
Base.HAvatar {
id: avatar
Layout.alignment: Qt.AlignTop
dimmension: root.Layout.minimumHeight

View File

@ -18,7 +18,7 @@ Base.HGlassRectangle {
anchors.fill: parent
spacing: 0
Base.Avatar {
Base.HAvatar {
id: avatar
name: Backend.getUserDisplayName(chatPage.userId)
dimmension: root.Layout.minimumHeight

View File

@ -12,7 +12,7 @@ ColumnLayout {
id: row
spacing: 0
Base.Avatar { id: avatar; name: displayName; dimmension: 36 }
Base.HAvatar { id: avatar; name: displayName; dimmension: 36 }
ColumnLayout {
Layout.fillWidth: true

View File

@ -16,7 +16,7 @@ MouseArea {
id: row
spacing: 1
Base.Avatar { id: avatar; name: displayName; dimmension: root.height }
Base.HAvatar { id: avatar; name: displayName; dimmension: root.height }
ColumnLayout {
spacing: 0