-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmainwindow.cpp
More file actions
68 lines (27 loc) · 735 Bytes
/
Copy pathmainwindow.cpp
File metadata and controls
68 lines (27 loc) · 735 Bytes
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
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLabel>
#include "input.h"
#include <qpainter.h>
#include <qpicture.h>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
// load_image img;
// string image_path = "/home/arminsadreddin/goal_path/field";
// img.load_field(this , image_path);
// input in;
// in.load_data("/home/arminsadreddin/goal_path/ourGoalPath.txt");
// paths = in.all_paths;
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::paintEvent(QPaintEvent *e){
// QPainter painter(this);
// draw_path path_draw;
// path_draw.draw_goal_paths(this , paths,e);
}