Capitalize all component folders
This commit is contained in:
parent
e64b233427
commit
c5794424ed
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Rectangle {
|
||||
property bool hidden: false
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HRowLayout {
|
||||
property alias text: noticeLabel.text
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HGlassRectangle {
|
||||
id: banner
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HNoticeLabel {
|
||||
text: dateTime.toLocaleDateString()
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
import "utils.js" as ChatJS
|
||||
|
||||
RowLayout {
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Banner {
|
||||
property var inviter: null
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
import "utils.js" as ChatJS
|
||||
|
||||
Banner {
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Row {
|
||||
id: row
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
import "utils.js" as ChatJS
|
||||
|
||||
Column {
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HGlassRectangle {
|
||||
property bool canLoadPastEvents: true
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HGlassRectangle {
|
||||
property string displayName: ""
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HGlassRectangle {
|
||||
function setFocus() { textArea.forceActiveFocus() }
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
import "utils.js" as ChatJS
|
||||
|
||||
Rectangle {
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HNoticeLabel {
|
||||
text: "Select or add a room to start."
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Item {
|
||||
property string loginWith: "username"
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Item {
|
||||
property string loginWith: "username"
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HColumnLayout {
|
||||
id: accountDelegate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HRowLayout {
|
||||
id: toolBar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.7
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HLabel {
|
||||
width: roomList.width
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
import "utils.js" as SidePaneJS
|
||||
|
||||
MouseArea {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
ListView {
|
||||
property var userId: null
|
||||
|
|
|
@ -2,7 +2,7 @@ import QtQuick 2.7
|
|||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import QtGraphicalEffects 1.0
|
||||
import "../base" as Base
|
||||
import "../Base" as Base
|
||||
|
||||
Base.HGlassRectangle {
|
||||
id: sidePane
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.import "../chat/utils.js" as ChatJS
|
||||
.import "../Chat/utils.js" as ChatJS
|
||||
|
||||
|
||||
function getLastRoomEventText(roomId, accountId) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
import "base" as Base
|
||||
import "Base" as Base
|
||||
import "SidePane" as SidePane
|
||||
import "chat" as Chat
|
||||
import "Chat" as Chat
|
||||
|
||||
Item {
|
||||
id: mainUI
|
||||
|
@ -33,12 +33,12 @@ Item {
|
|||
property bool initialPageSet: false
|
||||
|
||||
function showPage(name, properties) {
|
||||
pageStack.replace("pages/" + name + ".qml", properties || {})
|
||||
pageStack.replace("Pages/" + name + ".qml", properties || {})
|
||||
}
|
||||
|
||||
function showRoom(userId, roomId) {
|
||||
pageStack.replace(
|
||||
"chat/Root.qml", { userId: userId, roomId: roomId }
|
||||
"Chat/Root.qml", { userId: userId, roomId: roomId }
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user