Revision 566373

Go back to digest for 30th July 2006

Features in Utilities

Jason Kivlighn committed changes in /trunk/extragear/utils/krecipes/src:

Update ingredient weights to also include how the ingredient is prepared. CAUTION: For updating the database structure, it just wipes
out any existing weight info!

There is also a yellow status for approximations, and if a prep method is used, but there isn't a weight for it, the status will be
yellow and it will use an entry without a prep method. Note that the status will be red if there is missing info and approximations,
and will be yellow if there is no missing information (red status) but just approximations.

Most of the work is done, but it needs some tweaking (when editting, the prep method combo box is hidden unless you resize the Per
Amount column)

No further work has been done on loading USDA data, so imported USDA data still won't automatically use prep methods.

File Changes

Added 2 files
  • /trunk/extragear/utils/krecipes/src/widgets
  •   /weightinput.cpp
  •   /weightinput.h
Modified 18 files
  • /trunk/extragear/utils/krecipes/src
  •   /propertycalculator.cpp
  •   /backends/qsqlrecipedb.cpp
  •   /backends/qsqlrecipedb.h
  •   /backends/recipedb.cpp
  •   /backends/recipedb.h
  •   /datablocks/weight.cpp
  •   /datablocks/weight.h
  •   /dialogs/conversiondialog.cpp
  •   /dialogs/createingredientweightdialog.cpp
  •   /dialogs/createingredientweightdialog.h
  •   /dialogs/ingredientsdialog.cpp
  •   /dialogs/ingredientsdialog.h
  •   /dialogs/recipeinputdialog.cpp
  •   /dialogs/recipeinputdialog.h
  •   /widgets/Makefile.am
  •   /widgets/prepmethodcombobox.cpp
  •   /widgets/prepmethodcombobox.h
  •   /backends/SQLite/literecipedb.cpp
20 files changed in total