update import paths
This commit is contained in:
parent
1e6c149471
commit
176274e648
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import CustomQmlTypes 1.0
|
import CustomQmlTypes 1.0
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: parent.width * 0.25
|
width: parent.width * 0.25
|
||||||
|
|
|
@ -4,9 +4,9 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
|
|
||||||
import "../fonts/Twemoji.js" as T
|
import "fonts/Twemoji.js" as T
|
||||||
import "../theme"
|
import "theme"
|
||||||
import "../fonts"
|
import "fonts"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: button
|
id: button
|
||||||
|
|
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.13
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
import QtGraphicalEffects 1.12
|
import QtGraphicalEffects 1.12
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
|
|
||||||
// ButtonTextField integrates a text field and a button
|
// ButtonTextField integrates a text field and a button
|
||||||
|
|
|
@ -3,7 +3,7 @@ import QtQuick 2.7
|
||||||
import QtQuick.Controls 2.4
|
import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: root
|
id: root
|
||||||
|
|
|
@ -4,9 +4,9 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import CustomQmlTypes 1.0
|
import CustomQmlTypes 1.0
|
||||||
import "../styles"
|
import "styles"
|
||||||
import "../widgets" as Widgets
|
import "widgets" as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import CustomQmlTypes 1.0
|
import CustomQmlTypes 1.0
|
||||||
import "../widgets" as Widgets
|
import "widgets" as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
|
|
||||||
// Needs the parent to have an onWidthChanged that calls .textResize()
|
// Needs the parent to have an onWidthChanged that calls .textResize()
|
||||||
|
|
|
@ -6,7 +6,7 @@ import QtQuick.Layouts 1.3
|
||||||
import Qt.labs.folderlistmodel 2.13
|
import Qt.labs.folderlistmodel 2.13
|
||||||
import QtQml.Models 2.13
|
import QtQml.Models 2.13
|
||||||
|
|
||||||
import "../fonts/MutantStandard.js" as Mutant
|
import "fonts/MutantStandard.js" as Mutant
|
||||||
import "controls"
|
import "controls"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
4
Icon.qml
4
Icon.qml
|
@ -4,9 +4,9 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
|
|
||||||
import "../fonts/Twemoji.js" as T
|
import "fonts/Twemoji.js" as T
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: root
|
id: root
|
||||||
|
|
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.13
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
import QtGraphicalEffects 1.12
|
import QtGraphicalEffects 1.12
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
// IconTextField integrates a text field and an icon
|
// IconTextField integrates a text field and an icon
|
||||||
TextField {
|
TextField {
|
||||||
|
|
|
@ -3,7 +3,7 @@ import QtQuick 2.7
|
||||||
import QtQuick.Controls 2.4
|
import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import "../widgets" as Widgets
|
import "widgets" as Widgets
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ import QtQuick.Window 2.11
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
|
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../styles"
|
import "styles"
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import CustomQmlTypes 1.0
|
import CustomQmlTypes 1.0
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: imgProfile
|
id: imgProfile
|
||||||
|
|
|
@ -4,9 +4,9 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import CustomQmlTypes 1.0
|
import CustomQmlTypes 1.0
|
||||||
import "../styles"
|
import "styles"
|
||||||
import "../widgets" as Widgets
|
import "widgets" as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
import QtQuick.Window 2.11
|
import QtQuick.Window 2.11
|
||||||
|
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
font.pixelSize: gcd.themeScale * size
|
font.pixelSize: gcd.themeScale * size
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
|
|
@ -2,7 +2,7 @@ import QtQuick 2.7
|
||||||
import QtQuick.Controls 2.4
|
import QtQuick.Controls 2.4
|
||||||
|
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
// Statusbar is a app wide 10-25 tall bar that should be place at the bottom of the app that gives network health information
|
// Statusbar is a app wide 10-25 tall bar that should be place at the bottom of the app that gives network health information
|
||||||
// it changes color and text/icon message based on network health. when netowrk is not healthy it is always in fullsized mode
|
// it changes color and text/icon message based on network health. when netowrk is not healthy it is always in fullsized mode
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 1.4
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
import QtQuick 2.12
|
import QtQuick 2.12
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
// ToggleSwtch implements a stylized toggle switch. It requires the user create a function called onToggled to
|
// ToggleSwtch implements a stylized toggle switch. It requires the user create a function called onToggled to
|
||||||
// perform any additional operations needed to define the behavior of the toggle switch
|
// perform any additional operations needed to define the behavior of the toggle switch
|
||||||
|
|
|
@ -4,9 +4,9 @@ import QtQuick.Controls 2.4
|
||||||
import QtQuick.Controls.Material 2.0
|
import QtQuick.Controls.Material 2.0
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
|
|
||||||
import "../fonts/Twemoji.js" as T
|
import "fonts/Twemoji.js" as T
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
Rectangle { // Global Toolbar
|
Rectangle { // Global Toolbar
|
||||||
id: toolbar
|
id: toolbar
|
||||||
|
|
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.13
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
import QtGraphicalEffects 1.12
|
import QtGraphicalEffects 1.12
|
||||||
import "." as Widgets
|
import "." as Widgets
|
||||||
import "../theme"
|
import "theme"
|
||||||
|
|
||||||
// UnderlineTextField is a textfield styled as just an underline
|
// UnderlineTextField is a textfield styled as just an underline
|
||||||
TextField {
|
TextField {
|
||||||
|
|
Loading…
Reference in New Issue