Rename HButton to HUIButton

This commit is contained in:
miruka 2019-07-10 15:03:05 -04:00
parent a2ae569511
commit a2136dfe3c
7 changed files with 7 additions and 7 deletions

View File

@ -46,7 +46,7 @@ HScalingBox {
id: interfaceButtonsRepeater id: interfaceButtonsRepeater
model: [] model: []
HButton { HUIButton {
property string name: modelData.name property string name: modelData.name
id: button id: button

View File

@ -78,7 +78,7 @@ HRectangle {
id: bannerRepeater id: bannerRepeater
model: [] model: []
HButton { HUIButton {
id: button id: button
text: modelData.text text: modelData.text
iconName: modelData.iconName iconName: modelData.iconName

View File

@ -71,7 +71,7 @@ HRectangle {
model: [ model: [
"members", "files", "notifications", "history", "settings" "members", "files", "notifications", "history", "settings"
] ]
HButton { HUIButton {
iconName: "room_view_" + modelData iconName: "room_view_" + modelData
iconDimension: 22 iconDimension: 22
autoExclusive: true autoExclusive: true
@ -87,7 +87,7 @@ HRectangle {
} }
} }
HButton { HUIButton {
id: expandButton id: expandButton
z: 1 z: 1
anchors.right: parent.right anchors.right: parent.right

View File

@ -49,7 +49,7 @@ Item {
Repeater { Repeater {
model: ["username", "email", "phone"] model: ["username", "email", "phone"]
HButton { HUIButton {
iconName: modelData iconName: modelData
circle: true circle: true
checked: loginWith == modelData checked: loginWith == modelData

View File

@ -5,7 +5,7 @@ import QtQuick 2.7
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import "../Base" import "../Base"
HButton { HUIButton {
property var expandableItem: null property var expandableItem: null
id: expandButton id: expandButton

View File

@ -12,7 +12,7 @@ HRowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: theme.bottomElementsHeight Layout.preferredHeight: theme.bottomElementsHeight
HButton { HUIButton {
iconName: "settings" iconName: "settings"
backgroundColor: theme.sidePane.settingsButton.background backgroundColor: theme.sidePane.settingsButton.background
Layout.preferredHeight: parent.height Layout.preferredHeight: parent.height