39 void entry_changed(); |
43 void entry_changed(); |
40 |
44 |
41 public: |
45 public: |
42 explicit EditProduct(int id, QWidget *parent = 0); |
46 explicit EditProduct(int id, QWidget *parent = 0); |
43 ~EditProduct(); |
47 ~EditProduct(); |
|
48 |
|
49 public slots: |
|
50 void tooltip(QPointF point, bool state); |
44 |
51 |
45 private slots: |
52 private slots: |
46 void on_saveButton_clicked(); |
53 void on_saveButton_clicked(); |
47 void on_quitButton_clicked(); |
54 void on_quitButton_clicked(); |
48 void on_deleteButton_clicked(); |
55 void on_deleteButton_clicked(); |
188 void brew_aerspeed_changed(double val); |
195 void brew_aerspeed_changed(double val); |
189 void brew_aertime_changed(double val); |
196 void brew_aertime_changed(double val); |
190 void brew_trubloss_changed(double val); |
197 void brew_trubloss_changed(double val); |
191 void brew_topupwater_changed(double val); |
198 void brew_topupwater_changed(double val); |
192 void brew_log_button(); |
199 void brew_log_button(); |
|
200 void savePNG(); |
193 void brix_changed(double val); |
201 void brix_changed(double val); |
194 void primary_start_changed(double val); |
202 void primary_start_changed(double val); |
195 void primary_peak_changed(double val); |
203 void primary_peak_changed(double val); |
196 void primary_end_changed(double val); |
204 void primary_end_changed(double val); |
197 void primary_sg_changed(double val); |
205 void primary_sg_changed(double val); |
271 QSpinBox *htimeEdit, *mtimeEdit; |
279 QSpinBox *htimeEdit, *mtimeEdit; |
272 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit, *yinstockEdit; |
280 QCheckBox *to100Edit, *finstockEdit, *hinstockEdit, *minstockEdit, *yinstockEdit; |
273 QLabel *htimeLabel, *mtimeLabel, *mamountLabel, *yamountLabel, *ivolLabel, *itmpLabel; |
281 QLabel *htimeLabel, *mtimeLabel, *mamountLabel, *yamountLabel, *ivolLabel, *itmpLabel; |
274 QTableWidget *splitTable; |
282 QTableWidget *splitTable; |
275 QPushButton *split_addButton, *split_delButton; |
283 QPushButton *split_addButton, *split_delButton; |
|
284 QChart *chart; |
|
285 QChartView *chartView; |
|
286 Callout *t_tooltip = 0; |
276 |
287 |
277 void to100Fermentables(int row); |
288 void to100Fermentables(int row); |
278 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
289 static bool ferment_sort_test(const Fermentables &D1, const Fermentables &D2); |
279 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
290 static bool hop_sort_test(const Hops &D1, const Hops &D2); |
280 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |
291 static bool misc_sort_test(const Miscs &D1, const Miscs &D2); |