1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 23:43: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
@@ -70,6 +70,7 @@ void AISModSettings::resetToDefaults()
m_udpAddress = "127.0.0.1";
m_udpPort = 9998;
m_workspaceIndex = 0;
m_hidden = false;
}
bool AISModSettings::setMode(QString mode)
@@ -183,6 +184,7 @@ QByteArray AISModSettings::serialize() const
s.writeS32(41, m_workspaceIndex);
s.writeBlob(42, m_geometryBytes);
s.writeBool(43, m_hidden);
return s.final();
}
@@ -273,6 +275,7 @@ bool AISModSettings::deserialize(const QByteArray& data)
d.readS32(41, &m_workspaceIndex, 0);
d.readBlob(42, &m_geometryBytes);
d.readBool(43, &m_hidden, false);
return true;
}