From 558efdda9381399a089bd21c28ed0d38a8b0e5df Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Fri, 18 Sep 2020 11:55:56 +0200 Subject: [PATCH] Format --- ScreenPlay/qml/Common/Tag.qml | 11 ++++++----- ScreenPlay/qml/Create/Footer.qml | 2 +- ScreenPlay/src/create.h | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ScreenPlay/qml/Common/Tag.qml b/ScreenPlay/qml/Common/Tag.qml index 5a7780a7..e330dc0d 100644 --- a/ScreenPlay/qml/Common/Tag.qml +++ b/ScreenPlay/qml/Common/Tag.qml @@ -6,7 +6,7 @@ import ScreenPlay 1.0 Item { id: tag width: textMetrics.width + 20 - height: parent.height + height: 45 property int itemIndex property alias text: txt.text @@ -14,10 +14,10 @@ Item { Rectangle { id: rectangle + anchors.fill: parent radius: 3 color: Material.theme === Material.Light ? Qt.lighter( - Material.background) : Qt.darker( - Material.background) + Material.background) : Material.background Text { id: txt @@ -87,8 +87,9 @@ Item { ] } -/*##^## Designer { +/*##^## +Designer { D{i:0;height:50;width:100} } - ##^##*/ +##^##*/ diff --git a/ScreenPlay/qml/Create/Footer.qml b/ScreenPlay/qml/Create/Footer.qml index 43933023..cc8d428a 100644 --- a/ScreenPlay/qml/Create/Footer.qml +++ b/ScreenPlay/qml/Create/Footer.qml @@ -12,7 +12,7 @@ import "Wizards/CreateWallpaper" Rectangle { id: footer - height: 80 + height: 60 z: 100 color: Material.background diff --git a/ScreenPlay/src/create.h b/ScreenPlay/src/create.h index a2d965cc..4f27905a 100644 --- a/ScreenPlay/src/create.h +++ b/ScreenPlay/src/create.h @@ -124,7 +124,8 @@ public slots: const QString& license, const QVector& tags); - void saveWallpaper(QString title, + void saveWallpaper( + QString title, QString description, QString filePath, QString previewImagePath,