summaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml9
1 files changed, 6 insertions, 3 deletions
diff --git a/main.qml b/main.qml
index 304bfe0..0da014f 100644
--- a/main.qml
+++ b/main.qml
@@ -3,13 +3,16 @@ import QtQuick.Controls 2.15
import "larva/features"
ApplicationWindow {
- property string imageBase
signal signUp(string brand)
- function pushCatalog() {
+ function push(view, arg) {
busy.visible = false
busy.running = false
- stack.push("Catalog.qml")
+ stack.push(view + ".qml", {
+ "arg": arg
+ })
+ pushed()
}
+ signal pushed()
id: window
width: 360
height: 640