File: browsmain.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 (68 lines) | stat: -rw-r--r-- 1,747 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
58
59
60
61
62
63
64
65
66
67
68
//---------------------------------------------------------------------------
#ifndef browsmainH
#define browsmainH
//---------------------------------------------------------------------------
#include <QMainWindow>
#include<QFutureWatcher>

#include "ui_browsmain.h"


class QShowEvent;
class QCloseEvent;
class StaListDialog;
class GoogleMapView;
class QTimer;

//---------------------------------------------------------------------------
class MainForm : public QMainWindow, private Ui::MainForm
{
    Q_OBJECT
protected:
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);

public slots:
    void BtnUpdateClick();
    void BtnListClick();
    void AddressChange();
    void MenuOpenClick();
    void MenuSaveClick();
    void MenuQuitClick();
    void MenuUpdateCasterClick();
    void MenuUpdateTableClick();
    void MenuViewStrClick();
    void MenuViewCasClick();
    void MenuViewNetClick();
    void MenuViewSrcClick();
    void MenuAboutClick();
    void BtnMapClick();
    void TimerTimer();
    void Table0SelectCell(int ACol, int ARow);
    void BtnStaClick();
    void StaMaskClick();
    void UpdateCaster();
    void UpdateTable();
    void ShowMsg(const QString &);

private:
    QString AddrList,AddrCaster,SrcTable,IniFile;
	int FontScale;
    GoogleMapView *googleMapView;
    StaListDialog *staListDialog;
    QTimer *Timer;
    QFutureWatcher<char*> TableWatcher;
    QFutureWatcher<char*> CasterWatcher;

    void GetCaster(void);
    void GetTable(void);
    void UpdateMap(void);
    void UpdateEnable(void);
    void ShowTable(void);
public:
    QStringList StaList;

    explicit MainForm(QWidget *parent=NULL);
};
//---------------------------------------------------------------------------
#endif