1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 23:14: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
@@ -45,6 +45,7 @@ void RemoteSourceSettings::resetToDefaults()
m_reverseAPIDeviceIndex = 0;
m_reverseAPIChannelIndex = 0;
m_workspaceIndex = 0;
m_hidden = false;
}
QByteArray RemoteSourceSettings::serialize() const
@@ -74,6 +75,7 @@ QByteArray RemoteSourceSettings::serialize() const
s.writeS32(15, m_workspaceIndex);
s.writeBlob(16, m_geometryBytes);
s.writeBool(17, m_hidden);
return s.final();
}
@@ -138,6 +140,7 @@ bool RemoteSourceSettings::deserialize(const QByteArray& data)
d.readS32(15, &m_workspaceIndex, 0);
d.readBlob(16, &m_geometryBytes);
d.readBool(17, &m_hidden, false);
return true;
}