rename stylues-uit => stylesUit & controls-uit => controlsUit

note:
the idea is to make imports like 'import controlsUit 1.0' to work
with 'styles-uit'/'controls-uit' it is not possible because of two reasons:

1. import controls-uit 1.0 is invalid syntax
2. qmldir inside controls-uit is 'module controlsUit'
This commit is contained in:
Alexander Ivash 2018-06-15 21:44:12 +03:00
parent 5e01314d85
commit 27bb8a0de7
197 changed files with 272 additions and 278 deletions

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import QtQuick.Controls 1.4
import "styles-uit"
import "controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
Item {
id: root

View file

@ -2,9 +2,9 @@ import QtQuick 2.5
import QtWebChannel 1.0
import QtWebEngine 1.5
import "controls-uit"
import controlsUit 1.0
import "styles" as HifiStyles
import "styles-uit"
import stylesUit 1.0
import "windows"
ScrollingWindow {

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import QtQuick.Controls 1.4
import "styles-uit"
import "controls-uit" as HifiControls
import stylesUit 1.0
import controlsUit 1.0 as HifiControls
Item {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import Hifi 1.0 as Hifi
import "controls-uit"
import controlsUit 1.0
import "windows" as Windows
Windows.ScrollingWindow {

View file

@ -11,8 +11,8 @@
import Hifi 1.0
import QtQuick 2.4
import "controls-uit"
import "styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "windows"
import "LoginDialog"

View file

@ -13,8 +13,8 @@ import QtQuick 2.4
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4 as OriginalStyles
import "../../controls-uit"
import "../../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: linkAccountBody

View file

@ -13,8 +13,8 @@ import QtQuick 2.4
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4 as OriginalStyles
import "../../controls-uit"
import "../../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: signupBody

View file

@ -12,8 +12,8 @@ import Hifi 1.0
import QtQuick 2.4
import QtQuick.Controls.Styles 1.4 as OriginalStyles
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: completeProfileBody

View file

@ -13,8 +13,9 @@ import QtQuick 2.7
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4 as OriginalStyles
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: linkAccountBody
clip: true

View file

@ -12,8 +12,8 @@ import Hifi 1.0
import QtQuick 2.7
import QtQuick.Controls.Styles 1.4 as OriginalStyles
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: signInBody

View file

@ -12,8 +12,8 @@ import Hifi 1.0
import QtQuick 2.7
import QtQuick.Controls 1.4
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: signupBody

View file

@ -12,8 +12,8 @@ import Hifi 1.0
import QtQuick 2.4
import QtQuick.Controls 1.4
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: usernameCollisionBody

View file

@ -11,8 +11,8 @@
import Hifi 1.0
import QtQuick 2.4
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Item {
id: welcomeBody

View file

@ -13,8 +13,8 @@ import QtWebEngine 1.1
import QtWebChannel 1.0
import "windows" as Windows
import "controls-uit" as Controls
import "styles-uit"
import controlsUit 1.0 as Controls
import stylesUit 1.0
Windows.ScrollingWindow {
id: root

View file

@ -2,9 +2,9 @@ import QtQuick 2.3
import "windows" as Windows
import "controls"
import "controls-uit" as Controls
import controlsUit 1.0 as Controls
import "styles"
import "styles-uit"
import stylesUit 1.0
Windows.Window {
id: root

View file

@ -3,9 +3,9 @@ import QtWebChannel 1.0
import QtWebEngine 1.5
import "controls"
import "controls-uit" as HifiControls
import controlsUit 1.0 as HifiControls
import "styles" as HifiStyles
import "styles-uit"
import stylesUit 1.0
import "windows"
Item {

View file

@ -4,9 +4,9 @@ import QtQuick.Controls 1.3
import QtQuick.Controls.Styles 1.3
import QtGraphicalEffects 1.0
import "controls-uit"
import controlsUit 1.0
import "styles" as HifiStyles
import "styles-uit"
import stylesUit 1.0
import "windows"
ScrollingWindow {

View file

@ -3,7 +3,6 @@ import QtQuick.Controls 2.2 as Original
import "."
import "../styles"
import "../controls-uit"
Original.Button {
id: control

View file

@ -4,7 +4,7 @@ import QtWebChannel 1.0
import QtQuick.Controls 2.2
import "../styles-uit" as StylesUIt
import stylesUit 1.0 as StylesUIt
Item {
id: flick

View file

@ -10,7 +10,7 @@
import Hifi 1.0
import QtQuick 2.4
import "../styles-uit"
import stylesUit 1.0
Rectangle {
property alias text: label.text

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import "../controls-uit" as HiFiControls
import controlsUit 1.0 as HiFiControls
Item {
id: root

View file

@ -1,8 +1,8 @@
import QtQuick 2.7
import QtWebEngine 1.5
import "../controls-uit" as HiFiControls
import controlsUit 1.0 as HiFiControls
import "../styles" as HifiStyles
import "../styles-uit"
import stylesUit 1.0
Item {
id: root

View file

@ -1,5 +1,5 @@
import QtQuick 2.7
import "../controls-uit" as HiFiControls
import controlsUit 1.0 as HiFiControls
Item {
width: parent !== null ? parent.width : undefined

View file

@ -1,6 +1,6 @@
//
// ImageButton.qml
// interface/resources/qml/controls-uit
// interface/resources/qml/controlsUit
//
// Created by Gabriel Calero & Cristian Duarte on 12 Oct 2017
// Copyright 2017 High Fidelity, Inc.
@ -11,7 +11,7 @@
import QtQuick 2.5
import QtQuick.Layouts 1.3
import "../styles-uit" as HifiStyles
import "../stylesUit" as HifiStyles
Item {
id: button
@ -79,4 +79,4 @@ Item {
}
}
]
}
}

View file

@ -13,8 +13,8 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.XmlListModel 2.0
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
import "../windows"
import "../hifi/models"

View file

@ -12,7 +12,7 @@ import QtQuick 2.7
import QtQuick.Controls 2.3 as Original
import TabletScriptingInterface 1.0
import "../styles-uit"
import "../stylesUit"
Original.Button {
id: control;

View file

@ -11,7 +11,7 @@
import QtQuick 2.2
import QtQuick.Controls 2.2 as Original
import "../styles-uit"
import "../stylesUit"
import TabletScriptingInterface 1.0

View file

@ -11,8 +11,8 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import "../styles-uit"
import "../controls-uit" as HiFiControls
import "../stylesUit"
import "." as HiFiControls
import TabletScriptingInterface 1.0
CheckBox {

View file

@ -11,8 +11,8 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
FocusScope {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import QtGraphicalEffects 1.0
import "../styles-uit"
import "../stylesUit"
Column {
property string name: "Content Section"

View file

@ -12,8 +12,8 @@ import QtQuick 2.9
import QtQuick.Controls 2.2
import QtGraphicalEffects 1.0
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
Item {
id: root;

View file

@ -12,7 +12,7 @@ import QtQuick 2.7
import QtQuick.Controls 2.2 as Original
import TabletScriptingInterface 1.0
import "../styles-uit"
import "../stylesUit"
Original.Button {
id: control

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
Item {
id: root

View file

@ -9,7 +9,7 @@
//
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
Item {
id: imageBox

View file

@ -10,7 +10,7 @@
import QtQuick 2.7
import "../styles-uit"
import "../stylesUit"
RalewaySemiBold {
HifiConstants { id: hifi }

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
import "." as HifiControls
HifiControls.Button {

View file

@ -11,8 +11,8 @@
import QtQuick 2.5
import QtQuick.Controls 2.2 as Original
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
import TabletScriptingInterface 1.0

View file

@ -11,7 +11,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import "../styles-uit"
import "../stylesUit"
ScrollBar {
visible: size < 1.0

View file

@ -9,7 +9,7 @@
//
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
Item {
property int colorScheme: 0;

View file

@ -11,8 +11,8 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
Slider {
id: slider

View file

@ -11,8 +11,8 @@
import QtQuick 2.7
import QtQuick.Controls 2.2
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
SpinBox {
id: spinBox

View file

@ -11,7 +11,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.2 as Original
import "../styles-uit"
import "../stylesUit"
Item {
id: rootSwitch;

View file

@ -13,7 +13,7 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Controls 2.3 as QQC2
import "../styles-uit"
import "../stylesUit"
TableView {
id: tableView

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import QtGraphicalEffects 1.0
import "../styles-uit"
import "../stylesUit"
Column {
property string name: "Content Section"

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
Rectangle {

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
Item {
property string icon: ""

View file

@ -9,7 +9,7 @@
//
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
TextEdit {

View file

@ -12,8 +12,8 @@ import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import "../styles-uit"
import "../controls-uit" as HifiControls
import "../stylesUit"
import "." as HifiControls
TextField {
id: textField

View file

@ -15,7 +15,7 @@ import QtQuick.Controls.Styles 1.4
import QtQuick.Controls 2.2 as QQC2
import "../styles-uit"
import "../stylesUit"
TreeView {
id: treeView

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../styles-uit"
import "../stylesUit"
Item {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import QtQuick.Controls 2.2 as Original
import "../styles-uit"
import "../stylesUit"
Original.Button {
id: control

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import Qt.labs.settings 1.0
import "../styles-uit"
import stylesUit 1.0
import "../windows"
import "assetDialog"

View file

@ -12,8 +12,8 @@ import QtQuick 2.7;
import QtQuick.Dialogs 1.2 as OriginalDialogs;
import QtQuick.Controls 2.3
import "../controls-uit";
import "../styles-uit";
import controlsUit 1.0
import stylesUit 1.0
import "../windows";
ModalWindow {

View file

@ -16,8 +16,8 @@ import QtQuick.Controls 1.4 as QQC1
import QtQuick.Controls 2.3
import ".."
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
import "fileDialog"

View file

@ -11,8 +11,8 @@
import QtQuick 2.5
import QtQuick.Dialogs 1.2 as OriginalDialogs
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
import "messageDialog"

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import "../controls-uit" as HifiControls
import "../styles-uit"
import controlsUit 1.0 as HifiControls
import stylesUit 1.0
import "../windows"
import "preferences"

View file

@ -11,8 +11,8 @@
import QtQuick 2.7
import QtQuick.Controls 2.3
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
ModalWindow {

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../styles-uit"
import stylesUit 1.0
import "../windows"
import "assetDialog"

View file

@ -12,8 +12,8 @@ import QtQuick 2.7
import QtQuick.Dialogs 1.2 as OriginalDialogs
import QtQuick.Controls 2.3
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
TabletModalWindow {

View file

@ -16,8 +16,8 @@ import QtQuick.Controls 1.4 as QQC1
import QtQuick.Controls 2.3
import ".."
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
import "fileDialog"

View file

@ -11,8 +11,8 @@
import Hifi 1.0
import QtQuick 2.5
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
import "../LoginDialog"

View file

@ -11,8 +11,8 @@
import QtQuick 2.5
import QtQuick.Dialogs 1.2 as OriginalDialogs
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
import "messageDialog"

View file

@ -12,8 +12,8 @@ import QtQuick 2.7
import QtQuick.Dialogs 1.2 as OriginalDialogs
import QtQuick.Controls 2.3
import "../controls-uit"
import "../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../windows"
TabletModalWindow {

View file

@ -12,8 +12,8 @@ import QtQuick 2.7
import QtQuick.Controls 2.3
import QtQuick.Controls 1.5 as QQC1
import "../../controls-uit"
import "../../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
import "../fileDialog"

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../../controls-uit"
import controlsUit 1.0
ComboBox {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import QtQuick.Dialogs 1.2
import "../../controls-uit"
import controlsUit 1.0
Button {
property var dialog;

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../../controls-uit"
import controlsUit 1.0
import "../../hifi/tablet/tabletWindows/preferences"
Preference {

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import "../../dialogs"
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import TabletScriptingInterface 1.0
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import TabletScriptingInterface 1.0
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import "../../controls-uit" as HiFiControls
import "../../styles-uit"
import controlsUit 1.0 as HiFiControls
import stylesUit 1.0
Preference {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import "../../dialogs"
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -10,8 +10,8 @@
import QtQuick 2.5
import "../../controls-uit"
import "../../styles-uit"
import controlsUit 1.0
import stylesUit 1.0
Preference {
id: root

View file

@ -12,8 +12,8 @@ import QtQuick 2.5
import QtQuick.Controls 1.4
import Hifi 1.0
import "../../controls-uit" as HiFiControls
import "../../styles-uit"
import controlsUit 1.0 as HiFiControls
import stylesUit 1.0
import "."
Preference {

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import "../../dialogs"
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -10,7 +10,7 @@
import QtQuick 2.5
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -11,7 +11,7 @@
import QtQuick 2.5
import "../../dialogs"
import "../../controls-uit"
import controlsUit 1.0
Preference {
id: root

View file

@ -3,8 +3,8 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "../../styles-uit"
import "../../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../../controls" as HifiControls
import ".."

View file

@ -3,8 +3,8 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "../../styles-uit"
import "../../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../../controls" as HifiControls
import ".."

View file

@ -11,7 +11,7 @@
import QtQuick.Layouts 1.3
import QtQuick 2.5
import "../controls-uit" as HifiControlsUit
import controlsUit 1.0 as HifiControlsUit
ColumnLayout {
id: itemRoot

View file

@ -3,8 +3,8 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "../../styles-uit"
import "../../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../../controls" as HifiControls
import ".."

View file

@ -16,8 +16,8 @@ import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "."
import "../styles" as HifiStyles
import "../styles-uit"
import "../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../controls" as HifiControls
import ".."

View file

@ -16,8 +16,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "../../styles" as HifiStyles
import "../../styles-uit"
import "../../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../../controls" as HifiControls
import ".."
import "."

View file

@ -3,8 +3,8 @@ import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import Qt.labs.settings 1.0
import "../../styles-uit"
import "../../controls-uit" as HifiControlsUit
import stylesUit 1.0
import controlsUit 1.0 as HifiControlsUit
import "../../controls" as HifiControls
import ".."

View file

@ -14,8 +14,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick.Dialogs 1.2 as OriginalDialogs
import Qt.labs.settings 1.0
import "../styles-uit"
import "../controls-uit" as HifiControls
import stylesUit 1.0
import controlsUit 1.0 as HifiControls
import "../windows" as Windows
import "../dialogs"

View file

@ -17,7 +17,7 @@ import QtGraphicalEffects 1.0
import TabletScriptingInterface 1.0
import "toolbars"
import "../styles-uit"
import stylesUit 1.0
Item {
id: root;

View file

@ -10,8 +10,8 @@
//
import QtQuick 2.5
import "../styles-uit"
import "../controls-uit"
import stylesUit 1.0
import controlsUit 1.0
Item {
property var dialogTitleText : "";

View file

@ -8,7 +8,7 @@ import "../desktop" as OriginalDesktop
import ".."
import "."
import "./toolbars"
import "../controls-uit"
import controlsUit 1.0
OriginalDesktop.Desktop {
id: desktop

View file

@ -10,7 +10,7 @@
//
import QtQuick 2.5
import "../styles-uit"
import stylesUit 1.0
Item {
property alias text: popupText.text

View file

@ -15,7 +15,7 @@ import Hifi 1.0
import QtQuick 2.5
import QtGraphicalEffects 1.0
import "toolbars"
import "../styles-uit"
import stylesUit 1.0
import "qrc:////qml//hifi//models" as HifiModels // Absolute path so the same code works everywhere.
Column {

View file

@ -10,7 +10,7 @@
//
import QtQuick 2.5
import "../styles-uit"
import stylesUit 1.0
Item {
property alias text: popupText.text

Some files were not shown because too many files have changed in this diff Show more