-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
63 lines (41 loc) · 1.28 KB
/
mainwindow.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
55
56
57
58
59
60
61
62
63
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "shape.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
std::list<Shape*> *mLinkedList;
void on_emptyInput(QString XmlProperty, double &xmlValue);
void add_shape_to_UIlist(Shape *s);
private slots:
void on_actionAbout_triggered();
void on_actionOpen_triggered();
void on_actionSave_triggered();
void on_actionSave_As_triggered();
void on_actionExit_triggered();
void print(QString output);
void clear_window();
void close();
void on_addShapeButton_2_clicked();
void on_boxRadioButton_2_toggled(bool checked);
void on_coneRadioButton_2_toggled(bool checked);
void on_ellipsoidRadioButton_2_toggled(bool checked);
void on_clearButton_2_clicked();
void on_actionOpen_Create_Shape_Dialog_triggered();
void on_actionOpen_Output_Dock_triggered();
//void on_changed_linkedList(Shape *editShape);
private:
Ui::MainWindow *ui;
//QString ReadXmlLocation{""};
Shape *newShape{nullptr};
QString workingFile{""};
// bool read_xml(const QString& fileName,std::list<Shape*> *linked_list);
};
#endif // MAINWINDOW_H