1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-18 05:38:47 -04:00

Massive UI revamping (v7): persistent channel show/hide

This commit is contained in:
f4exb
2022-04-12 18:27:27 +02:00
parent 2f89b79c84
commit f1cf2f4f18
140 changed files with 300 additions and 6 deletions
@@ -61,6 +61,7 @@ void UDPSourceSettings::resetToDefaults()
m_reverseAPIDeviceIndex = 0;
m_reverseAPIChannelIndex = 0;
m_workspaceIndex = 0;
m_hidden = false;
}
QByteArray UDPSourceSettings::serialize() const
@@ -105,6 +106,7 @@ QByteArray UDPSourceSettings::serialize() const
s.writeS32(28, m_workspaceIndex);
s.writeBlob(29, m_geometryBytes);
s.writeBool(30, m_hidden);
return s.final();
}
@@ -201,6 +203,7 @@ bool UDPSourceSettings::deserialize(const QByteArray& data)
d.readS32(28, &m_workspaceIndex, 0);
d.readBlob(29, &m_geometryBytes);
d.readBool(30, &m_hidden, false);
return true;
}