You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.2 KiB
92 lines
3.2 KiB
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include "../../components/base/basicSettingsProvider.h"
|
|
#include "../../data/media/video/videoAVLIBSource.h"
|
|
#include "../../gui/controls/VideoWidget.h"
|
|
#include "../../gui/controls/OpenGLWidget.h"
|
|
#include "../../gui/controls/OGLRadarWidget.h"
|
|
#include "../../gui/controls/RangeMapWidget.h"
|
|
#include "../../gui/controls/RadarMapWidget.h"
|
|
#include "../../gui/controls/VideoSourceChooser.h"
|
|
#include "../../gui/controls/DeviceChooser.h"
|
|
#include "../../gui/controls/TimeShowWidget.h"
|
|
#include "../../gui/controls/EventViewWidget.h"
|
|
#include "../../gui/dialogs/ReportsManagerDialog.h"
|
|
#include "../../gui/controls/mapControl/QMapControl"
|
|
#include "../../gui/controls/mapControl/openaerialmapadapter.h"
|
|
#include "../../components/object/objectLGS.h"
|
|
#include "../../components/object/objectEventReport.h"
|
|
#include "../../hardware/stick/joystick.h"
|
|
|
|
#include <QMainWindow>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow{
|
|
Q_OBJECT
|
|
private:
|
|
config_setting_t *m_pSettings;
|
|
/* Main Widget */
|
|
joysticObject *m_pJoyStick;
|
|
/* Widgets */
|
|
TimeShowWidget *m_pTitleWidget;
|
|
EventViewerList *m_pEventsList;
|
|
DeviceChooser *m_pDevScrollAreaWidgetContents;
|
|
VideoSourceChooser *m_pScrollAreaWidgetContents;
|
|
VideoWidget *m_pMainVideoWidget;
|
|
guiReportsManagerDialog *m_pReportManager;
|
|
objectEventReport *m_pReportCreator;
|
|
RangeMapWidget *m_pRangeMap;
|
|
RadarMapWidget *m_pRangeRadar;
|
|
GLRadar *m_pGLRadar;
|
|
bool m_bUserRecordsVideo;
|
|
QPushButton *m_pButtonCmdVideoRecord;
|
|
QPushButton *m_pButton5;
|
|
QPushButton *m_pButton6;
|
|
private slots:
|
|
void handleSilencePress();
|
|
//void handleScreenShotPress();
|
|
//void handleButton2Press();
|
|
//void handleMaximumsPress();
|
|
//void handleMinimumsPress();
|
|
//void handleGenerateWS();
|
|
//void handleSave2DPicture();
|
|
void handleSave3DPicture();
|
|
void handleAddMask();
|
|
void handleDeleteMask();
|
|
//void handleUpdateMask();
|
|
//void handleSetStatusMask();
|
|
void handleVideoRecorder();
|
|
void handleReports();
|
|
void on_m_pButtonCmdClear_clicked();
|
|
|
|
void on_m_pButton5_clicked(bool checked);
|
|
|
|
void on_m_pButton6_clicked(bool checked);
|
|
|
|
void on_pushButton_3_clicked();
|
|
|
|
void on_pushButton_4_clicked();
|
|
|
|
void on_m_pButtonCmdVideoRecord_clicked();
|
|
|
|
void on_m_pButtonCmdReport_clicked();
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
~MainWindow();
|
|
RangeMapWidget * getRangeMap( void );
|
|
RadarMapWidget * getRadarMap( void );
|
|
GLRadar * getGLRadar( void );
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
public slots:
|
|
void callbackSettings(void);
|
|
//void callbackClear(void);
|
|
//void changeEvent(QEvent *event);
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|