forked from GokuMK/TSRE5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ActivityTrafficWindow.h
43 lines (34 loc) · 1012 Bytes
/
ActivityTrafficWindow.h
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
/* This file is part of TSRE5.
*
* TSRE5 - train sim game engine and MSTS/OR Editors.
* Copyright (C) 2016 Piotr Gadecki <pgadecki@gmail.com>
*
* Licensed under GNU General Public License 3.0 or later.
*
* See LICENSE.md or https://www.gnu.org/licenses/gpl.html
*/
#ifndef ACTIVITYTRAFFICWINDOW_H
#define ACTIVITYTRAFFICWINDOW_H
#include <QWidget>
#include <QtWidgets>
class Route;
class Traffic;
class Service;
class ActivityTrafficProperties;
class ActivityTrafficWindow : public QWidget {
Q_OBJECT
public:
ActivityTrafficWindow(QWidget* parent);
virtual ~ActivityTrafficWindow();
ActivityTrafficProperties* trafficProperties = NULL;
public slots:
void lTrafficSelected(QTreeWidgetItem * item, int column);
void showTraffic(Route* r);
void bNewTrafficSelected();
signals:
void reloadTrafficsList();
private:
Route *route = NULL;
QTreeWidget lTraffic;
};
#endif /* ACTIVITYTRAFFICWINDOW_H */