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

@ -32,9 +32,8 @@ QtObject {
// property color primay_norm
// ...
// }
// and instead of "var" later on "ColorScheme" should be used (also in each component)
property var lightStyle: ColorScheme {
property ColorScheme lightStyle: ColorScheme {
id: _lightStyle
prominent: prominentStyle
@ -105,7 +104,7 @@ QtObject {
backdrop_norm: "#7A262A33"
}
property var prominentStyle: ColorScheme {
property ColorScheme prominentStyle: ColorScheme {
id: _prominentStyle
prominent: this
@ -176,7 +175,7 @@ QtObject {
backdrop_norm: "#52000000"
}
property var darkStyle: ColorScheme {
property ColorScheme darkStyle: ColorScheme {
id: _darkStyle
prominent: prominentStyle
@ -249,7 +248,7 @@ QtObject {
// TODO: if default style should be loaded from somewhere
// (i.e. from preferencies file) - it should be loaded here
property var currentStyle: lightStyle
property ColorScheme currentStyle: lightStyle
property string font_family: {
switch (Qt.platform.os) {
@ -281,15 +280,13 @@ QtObject {
property int caption_line_height: 16
property real caption_letter_spacing: 0.4
property int fontWidth_100: Font.Thin
property int fontWidth_200: Font.Light
property int fontWidth_300: Font.ExtraLight
property int fontWidth_400: Font.Normal
property int fontWidth_500: Font.Medium
property int fontWidth_600: Font.DemiBold
property int fontWidth_700: Font.Bold
property int fontWidth_800: Font.ExtraBold
property int fontWidth_900: Font.Black
property var transparent: "#00000000"
property int fontWeight_100: Font.Thin
property int fontWeight_200: Font.Light
property int fontWeight_300: Font.ExtraLight
property int fontWeight_400: Font.Normal
property int fontWeight_500: Font.Medium
property int fontWeight_600: Font.DemiBold
property int fontWeight_700: Font.Bold
property int fontWeight_800: Font.ExtraBold
property int fontWeight_900: Font.Black
}