13 * |
13 * |
14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 */ |
16 */ |
17 #include "DetailFermenter.h" |
17 #include "DetailFermenter.h" |
|
18 #include "ChartFermenter.h" |
18 #include "../ui/ui_DetailFermenter.h" |
19 #include "../ui/ui_DetailFermenter.h" |
19 #include "global.h" |
20 #include "global.h" |
20 #include "MainWindow.h" |
21 #include "MainWindow.h" |
21 |
22 |
22 |
23 |
84 connect(ui->modeButton2, SIGNAL(clicked()), this, SLOT(button2_pressed())); |
85 connect(ui->modeButton2, SIGNAL(clicked()), this, SLOT(button2_pressed())); |
85 connect(ui->modeEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::mode_changed); |
86 connect(ui->modeEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::mode_changed); |
86 connect(ui->stageEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::stage_changed); |
87 connect(ui->stageEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::stage_changed); |
87 connect(ui->codePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::code_changed); |
88 connect(ui->codePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::code_changed); |
88 connect(ui->profilePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::profile_changed); |
89 connect(ui->profilePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailFermenter::profile_changed); |
|
90 connect(ui->logButton, SIGNAL(clicked()), this, SLOT(on_ChartButton_clicked())); |
89 connect(parent, SIGNAL(updateFermenter(QString)), this, SLOT(refreshFermenter(QString))); |
91 connect(parent, SIGNAL(updateFermenter(QString)), this, SLOT(refreshFermenter(QString))); |
90 emit refreshTable(); |
92 emit refreshTable(); |
91 } |
93 } |
92 |
94 |
93 |
95 |