Clean up QML imports
This commit is contained in:
parent
f714c85d75
commit
ef60a1129f
@ -1,6 +1,4 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../Base"
|
||||
|
||||
Rectangle {
|
||||
|
@ -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: ""
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
HLabel {
|
||||
id: label
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Layouts 1.4
|
||||
import QtQuick.Layouts 1.0
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
|
@ -1,6 +1,4 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
|
||||
HAvatar {
|
||||
HImage {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Controls 2.2
|
||||
|
||||
TextField {
|
||||
property alias backgroundColor: textFieldBackground.color
|
||||
|
@ -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 {
|
||||
|
@ -1,6 +1,4 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../../Base"
|
||||
|
||||
Banner {
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../Base"
|
||||
import "Banners"
|
||||
import "RoomEventList"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,6 +1,3 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../Base"
|
||||
|
||||
HNoticeLabel {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user