From 2a6d919cc1f535f9fbf5ae39835fb6a17ce63d5e Mon Sep 17 00:00:00 2001 From: Beautify Robot Date: Tue, 3 Nov 2020 16:46:07 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Run=20js-beautify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/QaterialGallery/AppBarBottomPage.qml | 7 +++++-- qml/QaterialGallery/BannerPage.qml | 7 +++++-- qml/QaterialGallery/CardPage.qml | 7 +++++-- qml/QaterialGallery/ControlButtonPage.qml | 7 +++++-- qml/QaterialGallery/DateTimePickersPage.qml | 13 ++++++++----- qml/QaterialGallery/DialogDelegatePage.qml | 7 +++++-- qml/QaterialGallery/DialogPage.qml | 7 +++++-- qml/QaterialGallery/FABPage.qml | 7 +++++-- qml/QaterialGallery/FramePage.qml | 7 +++++-- qml/QaterialGallery/GroupBoxPage.qml | 7 +++++-- qml/QaterialGallery/Main.qml | 7 +++++-- qml/QaterialGallery/MaterialPage.qml | 7 +++++-- qml/QaterialGallery/MenuBarPage.qml | 7 +++++-- qml/QaterialGallery/SlidersPage.qml | 7 +++++-- qml/QaterialGallery/SnackbarPage.qml | 7 +++++-- qml/QaterialGallery/StepperPage.qml | 7 +++++-- qml/QaterialGallery/TextFieldPage.qml | 7 +++++-- qml/QaterialGallery/ToolTipPage.qml | 7 +++++-- 18 files changed, 93 insertions(+), 39 deletions(-) diff --git a/qml/QaterialGallery/AppBarBottomPage.qml b/qml/QaterialGallery/AppBarBottomPage.qml index a1bab7c..f72e513 100644 --- a/qml/QaterialGallery/AppBarBottomPage.qml +++ b/qml/QaterialGallery/AppBarBottomPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "App Bar Bottom" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "App Bar Bottom" + } // AppBarContent } // AppBar footer: Qaterial.ToolBar diff --git a/qml/QaterialGallery/BannerPage.qml b/qml/QaterialGallery/BannerPage.qml index ce06c25..4377917 100644 --- a/qml/QaterialGallery/BannerPage.qml +++ b/qml/QaterialGallery/BannerPage.qml @@ -17,8 +17,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Banners" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Banners" + } // AppBarContent } // ToolBar property string shortText: "One line text string with one action." diff --git a/qml/QaterialGallery/CardPage.qml b/qml/QaterialGallery/CardPage.qml index 50155a5..dfd20b4 100644 --- a/qml/QaterialGallery/CardPage.qml +++ b/qml/QaterialGallery/CardPage.qml @@ -17,8 +17,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Cards" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Cards" + } // AppBarContent } // ToolBar Flickable diff --git a/qml/QaterialGallery/ControlButtonPage.qml b/qml/QaterialGallery/ControlButtonPage.qml index 91289cf..8b967a3 100644 --- a/qml/QaterialGallery/ControlButtonPage.qml +++ b/qml/QaterialGallery/ControlButtonPage.qml @@ -17,8 +17,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Control Buttons" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Control Buttons" + } // AppBarContent } // ToolBar Qaterial.SwipeView diff --git a/qml/QaterialGallery/DateTimePickersPage.qml b/qml/QaterialGallery/DateTimePickersPage.qml index f9d4006..f06d91b 100644 --- a/qml/QaterialGallery/DateTimePickersPage.qml +++ b/qml/QaterialGallery/DateTimePickersPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Date / Time Pickers" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Date / Time Pickers" + } // AppBarContent } // ToolBar Qaterial.SwipeView @@ -72,7 +75,7 @@ Qaterial.Page Qaterial.TimePickerDialog { onAccepted: () => Qaterial.SnackbarManager - .show({ text: `Simple EU Dialog Picker : User picked ${hour}:${minute}` }) + .show({ text: `Simple EU Dialog Picker : User picked ${hour}:${minute}` }) Component.onCompleted: open() } // TimePickerDialog } // Component @@ -94,7 +97,7 @@ Qaterial.Page Layout.preferredWidth: 250 onHourAccepted: (hour, minute, am) => Qaterial.SnackbarManager - .show({ text: `AM Picker : User picked ${hour}:${minute} ${styleAm ? (am ? "AM" : "PM") : ""}` }) + .show({ text: `AM Picker : User picked ${hour}:${minute} ${styleAm ? (am ? "AM" : "PM") : ""}` }) } // TextFieldTimePicker Qaterial.Label @@ -114,7 +117,7 @@ Qaterial.Page styleAm: false onHourAccepted: (hour, minute, am) => Qaterial.SnackbarManager - .show({ text: `EU Picker : User picked ${hour}:${minute}` }) + .show({ text: `EU Picker : User picked ${hour}:${minute}` }) } // TextFieldTimePicker } // ColumnLayout } // ScrollablePage diff --git a/qml/QaterialGallery/DialogDelegatePage.qml b/qml/QaterialGallery/DialogDelegatePage.qml index a1cb4ad..c048b77 100644 --- a/qml/QaterialGallery/DialogDelegatePage.qml +++ b/qml/QaterialGallery/DialogDelegatePage.qml @@ -14,8 +14,11 @@ Qaterial.ScrollablePage { header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Dialog Delegates" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Dialog Delegates" + } // AppBarContent } // ToolBar pane.padding: 0 diff --git a/qml/QaterialGallery/DialogPage.qml b/qml/QaterialGallery/DialogPage.qml index ed8b0e1..8ff91aa 100644 --- a/qml/QaterialGallery/DialogPage.qml +++ b/qml/QaterialGallery/DialogPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Dialogs" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Dialogs" + } // AppBarContent } // ToolBar Qaterial.ScrollablePage diff --git a/qml/QaterialGallery/FABPage.qml b/qml/QaterialGallery/FABPage.qml index 3ea8e09..c751608 100644 --- a/qml/QaterialGallery/FABPage.qml +++ b/qml/QaterialGallery/FABPage.qml @@ -18,8 +18,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Floating Action Buttons" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Floating Action Buttons" + } // AppBarContent } // ToolBar Qaterial.SwipeView diff --git a/qml/QaterialGallery/FramePage.qml b/qml/QaterialGallery/FramePage.qml index f053af7..5a12888 100644 --- a/qml/QaterialGallery/FramePage.qml +++ b/qml/QaterialGallery/FramePage.qml @@ -17,8 +17,11 @@ Qaterial.ScrollablePage header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Frame" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Frame" + } // AppBarContent } // ToolBar readonly property int itemWidth: Math.max(button.implicitWidth, Math.min(button.implicitWidth * 3, _page diff --git a/qml/QaterialGallery/GroupBoxPage.qml b/qml/QaterialGallery/GroupBoxPage.qml index 3d1974f..f06fb1d 100644 --- a/qml/QaterialGallery/GroupBoxPage.qml +++ b/qml/QaterialGallery/GroupBoxPage.qml @@ -16,8 +16,11 @@ Qaterial.ScrollablePage header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Group Box" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Group Box" + } // AppBarContent } // ToolBar pane.padding: 16 diff --git a/qml/QaterialGallery/Main.qml b/qml/QaterialGallery/Main.qml index 57ad7a8..a8d3c38 100644 --- a/qml/QaterialGallery/Main.qml +++ b/qml/QaterialGallery/Main.qml @@ -24,8 +24,11 @@ Qaterial.ApplicationWindow { title: qsTr("File") width: 300 - Qaterial.MenuItem { text: qsTr("New...");onTriggered: console.log( - "New");action: Action { shortcut: "Ctrl+N" } } // MenuItem + Qaterial.MenuItem + { + text: qsTr("New...");onTriggered: console.log( + "New");action: Action { shortcut: "Ctrl+N" } + } // MenuItem Qaterial.MenuItem { text: qsTr("Open...");onTriggered: console.log("Open") } // MenuItem Qaterial.MenuItem { text: qsTr("Save");onTriggered: console.log("Save") } // MenuItem Qaterial.MenuItem { text: qsTr("Save As...");onTriggered: console.log("Save As") } // MenuItem diff --git a/qml/QaterialGallery/MaterialPage.qml b/qml/QaterialGallery/MaterialPage.qml index 8937cf9..9fd649b 100644 --- a/qml/QaterialGallery/MaterialPage.qml +++ b/qml/QaterialGallery/MaterialPage.qml @@ -16,8 +16,11 @@ Qaterial.Page id: _page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Qaterial Gallery " + Qaterial.Version.readable } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Qaterial Gallery " + Qaterial.Version.readable + } // AppBarContent } // ToolBar ListModel diff --git a/qml/QaterialGallery/MenuBarPage.qml b/qml/QaterialGallery/MenuBarPage.qml index 64b56aa..3e03f96 100644 --- a/qml/QaterialGallery/MenuBarPage.qml +++ b/qml/QaterialGallery/MenuBarPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Menu Tab Bar" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Menu Tab Bar" + } // AppBarContent } // ToolBar ColumnLayout diff --git a/qml/QaterialGallery/SlidersPage.qml b/qml/QaterialGallery/SlidersPage.qml index 902edae..b6b5ae4 100644 --- a/qml/QaterialGallery/SlidersPage.qml +++ b/qml/QaterialGallery/SlidersPage.qml @@ -17,8 +17,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Sliders" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Sliders" + } // AppBarContent } // ToolBar Qaterial.SwipeView diff --git a/qml/QaterialGallery/SnackbarPage.qml b/qml/QaterialGallery/SnackbarPage.qml index ed66d01..5ec1f33 100644 --- a/qml/QaterialGallery/SnackbarPage.qml +++ b/qml/QaterialGallery/SnackbarPage.qml @@ -15,8 +15,11 @@ Qaterial.Page { header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Snackbars" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Snackbars" + } // AppBarContent } // ToolBar Qaterial.ScrollablePage diff --git a/qml/QaterialGallery/StepperPage.qml b/qml/QaterialGallery/StepperPage.qml index ab26b1e..857417f 100644 --- a/qml/QaterialGallery/StepperPage.qml +++ b/qml/QaterialGallery/StepperPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Steppers" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Steppers" + } // AppBarContent } // ToolBar property bool verticalStepper: width < 500 diff --git a/qml/QaterialGallery/TextFieldPage.qml b/qml/QaterialGallery/TextFieldPage.qml index 9b476de..7bdefb4 100644 --- a/qml/QaterialGallery/TextFieldPage.qml +++ b/qml/QaterialGallery/TextFieldPage.qml @@ -15,8 +15,11 @@ Qaterial.ScrollablePage { header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "Text Fields" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "Text Fields" + } // AppBarContent } // ToolBar pane.padding: 16 diff --git a/qml/QaterialGallery/ToolTipPage.qml b/qml/QaterialGallery/ToolTipPage.qml index ad668b2..0e8aed9 100644 --- a/qml/QaterialGallery/ToolTipPage.qml +++ b/qml/QaterialGallery/ToolTipPage.qml @@ -16,8 +16,11 @@ Qaterial.Page header: Qaterial.ToolBar { - AppBarContent { anchors.fill: parent; - title: "ToolTips" } // AppBarContent + AppBarContent + { + anchors.fill: parent; + title: "ToolTips" + } // AppBarContent } // ToolBar Qaterial.SwipeView