Sat, 08 Jun 2024 15:54:30 +0200
Version 0.4.6a1. Added HLT equipment volume and deadspace settings. In EditProduct the target water selection is now sticky. Changed the water treatment tab. Added a row wich displays the salt adjustments. This can be selected between actual and target values. The treated water show can select between mash or sparge water. The total line will become the final water in the boil kettle. Database update function is expanded with the new settings. Added a popup message warning that the database is upgraded and user action is required for the equipment profiles.
#ifndef _EDITPROFILEWATER_H #define _EDITPROFILEWATER_H #include <QDialog> namespace Ui { class EditProfileWater; } class EditProfileWater : public QDialog { Q_OBJECT signals: void entry_changed(); public: explicit EditProfileWater(int id, QWidget *parent = 0); ~EditProfileWater(); private slots: void on_saveButton_clicked(); void on_cloneButton_clicked(); void on_quitButton_clicked(); void on_deleteButton_clicked(); void is_changed(); void water_changed(); void calcium_changed(double val); void total_alkalinity_changed(double val); void sulfate_changed(double val); void chloride_changed(double val); void sodium_changed(double val); void magnesium_changed(double val); void ph_changed(double val); private: Ui::EditProfileWater *ui; int recno; bool textIsChanged = false; double calcium, bicarbonate, sulfate, chloride, sodium, magnesium, ph, total_alkalinity; void WindowTitle(); void WaterSet(); }; #endif