From 9f315160f619d976f2daa6049e0977c33340184e Mon Sep 17 00:00:00 2001 From: Yarne Coppens Date: Sun, 29 Sep 2024 16:51:55 +0200 Subject: [PATCH] Created animal shop --- icons/animal_stuff/birdfood.svg | 69 +++++++++++++++++++ icons/animal_stuff/carrot.svg | 19 +++++ icons/animal_stuff/cat_food.svg | 7 ++ icons/animal_stuff/dog_bath_product.svg | 7 ++ icons/animal_stuff/dog_dish.svg | 18 +++++ icons/animal_stuff/dog_food.svg | 7 ++ icons/animal_stuff/dog_leash.svg | 31 +++++++++ icons/animal_stuff/dog_toy.svg | 21 ++++++ icons/animal_stuff/feather_toy.svg | 7 ++ icons/animal_stuff/fish_food.svg | 28 ++++++++ icons/animal_stuff/hair_brush.svg | 34 +++++++++ icons/animal_stuff/hamster_food.svg | 58 ++++++++++++++++ icons/animals/bird.svg | 9 +++ icons/animals/bunny.svg | 60 ++++++++++++++++ icons/animals/cat.svg | 14 ++++ icons/animals/fish.svg | 11 +++ icons/animals/hamster.svg | 62 +++++++++++++++++ icons/animals/husky.svg | 92 +++++++++++++++++++++++++ icons/animals/snake.svg | 40 +++++++++++ icons/animals/turtle.svg | 35 ++++++++++ src/data_connection.py | 24 +++++++ 21 files changed, 653 insertions(+) create mode 100644 icons/animal_stuff/birdfood.svg create mode 100644 icons/animal_stuff/carrot.svg create mode 100644 icons/animal_stuff/cat_food.svg create mode 100644 icons/animal_stuff/dog_bath_product.svg create mode 100644 icons/animal_stuff/dog_dish.svg create mode 100644 icons/animal_stuff/dog_food.svg create mode 100644 icons/animal_stuff/dog_leash.svg create mode 100644 icons/animal_stuff/dog_toy.svg create mode 100644 icons/animal_stuff/feather_toy.svg create mode 100644 icons/animal_stuff/fish_food.svg create mode 100644 icons/animal_stuff/hair_brush.svg create mode 100644 icons/animal_stuff/hamster_food.svg create mode 100644 icons/animals/bird.svg create mode 100644 icons/animals/bunny.svg create mode 100644 icons/animals/cat.svg create mode 100644 icons/animals/fish.svg create mode 100644 icons/animals/hamster.svg create mode 100644 icons/animals/husky.svg create mode 100644 icons/animals/snake.svg create mode 100644 icons/animals/turtle.svg diff --git a/icons/animal_stuff/birdfood.svg b/icons/animal_stuff/birdfood.svg new file mode 100644 index 0000000..8a24a05 --- /dev/null +++ b/icons/animal_stuff/birdfood.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + diff --git a/icons/animal_stuff/carrot.svg b/icons/animal_stuff/carrot.svg new file mode 100644 index 0000000..03b5651 --- /dev/null +++ b/icons/animal_stuff/carrot.svg @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/cat_food.svg b/icons/animal_stuff/cat_food.svg new file mode 100644 index 0000000..92ba277 --- /dev/null +++ b/icons/animal_stuff/cat_food.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/dog_bath_product.svg b/icons/animal_stuff/dog_bath_product.svg new file mode 100644 index 0000000..e15359a --- /dev/null +++ b/icons/animal_stuff/dog_bath_product.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/dog_dish.svg b/icons/animal_stuff/dog_dish.svg new file mode 100644 index 0000000..2ebe5b6 --- /dev/null +++ b/icons/animal_stuff/dog_dish.svg @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/dog_food.svg b/icons/animal_stuff/dog_food.svg new file mode 100644 index 0000000..af28969 --- /dev/null +++ b/icons/animal_stuff/dog_food.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/dog_leash.svg b/icons/animal_stuff/dog_leash.svg new file mode 100644 index 0000000..4297d27 --- /dev/null +++ b/icons/animal_stuff/dog_leash.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/dog_toy.svg b/icons/animal_stuff/dog_toy.svg new file mode 100644 index 0000000..05ceebb --- /dev/null +++ b/icons/animal_stuff/dog_toy.svg @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/feather_toy.svg b/icons/animal_stuff/feather_toy.svg new file mode 100644 index 0000000..184f390 --- /dev/null +++ b/icons/animal_stuff/feather_toy.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/fish_food.svg b/icons/animal_stuff/fish_food.svg new file mode 100644 index 0000000..09f2f0e --- /dev/null +++ b/icons/animal_stuff/fish_food.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/hair_brush.svg b/icons/animal_stuff/hair_brush.svg new file mode 100644 index 0000000..1319e46 --- /dev/null +++ b/icons/animal_stuff/hair_brush.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animal_stuff/hamster_food.svg b/icons/animal_stuff/hamster_food.svg new file mode 100644 index 0000000..c932265 --- /dev/null +++ b/icons/animal_stuff/hamster_food.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + diff --git a/icons/animals/bird.svg b/icons/animals/bird.svg new file mode 100644 index 0000000..50c9eb5 --- /dev/null +++ b/icons/animals/bird.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/icons/animals/bunny.svg b/icons/animals/bunny.svg new file mode 100644 index 0000000..b302d1a --- /dev/null +++ b/icons/animals/bunny.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animals/cat.svg b/icons/animals/cat.svg new file mode 100644 index 0000000..6429c3b --- /dev/null +++ b/icons/animals/cat.svg @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/icons/animals/fish.svg b/icons/animals/fish.svg new file mode 100644 index 0000000..b266d64 --- /dev/null +++ b/icons/animals/fish.svg @@ -0,0 +1,11 @@ + + + + Fish + + + + + + + \ No newline at end of file diff --git a/icons/animals/hamster.svg b/icons/animals/hamster.svg new file mode 100644 index 0000000..bffe776 --- /dev/null +++ b/icons/animals/hamster.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animals/husky.svg b/icons/animals/husky.svg new file mode 100644 index 0000000..323fab7 --- /dev/null +++ b/icons/animals/husky.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animals/snake.svg b/icons/animals/snake.svg new file mode 100644 index 0000000..a24cfa5 --- /dev/null +++ b/icons/animals/snake.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/icons/animals/turtle.svg b/icons/animals/turtle.svg new file mode 100644 index 0000000..050bc7b --- /dev/null +++ b/icons/animals/turtle.svg @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/src/data_connection.py b/src/data_connection.py index b724f80..5233e07 100644 --- a/src/data_connection.py +++ b/src/data_connection.py @@ -35,6 +35,30 @@ light = product_classes.Product(name="Licht", price=2.0, barcode=1023 ,image_fil flashlight = product_classes.Product(name="Zaklamp", price=1.0, barcode=1024 ,image_filename="garage/flashlight") search = product_classes.Product(name="Zoeken", price=2.0, barcode=1025 ,image_filename="garage/search") +#Animal stuff +birdfood = product_classes.Product(name="birdfood", price=5.0, barcode=1026 ,image_filename="animal_stuff/birdfood") +carrot = product_classes.Product(name="carrot", price=1.0, barcode=1027 ,image_filename="animal_stuff/carrot") +cat_food = product_classes.Product(name="cat_food", price=1.0, barcode=1028 ,image_filename="animal_stuff/cat_food") +dog_bath_product = product_classes.Product(name="dog_bath_product", price=2.0, barcode=1029 ,image_filename="animal_stuff/dog_bath_product") +dog_dish = product_classes.Product(name="dog_dish", price=10.0, barcode=1030 ,image_filename="animal_stuff/dog_dish") +dog_food = product_classes.Product(name="dog_food", price=5.0, barcode=1031 ,image_filename="animal_stuff/dog_food") +dog_leash = product_classes.Product(name="dog_leash", price=10.0, barcode=1032 ,image_filename="animal_stuff/dog_leash") +dog_toy = product_classes.Product(name="dog_toy", price=5.0, barcode=1033 ,image_filename="animal_stuff/dog_toy") +feather_toy = product_classes.Product(name="feather_toy", price=5.0, barcode=1034 ,image_filename="animal_stuff/feather_toy") +fish_food = product_classes.Product(name="fish_food", price=2.0, barcode=1035 ,image_filename="animal_stuff/fish_food") +hair_brush = product_classes.Product(name="hair_brush", price=2.0, barcode=1036 ,image_filename="animal_stuff/hair_brush") +hamster_food = product_classes.Product(name="hamster_food", price=5.0, barcode=1037 ,image_filename="animal_stuff/hamster_food") + +#Animals +bird = product_classes.Product(name="bird", price=5.0, barcode=1038 ,image_filename="animals/bird") +bunny = product_classes.Product(name="bunny", price=5.0, barcode=1039 ,image_filename="animals/bunny") +cat = product_classes.Product(name="cat", price=10.0, barcode=1040 ,image_filename="animals/cat") +fish = product_classes.Product(name="fish", price=1.0, barcode=1041 ,image_filename="animals/fish") +hamster = product_classes.Product(name="hamster", price=5.0, barcode=1042 ,image_filename="animals/hamster") +husky = product_classes.Product(name="husky", price=10.0, barcode=1043 ,image_filename="animals/husky") +snake = product_classes.Product(name="snake", price=10.0, barcode=1044 ,image_filename="animals/snake") +turtle = product_classes.Product(name="turtle", price=5.0, barcode=1045 ,image_filename="animals/turtle") + product_list = [melon,pear,peach,orange,apple,banana,cherry,kiwi,grape,strawberry,pineapple,blueberry,raspberry,lemon,tire,wash,oil,gas,work_time,tool_usage,steering_wheel,air_pump,bike_bell,light,flashlight,search] def get_all_products() -> list[product_classes.Product]: