forked from FLAME-HPC/flame_visualiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
positiondialog.h
38 lines (32 loc) · 879 Bytes
/
positiondialog.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
/*!
* \file positiondialog.h
* \author Simon Coakley
* \date 2012
* \copyright Copyright (c) 2012 University of Sheffield
* \brief Header file for position dialog
*/
#ifndef POSITIONDIALOG_H_
#define POSITIONDIALOG_H_
#include <QDialog>
#include "./agenttype.h"
#include "./position.h"
#include "./visualsettingsmodel.h"
#include "./visualsettingsitem.h"
#include "./ui_positiondialog.h"
class PositionDialog : public QDialog, public Ui::PositionDialog {
Q_OBJECT
public:
PositionDialog(QList<AgentType> * ats = 0,
VisualSettingsModel * model = 0, int r = 0, QWidget *parent = 0);
void setPosition(Position p);
Position getPosition();
signals:
void okButton();
void cancelButton();
private:
QList<AgentType> * agentTypes;
VisualSettingsModel * vsm;
Position position;
int row;
};
#endif // POSITIONDIALOG_H_