diff --git a/resources/qml/Components/AlignedButton.qml b/resources/qml/Components/AlignedButton.qml new file mode 100644 index 0000000..2d0a2ee --- /dev/null +++ b/resources/qml/Components/AlignedButton.qml @@ -0,0 +1,21 @@ +import QtQuick 2.0 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 + +Button { + id: control + + property alias horizontalAlignment: label.horizontalAlignment + property alias verticalAlignment: label.verticalAlignment + + contentItem: Label { + id: label + + text: control.text + font: control.font + + color: !control.enabled ? control.Material.hintTextColor : + control.flat && control.highlighted ? control.Material.accentColor : + control.highlighted ? control.Material.primaryHighlightedTextColor : control.Material.foreground + } +} diff --git a/resources/qml/Components/CompetitionCalendarDelegate.qml b/resources/qml/Components/CompetitionCalendarDelegate.qml index 99056f3..501cfed 100644 --- a/resources/qml/Components/CompetitionCalendarDelegate.qml +++ b/resources/qml/Components/CompetitionCalendarDelegate.qml @@ -113,14 +113,17 @@ ColoredItemDelegate { ToolButton { id: bookmarkTb - icon.name: competitionDel.thisIsFavored ? "pinFilled":"pin" + + text: "\uf005" + font.family: competitionDel.thisIsFavored ? fa5solid.name : fa5regular.name + onClicked: { control.editFavorites(!competitionDel.thisIsFavored, parseInt(thisData['WetId'])) } Layout.alignment: Layout.Right - Behavior on icon.name { + Behavior on font.family { SequentialAnimation { NumberAnimation { property: "scale" diff --git a/resources/qml/Components/SpeedFlowChartLocker.qml b/resources/qml/Components/SpeedFlowChartLocker.qml index 21afbdf..954d88a 100644 --- a/resources/qml/Components/SpeedFlowChartLocker.qml +++ b/resources/qml/Components/SpeedFlowChartLocker.qml @@ -83,9 +83,9 @@ Rectangle { Layout.alignment: Layout.Center enabled: speedFlowChartProduct.status === Product.Registered text: speedFlowChartProduct.status === Product.Registered - ? "Buy now for " + speedFlowChartProduct.price + ? "\uf218 Buy now for " + speedFlowChartProduct.price : qsTr("This item is currently unavailable") - icon.name: "buy" + font.family: fa5solid.name onClicked: speedFlowChartProduct.purchase() } diff --git a/resources/qml/Pages/StartPage.qml b/resources/qml/Pages/StartPage.qml index 3e70956..ada954e 100644 --- a/resources/qml/Pages/StartPage.qml +++ b/resources/qml/Pages/StartPage.qml @@ -39,26 +39,38 @@ Page { } height: menuGr.buttonSize * 0.3 - spacing: anchors.topMargin * 0.5 } - Grid { + GridLayout { id: menuGr - anchors.centerIn: parent + anchors { + top: headerBadge.bottom + bottom: bottomDigitalrockDisclaimerLabel.top + left: parent.left + right: parent.right + margins: headerBadge.anchors.topMargin + } - rows: app.landscape() ? 1:2 - columns: app.landscape() ? 2:1 + rows: app.landscape() ? 1:5 + columns: app.landscape() ? 5:1 - spacing: !app.landscape() ? parent.height * 0.08:parent.width * 0.1 + rowSpacing: app.landscape() ? parent.width * 0.1:headerBadge.anchors.topMargin + columnSpacing: rowSpacing - property int buttonSize: app.landscape() ? parent.width * 0.2:parent.height * 0.2 + property int buttonSize: app.landscape() ? parent.width * 0.2:parent.height * 0.19 + + Item { + Layout.fillHeight: true + Layout.preferredWidth: 0 + } FancyButton { id: davBt - height: menuGr.buttonSize - width: height + Layout.preferredHeight: menuGr.buttonSize + Layout.preferredWidth: menuGr.buttonSize + Layout.alignment: Layout.Center image: Material.theme === Material.Dark ? "qrc:/icons/dav-dark.png":"qrc:/icons/dav.png" @@ -71,46 +83,55 @@ Page { FancyButton { id: sacBt - height: menuGr.buttonSize - width: height + Layout.preferredHeight: menuGr.buttonSize + Layout.preferredWidth: menuGr.buttonSize + Layout.alignment: Layout.Center image: Material.theme === Material.Dark ? "qrc:/icons/sac-dark.png":"qrc:/icons/sac.png" onClicked: { app.openWidget({nation:"SUI"}) } - } - } - - RowLayout { - anchors { - horizontalCenter: parent.horizontalCenter - bottom: bottomDigitalrockDisclaimerLabel.top + Item { + Layout.fillHeight: true + visible: !app.landscape() } - Button { - id: ifscDisclaimerButton + GridLayout { + Layout.preferredHeight: app.landscape() ? menuGr.buttonSize : menuGr.buttonSize / 2 + Layout.maximumWidth: app.landscape() ? menuGr.buttonSize : menuGr.buttonSize * 2 + Layout.alignment: Layout.Center - flat: true - font.bold: true - font.pixelSize: aboutBluerockDisclaimerButton.font.pixelSize + columns: app.landscape() ? 1:2 + rows: app.landscape() ? 4:2 - text: "Where are the IFSC results?" + Repeater { + id: buttonRepeater + property var buttons: [ + ["\uf059 IFSC results", ifscDisclaimerDialog.open], + ["\uf029 Scan QR code", null], + [Material.theme === Material.Light ? "\uf042 Dark mode":"\uf042 Light mode", app.toggleDarkMode], + ["\uf05a About blueROCK", aboutBluerockDisclaimerDialog.open] + ] - onClicked: ifscDisclaimerDialog.open() - } + model: buttons - Button { - id: aboutBluerockDisclaimerButton + delegate: Button { + Layout.fillWidth: true - flat: true - font.pixelSize: bottomDigitalrockDisclaimerLabel.paintedHeight * (Qt.platform.os === "android" ? 0.8:0.735) + flat: true - text: "About blueROCK" + font.family: fa5solid.name + font.pixelSize: height * 0.4 + font.capitalization: Font.MixedCase - onClicked: aboutBluerockDisclaimerDialog.open() + text: modelData[0] + + onClicked: buttonRepeater.buttons[index][1]() + } + } } } diff --git a/resources/qml/Widgets/CalendarWidget.qml b/resources/qml/Widgets/CalendarWidget.qml index c1c78f7..dbbc19d 100644 --- a/resources/qml/Widgets/CalendarWidget.qml +++ b/resources/qml/Widgets/CalendarWidget.qml @@ -42,7 +42,9 @@ DataListView { control.changeYear() } - icon.name: "year" + text: "\uf133" + font.family: fa5solid.name + } ToolButton { @@ -61,7 +63,7 @@ DataListView { } } - compCats.push( {"text": qsTr("Pinned"), "data": {"sort_rank":0, "cat_id":[-1]}} ) + compCats.push( {"text": qsTr("Favorites"), "data": {"sort_rank":0, "cat_id":[-1]}} ) compCats.sort(function(a, b) { return a['data']['sort_rank'] - b['data']['sort_rank']; @@ -70,7 +72,8 @@ DataListView { filterSelectPu.appear(compCats, qsTr("Select Filters"), "") } - icon.name: "filter" + text: "\uf0b0" + font.family: fa5solid.name } ToolButton { @@ -80,7 +83,8 @@ DataListView { control.openCup() } - icon.name: "cup" + text: "\uf091" + font.family: fa5solid.name } } diff --git a/resources/qml/Widgets/RegistrationWidget.qml b/resources/qml/Widgets/RegistrationWidget.qml index 4a85c01..59576f8 100644 --- a/resources/qml/Widgets/RegistrationWidget.qml +++ b/resources/qml/Widgets/RegistrationWidget.qml @@ -37,7 +37,8 @@ DataListView { control.changeCat() } - icon.name: "menu" + text: "\uf142" + font.family: fa5solid.name } property var widgetData: currentWidgetData diff --git a/resources/qml/Widgets/ResultWidget.qml b/resources/qml/Widgets/ResultWidget.qml index b44c2f4..77e85c4 100644 --- a/resources/qml/Widgets/ResultWidget.qml +++ b/resources/qml/Widgets/ResultWidget.qml @@ -46,7 +46,8 @@ DataListView { onClicked: control.changeCat() - icon.name: "menu" + text: "\uf142" + font.family: fa5solid.name } ToolButton { @@ -61,7 +62,8 @@ DataListView { speedFlowChartPopup.toggle() } - icon.name: "flowchart" + text: "\uf0e8" + font.family: fa5solid.name } } diff --git a/resources/qml/Widgets/StartlistWidget.qml b/resources/qml/Widgets/StartlistWidget.qml index 3f98f13..df248eb 100644 --- a/resources/qml/Widgets/StartlistWidget.qml +++ b/resources/qml/Widgets/StartlistWidget.qml @@ -38,7 +38,8 @@ DataListView { control.changeCat() } - icon.name: "menu" + text: "\uf142" + font.family: fa5solid.name } function getSubtitle() { diff --git a/resources/qml/main.qml b/resources/qml/main.qml index a9b8ee1..c43b6f7 100644 --- a/resources/qml/main.qml +++ b/resources/qml/main.qml @@ -42,7 +42,7 @@ Window { property var colorShade: Material.theme === Material.Light ? Material.Shade300 : Material.Shade700 property color nationalAdultsColor: Material.color(Material.Green, colorShade) property color nationalYouthColor: Material.color(Material.LightGreen, colorShade) - property color federalColor: Material.backgroundColor + property color federalColor: Material.color(Material.Grey, colorShade) // comp cats source: // - https://github.com/ralfbecker/ranking/blob/master/sitemgr/digitalrock/dav_calendar.php @@ -125,7 +125,7 @@ Window { anchors.fill: parent - Material.theme: Material.Dark + Material.theme: appSettings.read("darkTheme") === "true" ? Material.Dark:Material.Light Component.onCompleted: { //loadingDl.open() @@ -136,6 +136,16 @@ Window { //openWidget({person: 6623}) } + FontLoader { + id: fa5solid + source: "qrc:/fonts/fa5solid.otf" + } + + FontLoader { + id: fa5regular + source: "qrc:/fonts/fa5regular.otf" + } + Shortcut { sequences: ["Esc", "Back"] enabled: mainStack.depth > 1 @@ -146,8 +156,8 @@ Window { id: serverConn Component.onCompleted: { - var params = serverConn.getParamsFromUrl("https://www.digitalrock.de/egroupware/ranking/sitemgr/digitalrock/eliste.html#!comp=11471&cat=GER_F_A") - app.openWidget(params) + //var params = serverConn.getParamsFromUrl("https://www.digitalrock.de/egroupware/ranking/sitemgr/digitalrock/eliste.html#!comp=11471&cat=GER_F_A") + //app.openWidget(params) } } @@ -235,7 +245,9 @@ Window { height: parent.height onClicked: app.goBack() - icon.name: "back" + + text: "\uf053" + font.family: fa5solid.name } Column { @@ -513,6 +525,13 @@ Window { return app.height < app.width } + function toggleDarkMode() { + var dark = app.Material.theme === Material.Light + + app.Material.theme = dark ? Material.Dark : Material.Light + appSettings.write("darkTheme", dark) + } + function largeScreen() { return Math.min(app.width, app.height) > 750 } diff --git a/resources/qml/qml.qrc b/resources/qml/qml.qrc index a3e6784..13a690e 100644 --- a/resources/qml/qml.qrc +++ b/resources/qml/qml.qrc @@ -27,5 +27,6 @@ Components/BlueRockBadge.qml Components/DisclaimerDialog.qml Components/ColoredItemDelegate.qml + Components/AlignedButton.qml diff --git a/resources/shared/fonts/fa5regular.otf b/resources/shared/fonts/fa5regular.otf new file mode 100644 index 0000000..cc0ba27 Binary files /dev/null and b/resources/shared/fonts/fa5regular.otf differ diff --git a/resources/shared/fonts/fa5solid.otf b/resources/shared/fonts/fa5solid.otf new file mode 100644 index 0000000..5a83ab9 Binary files /dev/null and b/resources/shared/fonts/fa5solid.otf differ diff --git a/resources/shared/icons/bluerock/20x20/back.png b/resources/shared/icons/bluerock/20x20/back.png deleted file mode 100644 index db43e27..0000000 Binary files a/resources/shared/icons/bluerock/20x20/back.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/bookmark.png b/resources/shared/icons/bluerock/20x20/bookmark.png deleted file mode 100644 index c01e7bf..0000000 Binary files a/resources/shared/icons/bluerock/20x20/bookmark.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/bookmarkFilled.png b/resources/shared/icons/bluerock/20x20/bookmarkFilled.png deleted file mode 100644 index db854f9..0000000 Binary files a/resources/shared/icons/bluerock/20x20/bookmarkFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/buy.png b/resources/shared/icons/bluerock/20x20/buy.png deleted file mode 100644 index 9f9c09f..0000000 Binary files a/resources/shared/icons/bluerock/20x20/buy.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/calendar.png b/resources/shared/icons/bluerock/20x20/calendar.png deleted file mode 100644 index 61cc427..0000000 Binary files a/resources/shared/icons/bluerock/20x20/calendar.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/cup.png b/resources/shared/icons/bluerock/20x20/cup.png deleted file mode 100644 index d52dbd1..0000000 Binary files a/resources/shared/icons/bluerock/20x20/cup.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/drawer.png b/resources/shared/icons/bluerock/20x20/drawer.png deleted file mode 100644 index 1e974ef..0000000 Binary files a/resources/shared/icons/bluerock/20x20/drawer.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/filter.png b/resources/shared/icons/bluerock/20x20/filter.png deleted file mode 100644 index bcc1e8a..0000000 Binary files a/resources/shared/icons/bluerock/20x20/filter.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/flowchart.png b/resources/shared/icons/bluerock/20x20/flowchart.png deleted file mode 100644 index 6469b0a..0000000 Binary files a/resources/shared/icons/bluerock/20x20/flowchart.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/menu.png b/resources/shared/icons/bluerock/20x20/menu.png deleted file mode 100644 index a10473d..0000000 Binary files a/resources/shared/icons/bluerock/20x20/menu.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/pin.png b/resources/shared/icons/bluerock/20x20/pin.png deleted file mode 100644 index 9908baf..0000000 Binary files a/resources/shared/icons/bluerock/20x20/pin.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/pinFilled.png b/resources/shared/icons/bluerock/20x20/pinFilled.png deleted file mode 100644 index fe79afb..0000000 Binary files a/resources/shared/icons/bluerock/20x20/pinFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/star.png b/resources/shared/icons/bluerock/20x20/star.png deleted file mode 100644 index 55d76f3..0000000 Binary files a/resources/shared/icons/bluerock/20x20/star.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/starFilled.png b/resources/shared/icons/bluerock/20x20/starFilled.png deleted file mode 100644 index 78aec7c..0000000 Binary files a/resources/shared/icons/bluerock/20x20/starFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20/year.png b/resources/shared/icons/bluerock/20x20/year.png deleted file mode 100644 index 26f4edc..0000000 Binary files a/resources/shared/icons/bluerock/20x20/year.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/back.png b/resources/shared/icons/bluerock/20x20@2/back.png deleted file mode 100644 index c55ab31..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/back.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/bookmark.png b/resources/shared/icons/bluerock/20x20@2/bookmark.png deleted file mode 100644 index 47d18cb..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/bookmark.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/bookmarkFilled.png b/resources/shared/icons/bluerock/20x20@2/bookmarkFilled.png deleted file mode 100644 index 1dcf9d4..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/bookmarkFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/buy.png b/resources/shared/icons/bluerock/20x20@2/buy.png deleted file mode 100644 index 2ae229d..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/buy.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/calendar.png b/resources/shared/icons/bluerock/20x20@2/calendar.png deleted file mode 100644 index 53fe9b1..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/calendar.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/cup.png b/resources/shared/icons/bluerock/20x20@2/cup.png deleted file mode 100644 index b66aa2f..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/cup.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/drawer.png b/resources/shared/icons/bluerock/20x20@2/drawer.png deleted file mode 100644 index eba3b6c..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/drawer.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/filter.png b/resources/shared/icons/bluerock/20x20@2/filter.png deleted file mode 100644 index 1f88edc..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/filter.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/flowchart.png b/resources/shared/icons/bluerock/20x20@2/flowchart.png deleted file mode 100644 index c87cc2e..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/flowchart.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/menu.png b/resources/shared/icons/bluerock/20x20@2/menu.png deleted file mode 100644 index 649c2a0..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/menu.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/pin.png b/resources/shared/icons/bluerock/20x20@2/pin.png deleted file mode 100644 index 0af60ed..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/pin.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/pinFilled.png b/resources/shared/icons/bluerock/20x20@2/pinFilled.png deleted file mode 100644 index 8c3b904..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/pinFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/star.png b/resources/shared/icons/bluerock/20x20@2/star.png deleted file mode 100644 index 4104d59..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/star.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/starFilled.png b/resources/shared/icons/bluerock/20x20@2/starFilled.png deleted file mode 100644 index 4ff5390..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/starFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@2/year.png b/resources/shared/icons/bluerock/20x20@2/year.png deleted file mode 100644 index 980d2ee..0000000 Binary files a/resources/shared/icons/bluerock/20x20@2/year.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/back.png b/resources/shared/icons/bluerock/20x20@3/back.png deleted file mode 100644 index b228eb8..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/back.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/bookmark.png b/resources/shared/icons/bluerock/20x20@3/bookmark.png deleted file mode 100644 index ca812b1..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/bookmark.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/bookmarkFilled.png b/resources/shared/icons/bluerock/20x20@3/bookmarkFilled.png deleted file mode 100644 index 0dfcd81..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/bookmarkFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/buy.png b/resources/shared/icons/bluerock/20x20@3/buy.png deleted file mode 100644 index a34fe40..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/buy.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/calendar.png b/resources/shared/icons/bluerock/20x20@3/calendar.png deleted file mode 100644 index 434503c..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/calendar.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/cup.png b/resources/shared/icons/bluerock/20x20@3/cup.png deleted file mode 100644 index 9ad32ba..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/cup.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/drawer.png b/resources/shared/icons/bluerock/20x20@3/drawer.png deleted file mode 100644 index 3584ed6..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/drawer.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/filter.png b/resources/shared/icons/bluerock/20x20@3/filter.png deleted file mode 100644 index b457f02..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/filter.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/flowchart.png b/resources/shared/icons/bluerock/20x20@3/flowchart.png deleted file mode 100644 index 98bd45f..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/flowchart.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/menu.png b/resources/shared/icons/bluerock/20x20@3/menu.png deleted file mode 100644 index 9554b69..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/menu.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/pin.png b/resources/shared/icons/bluerock/20x20@3/pin.png deleted file mode 100644 index 306add5..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/pin.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/pinFilled.png b/resources/shared/icons/bluerock/20x20@3/pinFilled.png deleted file mode 100644 index c7eac9c..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/pinFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/star.png b/resources/shared/icons/bluerock/20x20@3/star.png deleted file mode 100644 index 0b03be1..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/star.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/starFilled.png b/resources/shared/icons/bluerock/20x20@3/starFilled.png deleted file mode 100644 index 3984352..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/starFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@3/year.png b/resources/shared/icons/bluerock/20x20@3/year.png deleted file mode 100644 index 5c2eb8f..0000000 Binary files a/resources/shared/icons/bluerock/20x20@3/year.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/back.png b/resources/shared/icons/bluerock/20x20@4/back.png deleted file mode 100644 index dd157e7..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/back.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/bookmark.png b/resources/shared/icons/bluerock/20x20@4/bookmark.png deleted file mode 100644 index c82e389..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/bookmark.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/bookmarkFilled.png b/resources/shared/icons/bluerock/20x20@4/bookmarkFilled.png deleted file mode 100644 index a021439..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/bookmarkFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/buy.png b/resources/shared/icons/bluerock/20x20@4/buy.png deleted file mode 100644 index ef6c793..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/buy.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/calendar.png b/resources/shared/icons/bluerock/20x20@4/calendar.png deleted file mode 100644 index d799f8c..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/calendar.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/cup.png b/resources/shared/icons/bluerock/20x20@4/cup.png deleted file mode 100644 index 4baaf9a..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/cup.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/drawer.png b/resources/shared/icons/bluerock/20x20@4/drawer.png deleted file mode 100644 index 60d93af..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/drawer.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/filter.png b/resources/shared/icons/bluerock/20x20@4/filter.png deleted file mode 100644 index 891fcae..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/filter.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/flowchart.png b/resources/shared/icons/bluerock/20x20@4/flowchart.png deleted file mode 100644 index dc859de..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/flowchart.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/menu.png b/resources/shared/icons/bluerock/20x20@4/menu.png deleted file mode 100644 index 187c171..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/menu.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/pin.png b/resources/shared/icons/bluerock/20x20@4/pin.png deleted file mode 100644 index e193f91..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/pin.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/pinFilled.png b/resources/shared/icons/bluerock/20x20@4/pinFilled.png deleted file mode 100644 index f92d9a9..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/pinFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/star.png b/resources/shared/icons/bluerock/20x20@4/star.png deleted file mode 100644 index cd38f03..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/star.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/starFilled.png b/resources/shared/icons/bluerock/20x20@4/starFilled.png deleted file mode 100644 index 7895700..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/starFilled.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/20x20@4/year.png b/resources/shared/icons/bluerock/20x20@4/year.png deleted file mode 100644 index bc9ab79..0000000 Binary files a/resources/shared/icons/bluerock/20x20@4/year.png and /dev/null differ diff --git a/resources/shared/icons/bluerock/index.theme b/resources/shared/icons/bluerock/index.theme deleted file mode 100644 index 2457fde..0000000 --- a/resources/shared/icons/bluerock/index.theme +++ /dev/null @@ -1,24 +0,0 @@ -[Icon Theme] -Name=blueROCK -Comment=blueROCK Icon Theme - -Directories=20x20,20x20@2,20x20@3,20x20@4 - -[20x20] -Size=20 -Type=Fixed - -[20x20@2] -Size=20 -Scale=2 -Type=Fixed - -[20x20@3] -Size=20 -Scale=3 -Type=Fixed - -[20x20@4] -Size=20 -Scale=4 -Type=Fixed diff --git a/resources/shared/shared.qrc b/resources/shared/shared.qrc index d32c2e9..c4d820c 100644 --- a/resources/shared/shared.qrc +++ b/resources/shared/shared.qrc @@ -8,68 +8,7 @@ icons/cup.png Banner.png icons/more_black.png - icons/bluerock/20x20/back.png - icons/bluerock/20x20/cup.png - icons/bluerock/20x20/drawer.png - icons/bluerock/20x20/menu.png - icons/bluerock/20x20@2/back.png - icons/bluerock/20x20@2/cup.png - icons/bluerock/20x20@2/drawer.png - icons/bluerock/20x20@2/menu.png - icons/bluerock/20x20@3/back.png - icons/bluerock/20x20@3/cup.png - icons/bluerock/20x20@3/drawer.png - icons/bluerock/20x20@3/menu.png - icons/bluerock/20x20@4/back.png - icons/bluerock/20x20@4/cup.png - icons/bluerock/20x20@4/drawer.png - icons/bluerock/20x20@4/menu.png - icons/bluerock/index.theme - icons/bluerock/20x20/calendar.png - icons/bluerock/20x20@2/calendar.png - icons/bluerock/20x20@3/calendar.png - icons/bluerock/20x20@4/calendar.png - icons/bluerock/20x20/filter.png - icons/bluerock/20x20/year.png - icons/bluerock/20x20@2/filter.png - icons/bluerock/20x20@2/year.png - icons/bluerock/20x20@3/filter.png - icons/bluerock/20x20@3/year.png - icons/bluerock/20x20@4/filter.png - icons/bluerock/20x20@4/year.png - icons/bluerock/20x20/flowchart.png - icons/bluerock/20x20@2/flowchart.png - icons/bluerock/20x20@3/flowchart.png - icons/bluerock/20x20@4/flowchart.png - icons/bluerock/20x20/bookmark.png - icons/bluerock/20x20/bookmarkFilled.png - icons/bluerock/20x20@2/bookmark.png - icons/bluerock/20x20@2/bookmarkFilled.png - icons/bluerock/20x20@3/bookmark.png - icons/bluerock/20x20@3/bookmarkFilled.png - icons/bluerock/20x20@4/bookmark.png - icons/bluerock/20x20@4/bookmarkFilled.png - icons/bluerock/20x20/buy.png - icons/bluerock/20x20@2/buy.png - icons/bluerock/20x20@3/buy.png - icons/bluerock/20x20@4/buy.png icons/lock.png - icons/bluerock/20x20/star.png - icons/bluerock/20x20/starFilled.png - icons/bluerock/20x20@2/star.png - icons/bluerock/20x20@2/starFilled.png - icons/bluerock/20x20@3/star.png - icons/bluerock/20x20@3/starFilled.png - icons/bluerock/20x20@4/star.png - icons/bluerock/20x20@4/starFilled.png - icons/bluerock/20x20/pin.png - icons/bluerock/20x20/pinFilled.png - icons/bluerock/20x20@2/pin.png - icons/bluerock/20x20@2/pinFilled.png - icons/bluerock/20x20@3/pin.png - icons/bluerock/20x20@3/pinFilled.png - icons/bluerock/20x20@4/pin.png - icons/bluerock/20x20@4/pinFilled.png icons/blueRockHold.png screenshots/SpeedFlowchartDemo/android/1.jpeg screenshots/SpeedFlowchartDemo/android/2.jpeg @@ -79,5 +18,7 @@ screenshots/SpeedFlowchartDemo/ios/3.jpeg icons/dav-dark.png icons/sac-dark.png + fonts/fa5regular.otf + fonts/fa5solid.otf diff --git a/sources/main.cpp b/sources/main.cpp index c86a4b9..b09f017 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -20,7 +20,6 @@ #include #include #include -#include #include #include @@ -35,8 +34,6 @@ int main(int argc, char *argv[]) QGuiApplication app(argc, argv); QQuickStyle::setStyle("Material"); - QIcon::setFallbackSearchPaths(QIcon::fallbackSearchPaths() << ":/resources/shared/icons"); - QIcon::setThemeName("bluerock"); qmlRegisterType("de.itsblue.blueROCK", 1, 0, "BlueRockBackend"); qmlRegisterType("de.itsblue.blueROCK", 1, 0, "AppSettings");