Clean up QML imports

This commit is contained in:
miruka 2019-04-28 15:36:43 -04:00
parent f714c85d75
commit ef60a1129f
32 changed files with 28 additions and 66 deletions

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import "../Base"
Rectangle {

View File

@ -1,6 +1,6 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
Button {
property string iconName: ""

View File

@ -1,6 +1,6 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
ColumnLayout {
id: columnLayout

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
HScalingBox {
id: interfaceBox

View File

@ -1,9 +1,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import "."
import QtQuick.Controls 2.2
Label {
font.family: HStyle.fontFamily.sans
font.pixelSize: HStyle.fontSize.normal
textFormat: Text.PlainText
textFormat: Label.PlainText
}

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
HRowLayout {

View File

@ -1,5 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
HLabel {
id: label

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
RowLayout {
id: rowLayout

View File

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
Item {
Layout.fillWidth: true

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
HAvatar {
HImage {

View File

@ -1,5 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Controls 2.2
TextField {
property alias backgroundColor: textFieldBackground.color

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../../Base"
HGlassRectangle {

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import "../../Base"
Banner {

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import "../../Base"
import "../utils.js" as ChatJS

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import "../Base"
import "Banners"
import "RoomEventList"

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../../Base"
import "../utils.js" as ChatJS

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../../Base"
Row {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../../Base"
import "../utils.js" as ChatJS

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../../Base"
HGlassRectangle {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
HGlassRectangle {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
HGlassRectangle {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
import "utils.js" as ChatJS

View File

@ -1,6 +1,3 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import "../Base"
HNoticeLabel {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
Item {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
Item {
@ -76,7 +75,7 @@ Item {
HTextField {
id: passwordField
placeholderText: qsTr("Password")
echoMode: TextField.Password
echoMode: HTextField.Password
onAccepted: signInBox.clickEnterButtonTarget()
Layout.fillWidth: true

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
HColumnLayout {
@ -21,7 +19,7 @@ HColumnLayout {
HLabel {
id: accountLabel
text: displayName.value || userId
elide: Text.ElideRight
elide: HLabel.ElideRight
maximumLineCount: 1
Layout.fillWidth: true
leftPadding: 6

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
ListView {
id: accountList

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
HRowLayout {

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
import "utils.js" as SidePaneJS

View File

@ -1,6 +1,5 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "../Base"
ListView {

View File

@ -1,6 +1,4 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import QtGraphicalEffects 1.0
import "../Base"

View File

@ -1,6 +1,6 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.4
import QtQuick.Layouts 1.0
import "Base"
import "SidePane"