move indicator label next to pan label to save some vertical space
This commit is contained in:
parent
3427c9d260
commit
7a7cfe53fe
1 changed files with 6 additions and 4 deletions
|
@ -58,6 +58,7 @@ CChannelFader::CChannelFader ( QWidget* pNW,
|
|||
QHBoxLayout* pLabelGrid = new QHBoxLayout ( pLabelInstBox );
|
||||
QVBoxLayout* pLabelPictGrid = new QVBoxLayout ( );
|
||||
QVBoxLayout* pPanGrid = new QVBoxLayout ( );
|
||||
QHBoxLayout* pPanInfoGrid = new QHBoxLayout ( );
|
||||
|
||||
// setup channel level
|
||||
plbrChannelLevel->setContentsMargins ( 0, 3, 2, 3 );
|
||||
|
@ -74,7 +75,9 @@ CChannelFader::CChannelFader ( QWidget* pNW,
|
|||
pPan->setValue ( AUD_MIX_PAN_MAX / 2 );
|
||||
pPan->setFixedSize ( 55, 55 );
|
||||
pPan->setNotchesVisible ( true );
|
||||
pPanGrid->addWidget ( pPanLabel, 0, Qt::AlignLeft );
|
||||
pPanInfoGrid->addWidget ( pPanLabel, 0, Qt::AlignLeft );
|
||||
pPanInfoGrid->addWidget ( pInfoLabel, 0, Qt::AlignRight );
|
||||
pPanGrid->addLayout ( pPanInfoGrid );
|
||||
pPanGrid->addWidget ( pPan, 0, Qt::AlignHCenter );
|
||||
|
||||
// setup fader tag label (black bold text which is centered)
|
||||
|
@ -112,7 +115,6 @@ CChannelFader::CChannelFader ( QWidget* pNW,
|
|||
pMuteSoloGrid->addWidget ( pcbMute, 0, Qt::AlignLeft );
|
||||
pMuteSoloGrid->addWidget ( pcbSolo, 0, Qt::AlignLeft );
|
||||
|
||||
pMainGrid->addWidget ( pInfoLabel, 0, Qt::AlignHCenter );
|
||||
pMainGrid->addLayout ( pPanGrid );
|
||||
pMainGrid->addWidget ( pLevelsBox, 0, Qt::AlignHCenter );
|
||||
pMainGrid->addWidget ( pMuteSoloBox, 0, Qt::AlignHCenter );
|
||||
|
@ -355,7 +357,7 @@ void CChannelFader::SetRemoteFaderIsMute ( const bool bIsMute )
|
|||
{
|
||||
if ( bIsMute )
|
||||
{
|
||||
// utf8 SPEAKER WITH CANCELLATION STROKE (U+1F507)
|
||||
// show orange utf8 SPEAKER WITH CANCELLATION STROKE (U+1F507)
|
||||
pInfoLabel->setText ( "<font color=""orange"">🔇</font>" );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue