Added a few more dialogs and models

This commit is contained in:
feedc0de committed 2022-01-10 21:49:06 +01:00
1 parent 2a21ffb8c7
commit b8c62a923e
79 files changed
+2748 -326

No files matched your search

+22
View File
@@ -143,15 +143,37 @@ QDataStream &operator>>(QDataStream &ds, Background &background)
return ds;
}
QDataStream &operator<<(QDataStream &ds, const Path::Point &point)
{
ds << point.point;
ds << point.sp;
return ds;
}
QDataStream &operator>>(QDataStream &ds, Path::Point &point)
{
ds >> point.point;
ds >> point.sp;
return ds;
}
QDataStream &operator<<(QDataStream &ds, const Path &path)
{
ds << path.name;
ds << path.points;
ds << path.type;
ds << path.closed;
ds << path.precision;
return ds;
}
QDataStream &operator>>(QDataStream &ds, Path &path)
{
ds >> path.name;
ds >> path.points;
ds >> path.type;
ds >> path.closed;
ds >> path.precision;
return ds;
}