src/EditRecipe.h

changeset 112
9e0dfa78f349
parent 111
04f5a7c5a1dc
child 113
30a34d639e90
equal deleted inserted replaced
111:04f5a7c5a1dc 112:9e0dfa78f349
69 { 69 {
70 QString m_name; 70 QString m_name;
71 double m_amount; 71 double m_amount;
72 int m_type; 72 int m_type;
73 int m_use_use; 73 int m_use_use;
74 int m_time; 74 double m_time;
75 bool m_amount_is_weight; 75 bool m_amount_is_weight;
76 double m_cost; 76 double m_cost;
77 }; 77 };
78 78
79 79
288 bool ignoreChanges = false; 288 bool ignoreChanges = false;
289 Recipe *recipe; 289 Recipe *recipe;
290 /* 290 /*
291 * Variables for popup ingredients editing. 291 * Variables for popup ingredients editing.
292 */ 292 */
293 QJsonDocument hops, miscs; 293 QJsonDocument hops;
294 QComboBox *selectEdit, *addedEdit; 294 QComboBox *selectEdit, *addedEdit;
295 QLineEdit *nameEdit, *supplierEdit; 295 QLineEdit *nameEdit, *supplierEdit;
296 QDoubleSpinBox *amountEdit, *pctEdit, *maxEdit; 296 QDoubleSpinBox *amountEdit, *pctEdit, *maxEdit;
297 QCheckBox *to100Edit, *instockEdit; 297 QCheckBox *to100Edit, *instockEdit;
298 298

mercurial