Basic classes and window layout

This commit is contained in:
Alexey 2025-06-27 14:11:44 +03:00
commit a9c7952f5c
10 changed files with 706 additions and 0 deletions

24
line.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef LINE_H
#define LINE_H
#include <QString>
class Line
{
public:
Line();
void setStartPoint(int x, int y);
void setEndPoint(int x, int y);
void setColor(QString color);
int getStartX();
int getStartY();
int getEndX();
int getEndY();
QString getColor();
QString toLuaTable();
private:
int startX, startY, endX, endY;
QString color;
};
#endif // LINE_H