1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 19:14:15 -04:00

Massive UI revamping (v7): added channels

This commit is contained in:
f4exb
2022-04-12 16:20:45 +02:00
parent 32973132d9
commit 2f89b79c84
251 changed files with 3455 additions and 678 deletions
@@ -44,6 +44,7 @@ void LocalSourceSettings::resetToDefaults()
m_reverseAPIPort = 8888;
m_reverseAPIDeviceIndex = 0;
m_reverseAPIChannelIndex = 0;
m_workspaceIndex = 0;
}
QByteArray LocalSourceSettings::serialize() const
@@ -69,6 +70,9 @@ QByteArray LocalSourceSettings::serialize() const
s.writeBlob(16, m_channelMarker->serialize());
}
s.writeS32(17, m_workspaceIndex);
s.writeBlob(18, m_geometryBytes);
return s.final();
}
@@ -122,6 +126,9 @@ bool LocalSourceSettings::deserialize(const QByteArray& data)
m_channelMarker->deserialize(bytetmp);
}
d.readS32(27, &m_workspaceIndex, 0);
d.readBlob(28, &m_geometryBytes);
return true;
}
else