From a2136dfe3cd03f24135e67beab9e3135310722c8 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 10 Jul 2019 15:03:05 -0400 Subject: [PATCH] Rename HButton to HUIButton --- src/qml/Base/HInterfaceBox.qml | 2 +- src/qml/Base/{HButton.qml => HUIButton.qml} | 0 src/qml/Chat/Banners/Banner.qml | 2 +- src/qml/Chat/RoomHeader.qml | 4 ++-- src/qml/Pages/SignIn.qml | 2 +- src/qml/SidePane/ExpandButton.qml | 2 +- src/qml/SidePane/PaneToolBar.qml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename src/qml/Base/{HButton.qml => HUIButton.qml} (100%) diff --git a/src/qml/Base/HInterfaceBox.qml b/src/qml/Base/HInterfaceBox.qml index 01cf093a..b8df4403 100644 --- a/src/qml/Base/HInterfaceBox.qml +++ b/src/qml/Base/HInterfaceBox.qml @@ -46,7 +46,7 @@ HScalingBox { id: interfaceButtonsRepeater model: [] - HButton { + HUIButton { property string name: modelData.name id: button diff --git a/src/qml/Base/HButton.qml b/src/qml/Base/HUIButton.qml similarity index 100% rename from src/qml/Base/HButton.qml rename to src/qml/Base/HUIButton.qml diff --git a/src/qml/Chat/Banners/Banner.qml b/src/qml/Chat/Banners/Banner.qml index c43f666b..702a8d36 100644 --- a/src/qml/Chat/Banners/Banner.qml +++ b/src/qml/Chat/Banners/Banner.qml @@ -78,7 +78,7 @@ HRectangle { id: bannerRepeater model: [] - HButton { + HUIButton { id: button text: modelData.text iconName: modelData.iconName diff --git a/src/qml/Chat/RoomHeader.qml b/src/qml/Chat/RoomHeader.qml index a8beef67..a3fa4f64 100644 --- a/src/qml/Chat/RoomHeader.qml +++ b/src/qml/Chat/RoomHeader.qml @@ -71,7 +71,7 @@ HRectangle { model: [ "members", "files", "notifications", "history", "settings" ] - HButton { + HUIButton { iconName: "room_view_" + modelData iconDimension: 22 autoExclusive: true @@ -87,7 +87,7 @@ HRectangle { } } - HButton { + HUIButton { id: expandButton z: 1 anchors.right: parent.right diff --git a/src/qml/Pages/SignIn.qml b/src/qml/Pages/SignIn.qml index 9d94b707..f09e37c3 100644 --- a/src/qml/Pages/SignIn.qml +++ b/src/qml/Pages/SignIn.qml @@ -49,7 +49,7 @@ Item { Repeater { model: ["username", "email", "phone"] - HButton { + HUIButton { iconName: modelData circle: true checked: loginWith == modelData diff --git a/src/qml/SidePane/ExpandButton.qml b/src/qml/SidePane/ExpandButton.qml index 27e18dae..a2fd6fb0 100644 --- a/src/qml/SidePane/ExpandButton.qml +++ b/src/qml/SidePane/ExpandButton.qml @@ -5,7 +5,7 @@ import QtQuick 2.7 import QtQuick.Layouts 1.3 import "../Base" -HButton { +HUIButton { property var expandableItem: null id: expandButton diff --git a/src/qml/SidePane/PaneToolBar.qml b/src/qml/SidePane/PaneToolBar.qml index ec30dcf1..09ae05ff 100644 --- a/src/qml/SidePane/PaneToolBar.qml +++ b/src/qml/SidePane/PaneToolBar.qml @@ -12,7 +12,7 @@ HRowLayout { Layout.fillWidth: true Layout.preferredHeight: theme.bottomElementsHeight - HButton { + HUIButton { iconName: "settings" backgroundColor: theme.sidePane.settingsButton.background Layout.preferredHeight: parent.height