FastTrack 6.1.0
Tracks multiples objects dealing with occlusion and identities.
Loading...
Searching...
No Matches
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#include <QAction>
22#include <QByteArray>
23#include <QCloseEvent>
24#include <QFile>
25#include <QIcon>
26#include <QMainWindow>
27#include <QMenu>
28#include <QMessageBox>
29#include <QSettings>
30#include <QSysInfo>
31#include <QSystemTrayIcon>
32#include <QUrl>
33#include "batch.h"
34#include "interactive.h"
35#include "replay.h"
36#include "trackingmanager.h"
37#include "ui_mainwindow.h"
38#include "updater.h"
39
40using namespace std;
41
42namespace Ui {
43class MainWindow;
44}
45
46class MainWindow : public QMainWindow {
47 Q_OBJECT
48
49 public:
50 explicit MainWindow(QWidget *parent = 0);
51 MainWindow(const MainWindow &T) = delete;
52 MainWindow &operator=(const MainWindow &T) = delete;
53 MainWindow &operator=(MainWindow &&T) = delete;
54 MainWindow(MainWindow &&T) = delete;
56 void setMode(bool isExpert);
57
58 private:
59 Ui::MainWindow *ui;
60 void closeEvent(QCloseEvent *event) override;
61 Updater *updater;
62 Interactive *interactive;
63 Batch *batch;
64 Replay *replay;
65 TrackingManager *trackingManager;
66 QSystemTrayIcon *trayIcon;
67 QSettings *settingsFile;
68};
69
70#endif // MAINWINDOW_H
The Batch widget provides an convenient way to add multiple files to analyze.
Definition batch.h:50
The Interactive widget provides an environment to use the tracking widget in an interactive environme...
Definition interactive.h:74
void closeEvent(QCloseEvent *event) override
Close event reimplemented to ask confirmation before closing.
Definition mainwindow.cpp:104
Ui::MainWindow * ui
Definition mainwindow.h:59
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:140
~MainWindow()
Destructs the MainWindow object and saves the previous set of parameters.
Definition mainwindow.cpp:147
Definition replay.h:72
The TrackingManager widget provides an environment to manage the log of FastTrack tracking analysis.
Definition trackingmanager.h:35
This class checks if updates are available on an remote host. Support Linux, MacOs and WIndows.
Definition updater.h:36