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