1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Use font from UI definition in GLScope and GLSpectrum. Use smaller font (8pt). Time offset in cents instead of mills

This commit is contained in:
f4exb
2015-07-07 02:50:26 +02:00
parent 8924be1a31
commit 133e072b19
7 changed files with 36 additions and 20 deletions
+2
View File
@@ -538,6 +538,7 @@ void GLScope::applyConfig()
m_left1ScalePixmap.fill(Qt::black);
QPainter painter(&m_left1ScalePixmap);
painter.setPen(QColor(0xf0, 0xf0, 0xff));
painter.setFont(font());
const ScaleEngine::TickList* tickList;
const ScaleEngine::Tick* tick;
tickList = &m_powerScale.getTickList();
@@ -604,6 +605,7 @@ void GLScope::applyConfig()
m_left1ScalePixmap.fill(Qt::black);
QPainter painter(&m_left1ScalePixmap);
painter.setPen(QColor(0xf0, 0xf0, 0xff));
painter.setFont(font());
const ScaleEngine::TickList* tickList;
const ScaleEngine::Tick* tick;
tickList = &m_powerScale.getTickList();