1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -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
@@ -46,6 +46,7 @@ void FileSourceSettings::resetToDefaults()
m_reverseAPIDeviceIndex = 0;
m_reverseAPIChannelIndex = 0;
m_workspaceIndex = 0;
m_hidden = false;
}
QByteArray FileSourceSettings::serialize() const
@@ -75,6 +76,7 @@ QByteArray FileSourceSettings::serialize() const
s.writeS32(16, m_workspaceIndex);
s.writeBlob(17, m_geometryBytes);
s.writeBool(18, m_hidden);
return s.final();
}
@@ -135,6 +137,7 @@ bool FileSourceSettings::deserialize(const QByteArray& data)
d.readS32(16, &m_workspaceIndex, 0);
d.readBlob(17, &m_geometryBytes);
d.readBool(18, &m_hidden, false);
return true;
}