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.Controls 2.0
import QtQuick.Layouts 1.4 import QtQuick.Layouts 1.4
Avatar { HAvatar {
Image { Image {
id: status id: status
anchors.right: parent.right 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 id: bannerRow
anchors.fill: parent anchors.fill: parent
Base.Avatar { Base.HAvatar {
id: bannerAvatar id: bannerAvatar
dimmension: banner.Layout.preferredHeight dimmension: banner.Layout.preferredHeight
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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