Subversion Repositories Projects

Rev

Rev 166 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 166 Rev 167
Line 32... Line 32...
32
#include <qwt_plot_curve.h>
32
#include <qwt_plot_curve.h>
33
#include <qwt_plot_grid.h>
33
#include <qwt_plot_grid.h>
34
#include <qwt_legend.h>
34
#include <qwt_legend.h>
35
#include <qwt_plot.h>
35
#include <qwt_plot.h>
36
#include "ui_mktool.h"
36
#include "ui_mktool.h"
-
 
37
#include "wdg_Settings.h"
Line 37... Line 38...
37
 
38
 
38
#include "../SerialPort/ManageSerialPort.h"
39
#include "../SerialPort/ManageSerialPort.h"
Line 39... Line 40...
39
#include "../cSettings.h"
40
#include "../cSettings.h"
Line 54... Line 55...
54
    ManageSerialPort *serialPort;
55
    ManageSerialPort *serialPort;
Line 55... Line 56...
55
 
56
 
56
    // Settings-Object
57
    // Settings-Object
Line -... Line 58...
-
 
58
    cSettings *Settings;
-
 
59
 
-
 
60
    // Settings-Widget
57
    cSettings *Settings;
61
    wdg_Settings *f_Settings;
58
 
62
 
Line 59... Line 63...
59
    // Default-Ticker
63
    // Default-Ticker
60
    QTimer *Ticker;
64
    QTimer *Ticker;
Line 95... Line 99...
95
    sRxData RxData;
99
    sRxData RxData;
Line 96... Line 100...
96
 
100
 
97
    QString RXS;
101
    QString RXS;
Line 98... Line 102...
98
    QString LastSend;
102
    QString LastSend;
99
 
103
 
Line 100... Line -...
100
    // TestOnly
-
 
101
    QProcess *Update;
-
 
102
 
104
    // Softwareupdate
Line 103... Line 105...
103
 
105
    QProcess *Update;
Line 104... Line 106...
104
//    int DecodeData[150];
106
 
Line 116... Line 118...
116
 
118
 
117
    // Daten-Plotter
119
    // Daten-Plotter
118
    void update_Plot();
120
    void update_Plot();
Line 119... Line -...
119
    void config_Plot();
-
 
120
 
-
 
121
    // Settings-Bereich
-
 
122
    QComboBox *setCombo(QComboBox *Combo, int Set, int Wert);
-
 
123
    int get_Value(QComboBox *Combo);
-
 
124
    void show_ParameterSet(int Set);
-
 
125
    void store_ParameterSet(int Set);
-
 
126
    void set_LED(QToolButton *ToolButton, bool On=false);
121
    void config_Plot();
127
 
122
 
128
    // Daten Senden, Empfangen und verarbeiten
123
    // Daten Senden, Empfangen und verarbeiten
Line 129... Line 124...
129
    void send_Data(char CMD, int Address, char Data[150],unsigned int Length, bool Resend = true);
124
    void send_Data(char CMD, int Address, char Data[150],unsigned int Length, bool Resend = true);
130
    void new_RXData(sRxData RX);
125
    void new_RXData(sRxData RX);
131
 
126
 
Line 132... Line 127...
132
    // Debugdaten anzeigen und speichern.
127
    // Debugdaten anzeigen und speichern.
133
    void show_DebugData();
128
    void show_DebugData();
Line 134... Line 129...
134
    void write_CSV();
129
    void write_CSV();
135
 
130
 
136
    // Programmeinstellungen speichern
131
    // Programmeinstellungen speichern
137
    void write_Settings();
132
    void set_Preferences();
Line 162... Line 157...
162
 
157
 
163
    // Seriell-Port Slots
158
    // Seriell-Port Slots
164
    void slot_newDataReceived(const QByteArray &dataReceived);
159
    void slot_newDataReceived(const QByteArray &dataReceived);
Line 165... Line -...
165
    void slot_OpenPort();
-
 
166
 
-
 
167
    void slot_tbUp();
-
 
168
    void slot_tbDown();
-
 
169
    void slot_tbLeft();
-
 
170
    void slot_tbRight();
-
 
171
    void slot_LEDtoValue();
-
 
172
    void slot_ValuetoLED16(int Wert);
-
 
173
    void slot_ValuetoLED17(int Wert);
160
    void slot_OpenPort();
Line 174... Line 161...
174
 
161
 
Line 175... Line 162...
175
    void slot_TabChanged(int Tab);
162
    void slot_TabChanged(int Tab);
Line 176... Line 163...
176
 
163
 
177
    void slot_RecordCSV();
164
    void slot_RecordCSV();
178
 
-
 
179
    void slot_ScrollPlot(int Pos);
-
 
180
 
165
 
Line 181... Line 166...
181
    void slot_GetParameter();
166
    void slot_ScrollPlot(int Pos);