src/global.h

changeset 467
c5f6f3f1b714
parent 464
1fed3ff9a64e
child 468
b21da6f583be
equal deleted inserted replaced
466:68ef2cc3e8d2 467:c5f6f3f1b714
232 struct Splits 232 struct Splits
233 { 233 {
234 QString name; ///< Name of split part 234 QString name; ///< Name of split part
235 QString code; ///< Code of split part 235 QString code; ///< Code of split part
236 double size; ///< Split volume size 236 double size; ///< Split volume size
237 };
238
239
240 struct Images
241 {
242 int pic_type;
243 QByteArray pic_data;
244 QString pic_comment;
245 QString filename;
246 QDateTime timestamp;
237 }; 247 };
238 248
239 249
240 struct Equipment 250 struct Equipment
241 { 251 {
685 double ws_sulfate; 695 double ws_sulfate;
686 double ws_chloride; 696 double ws_chloride;
687 double ws_sodium; 697 double ws_sodium;
688 double ws_magnesium; 698 double ws_magnesium;
689 double ws_total_alkalinity; 699 double ws_total_alkalinity;
700 QList<Images> images_list; ///< List of loaded images.
701 int images_count; ///< -1 if not yet loaded.
702 int images_current; ///< -1 or image in focus.
703 bool images_dirty;
690 }; 704 };
691 705
692 706
693 extern Recipe *recipe; 707 extern Recipe *recipe;
694 extern Product *product; 708 extern Product *product;

mercurial