Genesis commit.

Not really, but a lot of renaming.
This commit is contained in:
Black Hat
2018-09-17 21:01:02 +08:00
parent 317a6d6ec8
commit 81a7172f29
31 changed files with 145 additions and 153 deletions

View File

@@ -1,7 +1,7 @@
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
import Matrique.Settings 0.1
import Spectral.Settings 0.1
Label {
property bool coloredBackground

View File

@@ -1,5 +1,5 @@
import QtQuick 2.9
import Matrique.Settings 0.1
import Spectral.Settings 0.1
MouseArea {
signal primaryClicked()

View File

@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls.Material 2.2
import Matrique 0.1
import Spectral 0.1
Popup {
property var textArea

View File

@@ -1,7 +1,7 @@
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
import Matrique.Settings 0.1
import Spectral.Settings 0.1
Control {
property bool highlighted: false

View File

@@ -1,7 +1,7 @@
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import Matrique.Settings 0.1
import Spectral.Settings 0.1
Text {
property alias icon: materialLabel.text

View File

@@ -2,8 +2,8 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls.Material 2.2
import Matrique 0.1
import Matrique.Settings 0.1
import Spectral 0.1
import Spectral.Settings 0.1
import "qrc:/js/util.js" as Util
RowLayout {
@@ -206,7 +206,7 @@ RowLayout {
onClicked: {
if (downloadable.downloaded)
matriqueController.playAudio(progressInfo.localPath)
spectralController.playAudio(progressInfo.localPath)
else
{
playOnFinished = true
@@ -218,7 +218,7 @@ RowLayout {
background: DownloadableContent {
id: downloadable
onDownloadedChanged: downloaded && playOnFinished ? matriqueController.playAudio(progressInfo.localPath) : {}
onDownloadedChanged: downloaded && playOnFinished ? spectralController.playAudio(progressInfo.localPath) : {}
Component.onCompleted: {
messageRow.saveFileAs.connect(saveFileAs)

View File

@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
import QtQuick.Layouts 1.3
import Matrique 0.1
import Spectral 0.1
import "qrc:/js/util.js" as Util
@@ -30,7 +30,7 @@ Drawer {
Layout.alignment: Qt.AlignHCenter
hint: room ? room.displayName : "No name"
image: matriqueController.safeImage(room ? room.avatar : null)
image: spectralController.safeImage(room ? room.avatar : null)
}
Label {

View File

@@ -2,7 +2,7 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick.Controls.Material 2.2
import Matrique.Settings 0.1
import Spectral.Settings 0.1
Label {
Layout.alignment: Qt.AlignHCenter