File: logstrdlg.h

package info (click to toggle)
rtklib 2.4.3%2Bdfsg1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 41,796 kB
  • sloc: cpp: 51,592; ansic: 50,584; fortran: 987; makefile: 861; sh: 45
file content (57 lines) | stat: -rw-r--r-- 1,455 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//---------------------------------------------------------------------------
#ifndef logstrdlgH
#define logstrdlgH
//---------------------------------------------------------------------------
#include <QDialog>

#include "ui_logstrdlg.h"

class KeyDialog;
class SerialOptDialog;
class TcpOptDialog;

//---------------------------------------------------------------------------
class LogStrDialog : public QDialog, private Ui::LogStrDialog
{
    Q_OBJECT

protected:
    void showEvent(QShowEvent *);

    KeyDialog *keyDialog;
    SerialOptDialog *serialOptDialog;
    TcpOptDialog *tcpOptDialog;

public slots:
    void BtnOkClick();
    void Stream1Change(int);
    void Stream2Change(int);
    void BtnStr1Click();
    void BtnStr2Click();
    void BtnFile1Click();
    void BtnFile2Click();
    void Stream1CClick();
    void Stream2CClick();
    void BtnKeyClick();
    void BtnStr3Click();
    void BtnFile3Click();
    void Stream3CClick();
    void Stream3Change(int);

private:
    QString GetFilePath(const QString &path);
    QString SetFilePath(const QString &path);

    void SerialOpt(int index, int opt);
    void TcpOpt(int index, int opt);
    void UpdateEnable(void);

public:
	int StreamC[3],Stream[3],LogTimeTag,LogAppend;
    QString Paths[3][4],SwapInterval;
    QString History[10],MntpHist[10];

    explicit LogStrDialog(QWidget* parent);
};
//---------------------------------------------------------------------------
#endif