GODT-22: Facelift

- GODT-1199: Add menu to status window
- GODT-22: use ColorImage instead of IconLabel
- GODT-22: remove banners from MainWindow
- GODT-1199: Fix separator width
- GODT-1199: Fix StatusWindow button position
- GODT-1198: Open main window on startup if no users
- GODT-1199: Fix avatar text color
- GODT-1198: refactor main window layout
- GODT-22: add missing components to qmldir
- GODT-22: refactor components having Layout as root item
- GODT-22: add more user controls
- GODT-1199: Add status window resize and maximum height
- GODT-22: WIP: notification arch
- GODT-22: Notifications WIP
- GODT-22: Fix notification filter, topmost notification
- GODT-1199: Add notifications to status window
- GODT-22: Add strict typization to colorScheme variable
- GODT-1198: WIP Notifications, dialogs and banners
- GODT-22: Add backend notifications (Banners & Dialogs)

D
This commit is contained in:
Alexander Bilyak
2021-08-04 14:00:31 +02:00
committed by Jakub
parent 6bd0739013
commit 0a9748a15d
51 changed files with 3277 additions and 1056 deletions

View File

@ -23,16 +23,16 @@ import QtQuick.Controls 2.12
import Proton 4.0
RowLayout {
property var colorScheme: parent.colorScheme
property ColorScheme colorScheme
// Norm
ColumnLayout {
Layout.fillWidth: true
property var colorScheme: parent.colorScheme
spacing: parent.spacing
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
placeholderText: "Placeholder"
@ -42,6 +42,7 @@ RowLayout {
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
text: "Value"
@ -53,6 +54,7 @@ RowLayout {
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
error: true
@ -65,6 +67,7 @@ RowLayout {
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
text: "Value"
@ -80,11 +83,11 @@ RowLayout {
// Masked
ColumnLayout {
Layout.fillWidth: true
property var colorScheme: parent.colorScheme
spacing: parent.spacing
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
echoMode: TextInput.Password
placeholderText: "Password"
@ -94,6 +97,7 @@ RowLayout {
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
text: "Password"
@ -105,6 +109,7 @@ RowLayout {
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
text: "Password"
error: true
@ -117,6 +122,7 @@ RowLayout {
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
text: "Password"
enabled: false
@ -132,50 +138,31 @@ RowLayout {
// Varia
ColumnLayout {
Layout.fillWidth: true
property var colorScheme: parent.colorScheme
spacing: parent.spacing
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
placeholderText: "Placeholder"
label: "Label"
hint: "Hint"
Rectangle {
anchors.fill: parent
border.color: "red"
border.width: 1
z: parent.z - 1
}
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
placeholderText: "Placeholder"
assistiveText: "Assistive text"
Rectangle {
anchors.fill: parent
border.color: "red"
border.width: 1
z: parent.z - 1
}
}
TextField {
colorScheme: root.colorScheme
Layout.fillWidth: true
placeholderText: "Placeholder"
Rectangle {
anchors.fill: parent
border.color: "red"
border.width: 1
z: parent.z - 1
}
}
}
}