Skip to content

Commit

Permalink
🎨 Run js-beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
Beautify Robot committed Nov 3, 2020
1 parent 13e0cf4 commit 2a6d919
Show file tree
Hide file tree
Showing 18 changed files with 93 additions and 39 deletions.
7 changes: 5 additions & 2 deletions qml/QaterialGallery/AppBarBottomPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/BannerPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/CardPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/ControlButtonPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 8 additions & 5 deletions qml/QaterialGallery/DateTimePickersPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/DialogDelegatePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/DialogPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/FABPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/FramePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/GroupBoxPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/MaterialPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/MenuBarPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/SlidersPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/SnackbarPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/StepperPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/TextFieldPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions qml/QaterialGallery/ToolTipPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a6d919

Please sign in to comment.