Added a few more dialogs and models
This commit is contained in:
1 parent
2a21ffb8c7
commit
b8c62a923e
79 files changed
+2748
-326
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user