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 "DetailiSpindel.h" |
17 #include "DetailiSpindel.h" |
|
18 #include "ChartiSpindel.h" |
18 #include "../ui/ui_DetailiSpindel.h" |
19 #include "../ui/ui_DetailiSpindel.h" |
19 #include "global.h" |
20 #include "global.h" |
20 #include "Utils.h" |
21 #include "Utils.h" |
21 #include "MainWindow.h" |
22 #include "MainWindow.h" |
22 |
23 |
51 ui->codePick->addItem(query.value("code").toString()+" - "+query.value("name").toString()); |
52 ui->codePick->addItem(query.value("code").toString()+" - "+query.value("name").toString()); |
52 } |
53 } |
53 |
54 |
54 connect(ui->codePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailiSpindel::code_changed); |
55 connect(ui->codePick, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailiSpindel::code_changed); |
55 connect(ui->modeEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailiSpindel::mode_changed); |
56 connect(ui->modeEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailiSpindel::mode_changed); |
|
57 connect(ui->logButton, SIGNAL(clicked()), this, SLOT(on_ChartButton_clicked())); |
56 connect(parent, SIGNAL(updateiSpindel(QString)), this, SLOT(refreshiSpindel(QString))); |
58 connect(parent, SIGNAL(updateiSpindel(QString)), this, SLOT(refreshiSpindel(QString))); |
57 emit refreshTable(); |
59 emit refreshTable(); |
58 } |
60 } |
59 |
61 |
60 |
62 |