FastTrack 6.1.0
Tracks multiples objects dealing with occlusion and identities.
mainwindow.h
1/*
2This file is part of Fast Track.
3
4 FastTrack is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 FastTrack 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 FastTrack. If not, see <https://www.gnu.org/licenses/>.
16*/
17
18#ifndef MAINWINDOW_H
19#define MAINWINDOW_H
20
21#ifndef NO_WEB
22#include <QNetworkAccessManager>
23#include <QNetworkReply>
24#include <QNetworkRequest>
25#include <QWebEngineView>
26#endif
27
28#include <QAbstractButton>
29#include <QAction>
30#include <QByteArray>
31#include <QCloseEvent>
32#include <QFile>
33#include <QIcon>
34#include <QMainWindow>
35#include <QMenu>
36#include <QMessageBox>
37#include <QSysInfo>
38#include <QSystemTrayIcon>
39#include <QUrl>
40#include "batch.h"
41#include "interactive.h"
42#include "replay.h"
43#include "trackingmanager.h"
44#include "ui_mainwindow.h"
45
46using namespace std;
47
48namespace Ui {
49class MainWindow;
50}
51
52class MainWindow : public QMainWindow {
53 Q_OBJECT
54
55 public:
56 explicit MainWindow(QWidget *parent = 0);
58 void setMode(bool isExpert);
59
60 private:
61 Ui::MainWindow *ui;
62 void closeEvent(QCloseEvent *event);
63 Interactive *interactive;
64 Batch *batch;
65 Replay *replay;
66 TrackingManager *trackingManager;
67 QSystemTrayIcon *trayIcon;
68#ifndef NO_WEB
69 QWebEngineView *manual;
70 QWebEngineView *dataset;
71#endif
72};
73
74#endif // MAINWINDOW_H
The Batch widget provides an convenient way to add multiple files to analyze.
Definition: batch.h:49
The Interactive widget provides an environment to use the tracking widget in an interactive environme...
Definition: interactive.h:69
The MainWindow class is derived from a QMainWindow widget. It displays the main window of the program...
Definition: mainwindow.h:52
Ui::MainWindow * ui
Definition: mainwindow.h:61
void closeEvent(QCloseEvent *event)
Close event reimplemented to ask confirmation before closing.
Definition: mainwindow.cpp:170
MainWindow(QWidget *parent=0)
Constructs the MainWindow QObject and initializes the UI.
Definition: mainwindow.cpp:42
void setMode(bool isExpert)
Changes the software mode.
Definition: mainwindow.cpp:197
~MainWindow()
Destructs the MainWindow object and saves the previous set of parameters.
Definition: mainwindow.cpp:204
Definition: replay.h:73
The TrackingManager widget provides an environment to manage the log of FastTrack tracking analysis.
Definition: trackingmanager.h:35