diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-16 17:20:20 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-16 17:20:20 +0800 |
commit | fbfffb21f24b9f8889e7fa55841aa81752698477 (patch) | |
tree | 476124953b24decba6571c651e91f4f0b75f8582 | |
parent | fd798b2eda1e1ebf1ffa936b6fa4f4c5f3b9d07d (diff) |
Header is UI only & is removed from flickables
Qeduport user should use a page and set its header to Header
-rw-r--r-- | Checkout.ui.qml | 6 | ||||
-rw-r--r-- | CourseDetailClassic.ui.qml | 7 | ||||
-rw-r--r-- | Header.ui.qml (renamed from Header.qml) | 1 | ||||
-rw-r--r-- | HomeDefault.ui.qml | 6 |
4 files changed, 0 insertions, 20 deletions
diff --git a/Checkout.ui.qml b/Checkout.ui.qml index 46b4880..7545610 100644 --- a/Checkout.ui.qml +++ b/Checkout.ui.qml @@ -3,7 +3,6 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 Flickable { - property alias header: header property alias checkoutAlert: alert property alias checkoutLogin: login property alias checkoutName: name @@ -27,11 +26,6 @@ Flickable { right: parent.right } - Header { - id: header - Layout.fillWidth: true - } - GridLayout { columns: width < 1200 ? 1 : 2 rows: width < 1200 ? 2 : 1 diff --git a/CourseDetailClassic.ui.qml b/CourseDetailClassic.ui.qml index 08cf027..6223f7f 100644 --- a/CourseDetailClassic.ui.qml +++ b/CourseDetailClassic.ui.qml @@ -4,8 +4,6 @@ import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 Flickable { - id: flickable - property alias header: header property alias introBadge: introBadge property alias introTitleHeader: introTitleHeader property alias introTitleParagraph: introTitleParagraph @@ -31,11 +29,6 @@ Flickable { right: parent.right } - Header { - id: header - Layout.fillWidth: true - } - FontLoader { id: heebo source: "Heebo/Heebo-Bold.ttf" diff --git a/Header.qml b/Header.ui.qml index 395d713..776add4 100644 --- a/Header.qml +++ b/Header.ui.qml @@ -46,7 +46,6 @@ ToolBar { background: Rectangle { implicitHeight: 64 } - onClicked: optionsMenu.open() Menu { id: optionsMenu diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml index 3f2777b..be58d58 100644 --- a/HomeDefault.ui.qml +++ b/HomeDefault.ui.qml @@ -3,7 +3,6 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 Flickable { - property alias header: header property alias counter: counter property alias popular: popular property alias getStarted: getStarted @@ -22,11 +21,6 @@ Flickable { right: parent.right } - Header { - id: header - Layout.fillWidth: true - } - Item { implicitHeight: banner.height + counter.height + popular.height |