24 #include "InventoryWaters.h" |
24 #include "InventoryWaters.h" |
25 #include "InventoryEquipments.h" |
25 #include "InventoryEquipments.h" |
26 #include "ProfileWaters.h" |
26 #include "ProfileWaters.h" |
27 #include "ProfileMashs.h" |
27 #include "ProfileMashs.h" |
28 #include "Setup.h" |
28 #include "Setup.h" |
|
29 #include "PrinterDialog.h" |
29 #include "../ui/ui_MainWindow.h" |
30 #include "../ui/ui_MainWindow.h" |
30 #include "config.h" |
31 #include "config.h" |
31 |
32 |
32 #include <QApplication> |
33 #include <QApplication> |
33 #include <QCloseEvent> |
34 #include <QCloseEvent> |
183 this->hide(); // Close the main window |
184 this->hide(); // Close the main window |
184 InventoryEquipmentsWindow->show(); // Show a second window |
185 InventoryEquipmentsWindow->show(); // Show a second window |
185 } |
186 } |
186 |
187 |
187 |
188 |
|
189 void MainWindow::on_actionSupplies_list_triggered() |
|
190 { |
|
191 qDebug() << Q_FUNC_INFO; |
|
192 QDialog *printer = new PrinterDialog(PR_SUPPLIES, -1, this); |
|
193 } |
|
194 |
|
195 |
|
196 void MainWindow::on_actionYeast_bank_triggered() |
|
197 { |
|
198 qDebug() << Q_FUNC_INFO; |
|
199 QDialog *printer = new PrinterDialog(PR_YEASTBANK, -1, this); |
|
200 } |
|
201 |
|
202 |
188 void MainWindow::fromProfileWaters() |
203 void MainWindow::fromProfileWaters() |
189 { |
204 { |
190 qDebug() << Q_FUNC_INFO; |
205 qDebug() << Q_FUNC_INFO; |
191 delete ProfileWatersWindow; |
206 delete ProfileWatersWindow; |
192 this->show(); |
207 this->show(); |