-
Notifications
You must be signed in to change notification settings - Fork 0
/
excelnode.cpp
56 lines (44 loc) · 883 Bytes
/
excelnode.cpp
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
/**************************************************************
* File Name : excelnode.cpp
* Author : ThreeDog
* Date : Fri Jul 21 15:48:56 2017
* Description : Excel的节点类,每一个对象存放Excel表格的坐标和表格中的数据
*
**************************************************************/
#include "excelnode.h"
ExcelNode::ExcelNode()
{
}
ExcelNode::ExcelNode(int _x, int _y, QString _value)
{
this->x = _x;
this->y = _y;
this->value = _value;
}
void ExcelNode::setX(const int _x)
{
this->x = _x;
}
void ExcelNode::setY(const int _y)
{
this->y = _y;
}
void ExcelNode::setValue(const QString &_value)
{
this->value = _value;
}
int ExcelNode::getX()
{
return this->x;
}
int ExcelNode::getY()
{
return this->y;
}
QString ExcelNode::getValue()
{
return this->value;
}
ExcelNode::~ExcelNode()
{
}