switerom / Meal-Budget-Plan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meal Budget Plan

Screenshot

This is a simple, offline desktop app for storing recipes, creating meal plans and generating grocery lists with your budget in mind. Grocery lists are generated automatically from the meal plan. It displays the price of recipes and the grocery list according to price data you enter for each type of food.

Dependencies

  • C++14
  • Qt 5.12
  • SQLite

Build

git clone $repo_url $repo_dir
cd $repo_dir
qmake
make

Run

# run without --db option to use temporary in-memory database
./budget-meal-planner --db file-name-for-new-database.db

Use

Step by step instructions for each task.

Meal Plan

  1. Go to Groceries tab
  2. Enter recipe names under Planned Recipes (names will auto complete)

The grocery list will be updated along with the plan. The list can be regenerated with the corresponding button (useful after editing food or recipe data). You can clear the plan with the corresponding button.

Add Other Groceries

  1. Go to Groceries tab
  2. Enter food name under Generated List (names will auto complete)

Groceries added manually will be maintained separately from auto-generated groceries so they will not be removed erroneously when changing the meal plan.

Adding Recipe

  1. Go to Recipes tab
  2. Click Add
  3. Change title
  4. Enter steps
  5. Enter ingredient names
  6. Change ingredient units and quantities
  7. Click Done

Editing Recipe

  1. Go to Recipes tab
  2. Double click on recipe
  3. Click Done when finished

You can also edit a recipe from the Groceries tab by double clicking a planned recipe.

Adding Food

Foods are created lazily if necessary when ingredients or groceries are added with an unrecognized name. Otherwise:

  1. Go to Foods tab
  2. Enter name text input
  3. Hit return
  4. If food is a staple, change staple field to 1
  5. Enter price of purchasing this food once

Edit Table Field

  1. Double click on field or start typing while field is focused
  2. Field will auto complete with valid options if applicable

Remove Rows From Table

  1. Select rows you want to remove (click each)
  2. Click associated Delete button
  3. Confirm

About


Languages

Language:C++ 96.3%Language:C 2.6%Language:QMake 1.1%