forked from GokuMK/TSRE5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathActivityEventWindow.h
54 lines (40 loc) · 1.21 KB
/
ActivityEventWindow.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
44
45
46
47
48
49
50
51
52
53
54
/* 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 ACTIVITYEVENTWINDOW_H
#define ACTIVITYEVENTWINDOW_H
#include <QtWidgets>
class ActivityEventProperties;
class Activity;
class ActivityEventWindow : public QWidget {
Q_OBJECT
public:
ActivityEventWindow(QWidget* parent);
virtual ~ActivityEventWindow();
ActivityEventProperties *eventProperties = NULL;
public slots:
void showEvents(Activity* act);
void eventListSelected(QListWidgetItem * item);
void eventNameChanged(int id);
void bNewEventSelected();
void bDeleteEventSelected();
signals:
private:
QWidget actionWidget;
QWidget locationWidget;
QWidget timeWidget;
QListWidget actionList;
QListWidget locationList;
QListWidget timeList;
Activity *activity;
QComboBox *cActionTypes;
QComboBox *cOutcomeTypes;
QComboBox *cEventNames;
};
#endif /* ACTIVITYEVENTWINDOW_H */