This commit is contained in:
Volker Fischer 2020-06-23 20:20:40 +02:00
parent 04bb03c2f4
commit 2971146346
2 changed files with 2 additions and 8 deletions

View file

@ -31,12 +31,6 @@
TODO clip LED on channel faders goes on too early (compare to input level meter clip LED)
-> only 3 of 4 bits of the channel level protocol are actually used, one bit is wasted
-> enlarge range in the server by one value (using wasted dynamic) just in case
the signal is above our defined clip ratio -> as a result, only on new servers the
channel fader clip LED would work (which is ok)
TODO support clip indicator for bar meter as well TODO support clip indicator for bar meter as well
-> change background to red in case of clipping -> change background to red in case of clipping

View file

@ -115,7 +115,7 @@ void CLevelMeter::SetLevelMeterType ( const ELevelMeterType eNType )
pStackedLayout->setCurrentIndex ( 1 ); pStackedLayout->setCurrentIndex ( 1 );
pBarMeter->setStyleSheet ( pBarMeter->setStyleSheet (
"QProgressBar { margin: 1px;" "QProgressBar { margin: 1px;"
" padding: 1px; " " padding: 1px;"
" width: 15px; }" " width: 15px; }"
"QProgressBar::chunk { background: green; }" ); "QProgressBar::chunk { background: green; }" );
break; break;
@ -131,7 +131,7 @@ void CLevelMeter::SetLevelMeterType ( const ELevelMeterType eNType )
pBarMeter->setStyleSheet ( pBarMeter->setStyleSheet (
"QProgressBar { border: 0px;" "QProgressBar { border: 0px;"
" margin: 0px;" " margin: 0px;"
" padding: 0px; " " padding: 0px;"
" width: 4px; }" " width: 4px; }"
"QProgressBar::chunk { background: green; }" ); "QProgressBar::chunk { background: green; }" );
break; break;