mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Satellite and Star tracker features: use dark theme as default
This commit is contained in:
parent
d95a3939a4
commit
ec8cdc63f4
@ -71,7 +71,7 @@ void SatelliteTrackerSettings::resetToDefaults()
|
|||||||
m_reverseAPIPort = 8888;
|
m_reverseAPIPort = 8888;
|
||||||
m_reverseAPIFeatureSetIndex = 0;
|
m_reverseAPIFeatureSetIndex = 0;
|
||||||
m_reverseAPIFeatureIndex = 0;
|
m_reverseAPIFeatureIndex = 0;
|
||||||
m_chartsDarkTheme = false;
|
m_chartsDarkTheme = true;
|
||||||
for (int i = 0; i < SAT_COL_COLUMNS; i++)
|
for (int i = 0; i < SAT_COL_COLUMNS; i++)
|
||||||
{
|
{
|
||||||
m_columnIndexes[i] = i;
|
m_columnIndexes[i] = i;
|
||||||
@ -196,7 +196,7 @@ bool SatelliteTrackerSettings::deserialize(const QByteArray& data)
|
|||||||
m_reverseAPIFeatureSetIndex = utmp > 99 ? 99 : utmp;
|
m_reverseAPIFeatureSetIndex = utmp > 99 ? 99 : utmp;
|
||||||
d.readU32(35, &utmp, 0);
|
d.readU32(35, &utmp, 0);
|
||||||
m_reverseAPIFeatureIndex = utmp > 99 ? 99 : utmp;
|
m_reverseAPIFeatureIndex = utmp > 99 ? 99 : utmp;
|
||||||
d.readBool(36, &m_chartsDarkTheme, false);
|
d.readBool(36, &m_chartsDarkTheme, true);
|
||||||
|
|
||||||
for (int i = 0; i < SAT_COL_COLUMNS; i++)
|
for (int i = 0; i < SAT_COL_COLUMNS; i++)
|
||||||
d.readS32(100 + i, &m_columnIndexes[i], i);
|
d.readS32(100 + i, &m_columnIndexes[i], i);
|
||||||
|
@ -54,7 +54,7 @@ void StarTrackerSettings::resetToDefaults()
|
|||||||
m_drawSunOnMap = true;
|
m_drawSunOnMap = true;
|
||||||
m_drawMoonOnMap = true;
|
m_drawMoonOnMap = true;
|
||||||
m_drawStarOnMap = true;
|
m_drawStarOnMap = true;
|
||||||
m_chartsDarkTheme = false;
|
m_chartsDarkTheme = true;
|
||||||
m_title = "Star Tracker";
|
m_title = "Star Tracker";
|
||||||
m_rgbColor = QColor(225, 25, 99).rgb();
|
m_rgbColor = QColor(225, 25, 99).rgb();
|
||||||
m_useReverseAPI = false;
|
m_useReverseAPI = false;
|
||||||
@ -167,7 +167,7 @@ bool StarTrackerSettings::deserialize(const QByteArray& data)
|
|||||||
d.readU32(29, (quint32 *)&m_solarFluxUnits, SFU);
|
d.readU32(29, (quint32 *)&m_solarFluxUnits, SFU);
|
||||||
d.readDouble(30, &m_beamwidth, 25.0);
|
d.readDouble(30, &m_beamwidth, 25.0);
|
||||||
d.readU32(31, (quint32 *)&m_solarFluxData, DRAO_2800);
|
d.readU32(31, (quint32 *)&m_solarFluxData, DRAO_2800);
|
||||||
d.readBool(32, &m_chartsDarkTheme, false);
|
d.readBool(32, &m_chartsDarkTheme, true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user