Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
158 | KeyOz | 1 | /*************************************************************************** |
2 | * Copyright (C) 2008 by Manuel Schrape * |
||
3 | * manuel.schrape@gmx.de * |
||
4 | * * |
||
5 | * This program is free software; you can redistribute it and/or modify * |
||
6 | * it under the terms of the GNU General Public License as published by * |
||
7 | * the Free Software Foundation; either version 2 of the License. * |
||
8 | * * |
||
9 | * This program is distributed in the hope that it will be useful, * |
||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
12 | * GNU General Public License for more details. * |
||
13 | * * |
||
14 | * You should have received a copy of the GNU General Public License * |
||
15 | * along with this program; if not, write to the * |
||
16 | * Free Software Foundation, Inc., * |
||
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
18 | ***************************************************************************/ |
||
19 | #include "dlg_Motortest.h" |
||
20 | |||
21 | dlg_Motortest::dlg_Motortest(QWidget *parent) : QDialog(parent) |
||
22 | { |
||
23 | setupUi(this); |
||
24 | connect(sl_Left, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int))); |
||
25 | connect(sl_Right, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int))); |
||
26 | connect(sl_Front, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int))); |
||
27 | connect(sl_Back, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int))); |
||
28 | connect(sl_All, SIGNAL(valueChanged(int)), this, SLOT(slot_Motortest(int))); |
||
29 | } |
||
30 | |||
31 | void dlg_Motortest::slot_Motortest(int Wert) |
||
32 | { |
||
33 | Wert = Wert; |
||
34 | emit updateMotor(sl_Front->value(),sl_Back->value(),sl_Left->value(),sl_Right->value()); |
||
35 | } |
||
36 | |||
37 | dlg_Motortest::~dlg_Motortest() |
||
38 | { |
||
39 | } |
||
40 | |||
41 |