forked from FLAME-HPC/flame_visualiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shapedialog.h
41 lines (34 loc) · 876 Bytes
/
shapedialog.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
/*!
* \file shapedialog.h
* \author Simon Coakley
* \date 2012
* \copyright Copyright (c) 2012 University of Sheffield
* \brief Header file for shape dialog
*/
#ifndef SHAPEDIALOG_H_
#define SHAPEDIALOG_H_
#include <QDialog>
#include "./visualsettingsmodel.h"
#include "./shape.h"
#include "./agenttype.h"
#include "./ui_shapedialog.h"
class ShapeDialog : public QDialog, public Ui::ShapeDialog {
Q_OBJECT
public:
ShapeDialog(QList<AgentType> * ats = 0,
VisualSettingsModel * vsm = 0, int r = 0, QWidget *parent = 0);
void setShape(Shape s);
Shape getShape();
signals:
void okButton();
void cancelButton();
private slots:
void shapeUpdated(QString);
private:
void enableYZ(bool e);
VisualSettingsModel * vsmodel;
Shape shape;
QList<AgentType> * agentTypes;
int row;
};
#endif // SHAPEDIALOG_H_