365 |
// Mute/Solo button state coloring... |
// Mute/Solo button state coloring... |
366 |
const QColor& rgbNormal = ChannelSetupPushButton->paletteBackgroundColor(); |
const QColor& rgbNormal = ChannelSetupPushButton->paletteBackgroundColor(); |
367 |
bool bMute = m_pChannel->channelMute(); |
bool bMute = m_pChannel->channelMute(); |
368 |
ChannelMutePushButton->setPaletteBackgroundColor(bMute ? Qt::red : rgbNormal); |
ChannelMutePushButton->setPaletteBackgroundColor(bMute ? Qt::yellow : rgbNormal); |
369 |
ChannelMutePushButton->setDown(bMute); |
ChannelMutePushButton->setDown(bMute); |
370 |
bool bSolo = m_pChannel->channelSolo(); |
bool bSolo = m_pChannel->channelSolo(); |
371 |
ChannelSoloPushButton->setPaletteBackgroundColor(bSolo ? Qt::yellow : rgbNormal); |
ChannelSoloPushButton->setPaletteBackgroundColor(bSolo ? Qt::cyan : rgbNormal); |
372 |
ChannelSoloPushButton->setDown(bSolo); |
ChannelSoloPushButton->setDown(bSolo); |
373 |
#else |
#else |
374 |
ChannelMutePushButton->setEnabled(false); |
ChannelMutePushButton->setEnabled(false); |