1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -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
@@ -86,6 +86,7 @@ void PacketModSettings::resetToDefaults()
m_udpAddress = "127.0.0.1";
m_udpPort = 9998;
m_workspaceIndex = 0;
m_hidden = false;
}
bool PacketModSettings::setMode(QString mode)
@@ -234,6 +235,7 @@ QByteArray PacketModSettings::serialize() const
s.writeS32(55, m_workspaceIndex);
s.writeBlob(56, m_geometryBytes);
s.writeBool(57, m_hidden);
return s.final();
}
@@ -338,6 +340,7 @@ bool PacketModSettings::deserialize(const QByteArray& data)
d.readS32(55, &m_workspaceIndex, 0);
d.readBlob(56, &m_geometryBytes);
d.readBool(57, &m_hidden, false);
return true;
}